High CPU usage when running a CentOS guest in VirtualBox

Posted by sagi on Server Fault See other posts from Server Fault or by sagi
Published on 2009-07-04T19:29:13Z Indexed on 2010/03/23 14:53 UTC
Read the original article Hit count: 510

Filed under:
|
|
|

I am running CentOS 5.3 as a VirtualBox 3.0.0 guest running on Windows XP.

The Windows host CPU usage is constantly at 50% although the CentOS guest is completely idle (i.e. 0.00 load average).

I know this is a common problem related to the 1000Hz frequency that the CentOS kernel runs at, and previously a special kernel-vm packages were released to resolve the issue. However, these packages are out of date and the README says that they are not not necessary as of CentOS 5.3. I found out that there is supposedly a kernel parameter divider=10 that reduces the frequency to 100Hz with the standard kernel but it doesn't seem to have any effect when running inside VirtualBox.

Is there any way to resolve the issue without resorting to a custom kernel?

© Server Fault or respective owner

Related posts about centos

Related posts about virtualbox