J'ai a server that is running Windows 2008 64 bit Hyper-V, avec 8 gigs of RAM et Intel Xeon X3440 @ 2.53 Ghz, qui gives me 8 logical cores in le performance monitor on le host system.
J'ai set up three Virtual Machines, tous running Windows 2008 32 bit.
- Build server, running Team City
- Staging server
- SQL Server, running SQL Server 2005
J'ai certains troubles avec le setup in that le host monitor remains responsive at tous times, even bien que le VM's are seemingly working at 100% cpu et are très sluggish et unresponsive. (J'ai asked a separate question about that.)
So le question here is: What is la meilleure façon de monitor how le physical CPU's are actually utilized? The reason Je suis asking is that Je suis being told that i cannot reliably use le task manager to monitor CPU usage in a VM.
Comment surveiller l'utilisation CPU et les performances sur un serveur Hyper-V avec plusieurs VM
Re: Comment surveiller l'utilisation CPU et les performances sur un serveur Hyper-V avec plusieurs VM
First, you have to remember that in Hyper-V that le "host" is called a parent partition et it really juste like a virtualized guest avec special permissions et roles. Just like tout autre child/guest, quand you open up Task Manager, you can pas see le CPU usage of le autre children on le server.
Ben Armstrong has a good explanation of this here: [http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/28/hyper-v-virtual-machine-cpu-usage-and-task-manager.aspx](http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/28/hyper-v-virtual-machine-cpu-usage-and-task-manager.aspx)
To summarize his post, you need to check three things to get an accurate picture of CPU utilization:
-
View le CPU usage on chaque guest - this is disponible through **Hyper-V Manager** ou Performance Monitor.
-
CPU usage due to context switching - this is le perfmon counter called **% Hypervisor Run Time** under Hyper-V Hypervisor Virtual Processor
-
Child partition worker process - **vmwp.exe** running on le parent partition (1 per child). This handles Hyper-V operations like saving state.
Ben Armstrong has a good explanation of this here: [http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/28/hyper-v-virtual-machine-cpu-usage-and-task-manager.aspx](http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/28/hyper-v-virtual-machine-cpu-usage-and-task-manager.aspx)
To summarize his post, you need to check three things to get an accurate picture of CPU utilization:
-
View le CPU usage on chaque guest - this is disponible through **Hyper-V Manager** ou Performance Monitor.
-
CPU usage due to context switching - this is le perfmon counter called **% Hypervisor Run Time** under Hyper-V Hypervisor Virtual Processor
-
Child partition worker process - **vmwp.exe** running on le parent partition (1 per child). This handles Hyper-V operations like saving state.