<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog Amain &#187; Guest</title>
	<atom:link href="http://blog.zoomeren.nl/tag/guest/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zoomeren.nl</link>
	<description>Open Source / Linux</description>
	<lastBuildDate>Fri, 21 May 2010 21:47:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>High CPU-usage with VirtualBox on dual-core CPU while Guest(s) are idle</title>
		<link>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/</link>
		<comments>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 22:12:35 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[3.0.6]]></category>
		<category><![CDATA[dual-core CPU]]></category>
		<category><![CDATA[Guest]]></category>
		<category><![CDATA[high CPU load]]></category>
		<category><![CDATA[high resolution timers]]></category>
		<category><![CDATA[idle]]></category>
		<category><![CDATA[tickless kernel]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=103</guid>
		<description><![CDATA[I installed VirtualBox 3.0.6 and installed a couple of Guest OS&#8217;es. During the installation of a OEL 5.3 Linux as Guest, I discovered that the VirtualBox process for this Guest on the host was consuming between 55% and 85% of CPU usage, even though the Guest&#8217;s top showed that the Guest was idle.
It seems to [...]]]></description>
			<content:encoded><![CDATA[<p>I installed VirtualBox 3.0.6 and installed a couple of Guest OS&#8217;es. During the installation of a OEL 5.3 Linux as Guest, I discovered that the VirtualBox process for this Guest on the host was consuming between 55% and 85% of CPU usage, even though the Guest&#8217;s top showed that the Guest was idle.</p>
<p>It seems to be that VirtualBox has a problem switching between multiple core&#8217;s on the host and therefore causing high CPU load on the host, even while the Guests are idle. This is of course not good. There are a couple of solutions / workarounds:</p>
<ol>
<li>Adjust the CPU affinity for the Guest&#8217;s VirtualBox process</li>
<li>Configure multiple CPU&#8217;s in the Guest&#8217;s VM settings</li>
<li>Run another small idle/dummy Guest VM besides the one you want to use</li>
</ol>
<p>I use the second option with success. I have an Intel(R) Core(TM)2 Duo CPU laptop and I assigned 2 CPU&#8217;s in the Guest&#8217;s settings and now the host CPU usage is back to normal, luckily. Also note that it&#8217; has been reported, that VirtualBox is not very well handling tickless kernels ( CONFIG_NO_HZ=y ) or has higher CPU usage with high resolution timers like 1000 Hz ( CONFIG_HZ_1000 ). Ubuntu Jaunty has for example a tickless kernel and OEL 5.3 ahs a timer tick of 1000 Hz.</p>
<p>Links:</p>
<ul>
<li><a href="http://tech.shantanugoel.com/2009/07/07/virtualbox-high-cpu-usage-problem-solved.html">http://tech.shantanugoel.com/2009/07/07/virtualbox-high-cpu-usage-problem-solved.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
