LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   CPU usage is high by KVM virtual machine (https://www.linuxquestions.org/questions/linux-kernel-70/cpu-usage-is-high-by-kvm-virtual-machine-916334/)

leechaotang 11-30-2011 04:12 AM

CPU usage is high by KVM virtual machine
 
Hi,

I run a virtual machine on host, I run the top command on host, it shows the CPU is 98%, but I run the top in virtual machine, it shows CPU usage is 10%.

My question is, why the CPU usage is different and how to find out the process in VM that cause the high CPU usage in host?

Thanks for any comment!

Mark

nini09 11-30-2011 02:22 PM

When an idle virtual machine executes its idle loop, it is actively executing instructions which run on the underlying physical processor. In this case, performance tools in the guest operating system show an inactive operating system, but the CPU on the host is fully utilized.


All times are GMT -5. The time now is 11:34 PM.