Hyper-V, Virtual Machine CPU usage and Task Manager

A number of people have asked me about the fact that the CPU usage reported on the Hyper-V Management console does not match the CPU usage reported under task manager.  The answer to this is fairly complicated - so I thought it would make a good blog post.  To set the stage I need a […]

A number of people have asked me about the fact that the CPU usage reported on the Hyper-V Management console does not match the CPU usage reported under task manager.  The answer to this is fairly complicated - so I thought it would make a good blog post.  To set the stage I need a diagram:

The first part of the answer is that when you run Task Manager in the parent partition (remembering that it is "just another partition on the system") it knows nothing about CPU usage that is happening in the hypervisor or in child partitions.  Indeed - I have had systems where the CPU usage was so high that the entire system was starting to get unresponsive - but when I opened task manager in the parent partition it told me that the CPU load was only 30% (which was correct, as the CPU load in the parent partition was only 30%).

The second part of the answer is that it is actually quite hard to come up with a true number that indicates how much CPU is being used by a virtual machine.  The reason for this is that virtual machine CPU usage happens in many places:

Full Article

Microsoft, Windows Server 2008, Win2K8, WS2008, Windows Server 2008, Hyper-V, Virtualization, Virtual Machine, CPU Usage, Task Manager, Knowledgebase, Troubleshooting