Debian – KVM high CPU load

debiankvm-virtualizationwindows-server-2008

I have a dedicated machine running under Debian Squeeze. It's a reasonably good machine with 8 cores.

I started hosting a Windows Server 2008 guest with KVM, but the CPU load is extremely high (around 100%-200%) even when the guest is idle. What could explain such a behavior? Has anyone encountered it before? Does it come from KVM or Windows?

The Windows guest is up-to-date.

> kvm -version : emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard

I don't know what more details to provide, but please ask for more information if you need!

Best Answer

  1. the current qemu-kvm verison stands at 0.14
  2. Without guest configuration details there is no way to know what's going on, and provide advice.
  3. to troubleshoot kvm performance there is a tool called kvm_stat - it can show where the bottleneck is, if any
  4. you might be seeing the qemu process going to 200% in top on the host, but do you really feel a performance hit on the host? Normally, when you assign more than one CPU to a VM, you might see the QEMU process showing high percentages, but that's only because top shows stats for a single CPU, and qemu-kvm is actually running several threads