<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Slow performance in VMWARE using Ubuntu ?</title>
	<atom:link href="http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html</link>
	<description>System, Network, Security</description>
	<lastBuildDate>Tue, 23 Feb 2010 13:04:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alan</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-1266</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Thu, 13 Nov 2008 03:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-1266</guid>
		<description>Thanks a lot JC.
 very nice solution. works great in intrepid Ibex.</description>
		<content:encoded><![CDATA[<p>Thanks a lot JC.<br />
 very nice solution. works great in intrepid Ibex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Gorritz</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-1265</link>
		<dc:creator>Juan Gorritz</dc:creator>
		<pubDate>Mon, 10 Nov 2008 04:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-1265</guid>
		<description>JC you are my hero. VMWare 6.5 and Intrepid Ibex were driving me insane. Changing the swappiness to 15 helped BIG TIME.</description>
		<content:encoded><![CDATA[<p>JC you are my hero. VMWare 6.5 and Intrepid Ibex were driving me insane. Changing the swappiness to 15 helped BIG TIME.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Shaw</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-446</link>
		<dc:creator>Derek Shaw</dc:creator>
		<pubDate>Mon, 05 May 2008 08:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-446</guid>
		<description>The swappiness setting fixed it for me
VMWare workstation 6.0.3 for linux (ubuntu hardy desktop 8.04)
I was running two win2k images (VMs) in 1.5 GB of RAM with both VM&#039;s limited to 500 MB RAM, and they became unusably slow when both were running.  Alone they were fine.

changing swappiness fixed it.

happened on two separate boxes.

max_cstate is not available for default kernel of unbuntu hardy desktop (8.04)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/206864
http://www.mail-archive.com/linux-acpi%40vger.kernel.org/msg10354.html</description>
		<content:encoded><![CDATA[<p>The swappiness setting fixed it for me<br />
VMWare workstation 6.0.3 for linux (ubuntu hardy desktop 8.04)<br />
I was running two win2k images (VMs) in 1.5 GB of RAM with both VM&#8217;s limited to 500 MB RAM, and they became unusably slow when both were running.  Alone they were fine.</p>
<p>changing swappiness fixed it.</p>
<p>happened on two separate boxes.</p>
<p>max_cstate is not available for default kernel of unbuntu hardy desktop (8.04)<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/206864" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/206864</a><br />
<a href="http://www.mail-archive.com/linux-acpi%40vger.kernel.org/msg10354.html" rel="nofollow">http://www.mail-archive.com/linux-acpi%40vger.kernel.org/msg10354.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-419</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 17 Apr 2008 14:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-419</guid>
		<description>In the system monitor: 
Memory: 3.2GB
Processor 0: Intel Core2 6600 @ 2.4GHz
Processor 1: Intel Core2 6600 @ 2.4GHz
Available disk space: 133.6GB

Tools is installed.

I had to exit workstation and sudo from the command line in order to modify options on the memory tab under preferences...  

Host RAM for all virtual machines: slider is all the way to the right - 2965MB.
Fit all vm memory in reserved host ram is selected.
Under the priority tab, I unchecked the take and restore snapshots.

When I started workstation up after I made the changes, I had to reopen the vm (the vm tabs were gone).  No big deal, but...

I&#039;ll test the swappiness after these changes.

OK - I&#039;ll keep you posted!  Thanks for your help.</description>
		<content:encoded><![CDATA[<p>In the system monitor:<br />
Memory: 3.2GB<br />
Processor 0: Intel Core2 6600 @ 2.4GHz<br />
Processor 1: Intel Core2 6600 @ 2.4GHz<br />
Available disk space: 133.6GB</p>
<p>Tools is installed.</p>
<p>I had to exit workstation and sudo from the command line in order to modify options on the memory tab under preferences&#8230;  </p>
<p>Host RAM for all virtual machines: slider is all the way to the right &#8211; 2965MB.<br />
Fit all vm memory in reserved host ram is selected.<br />
Under the priority tab, I unchecked the take and restore snapshots.</p>
<p>When I started workstation up after I made the changes, I had to reopen the vm (the vm tabs were gone).  No big deal, but&#8230;</p>
<p>I&#8217;ll test the swappiness after these changes.</p>
<p>OK &#8211; I&#8217;ll keep you posted!  Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-417</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Wed, 16 Apr 2008 14:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-417</guid>
		<description>Hmm the output from the system monitor is weired, you can&#039;t have a process not using memory at all (the virtual memory is huge but matches with the way you configured your VM).

I advise you to use &quot;top&quot; in a terminal, as root, to get some reliable info.

Concerning your performance problem, you should not swap within the virtual machine with such an impressive of allocated memory.

How much physical memory do you have ? Maybe, the problem is that your machine lacks of memory and makes your Ubuntu swapping...

To boost performance,  I use the following settings :

 (1) in the options of VMWare, I deactivate &quot;taking snapshots in the background&quot; and, in the memory section, I force all the virtual memory to fit in the available physical memory (no swap)

 (2) I also adjust the swappiness parameter of the linux kernel.

By default, the linux kernel uses quite often the swap even if you still have plenty of free memory.

You can change this behaviour with this command :
echo &quot;15&quot; &gt; /proc/sys/vm/swappiness

I use &quot;15&quot;, which gives a pretty high priority to the physical memory, before the kernel uses the swap. By default, the value is 60. The higher, the more it will use the swap.

After testing, you can make it permanent by adding such a line at the end of /etc/sysctl.conf :

vm.swappiness = 15

 (3) I would, anyway, just try to reduce the memory amount you allocate to you VM. Just in case.

 (4) Also check the processes runing on your XP when it is slow ! Are you sure that your Windows image did not get infected by some trojan or virus ?

 (5) For graphics, did you set up VMWare tools ?

Let me know how it goes.</description>
		<content:encoded><![CDATA[<p>Hmm the output from the system monitor is weired, you can&#8217;t have a process not using memory at all (the virtual memory is huge but matches with the way you configured your VM).</p>
<p>I advise you to use &#8220;top&#8221; in a terminal, as root, to get some reliable info.</p>
<p>Concerning your performance problem, you should not swap within the virtual machine with such an impressive of allocated memory.</p>
<p>How much physical memory do you have ? Maybe, the problem is that your machine lacks of memory and makes your Ubuntu swapping&#8230;</p>
<p>To boost performance,  I use the following settings :</p>
<p> (1) in the options of VMWare, I deactivate &#8220;taking snapshots in the background&#8221; and, in the memory section, I force all the virtual memory to fit in the available physical memory (no swap)</p>
<p> (2) I also adjust the swappiness parameter of the linux kernel.</p>
<p>By default, the linux kernel uses quite often the swap even if you still have plenty of free memory.</p>
<p>You can change this behaviour with this command :<br />
echo &#8220;15&#8243; > /proc/sys/vm/swappiness</p>
<p>I use &#8220;15&#8243;, which gives a pretty high priority to the physical memory, before the kernel uses the swap. By default, the value is 60. The higher, the more it will use the swap.</p>
<p>After testing, you can make it permanent by adding such a line at the end of /etc/sysctl.conf :</p>
<p>vm.swappiness = 15</p>
<p> (3) I would, anyway, just try to reduce the memory amount you allocate to you VM. Just in case.</p>
<p> (4) Also check the processes runing on your XP when it is slow ! Are you sure that your Windows image did not get infected by some trojan or virus ?</p>
<p> (5) For graphics, did you set up VMWare tools ?</p>
<p>Let me know how it goes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-416</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 16 Apr 2008 14:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-416</guid>
		<description>I am having a similar problem - I have a dual core 3GHz with 4GB of RAM and a 7200 rpm hard drive with Ubuntu.  I am running XP with vmware.  When I first start up the vm, everything seems to run fine.  If I let the vm sit idle awhile (an hour or so), when I come back, it slows to a crawl.  Minimizing an app (or doing anything, really) it just hits the hard drive constantly.  Right now, it is still loading an app that I started a few minutes ago.

I have the max_cstate set to 1.  

Ubuntu System monitor: 
vmware-vmx - Virtual Memory = 1.7GB, Memory = 0

VMware workstation settings for the xp vm:
- Memory = 2048MB (on the right the slider is well below the max recommended - which should prevent swapping)
- Processors = 1
- Hard Disk 40GB pre-allocated

in the winxp vm:

Many thanks for any assistance.</description>
		<content:encoded><![CDATA[<p>I am having a similar problem &#8211; I have a dual core 3GHz with 4GB of RAM and a 7200 rpm hard drive with Ubuntu.  I am running XP with vmware.  When I first start up the vm, everything seems to run fine.  If I let the vm sit idle awhile (an hour or so), when I come back, it slows to a crawl.  Minimizing an app (or doing anything, really) it just hits the hard drive constantly.  Right now, it is still loading an app that I started a few minutes ago.</p>
<p>I have the max_cstate set to 1.  </p>
<p>Ubuntu System monitor:<br />
vmware-vmx &#8211; Virtual Memory = 1.7GB, Memory = 0</p>
<p>VMware workstation settings for the xp vm:<br />
- Memory = 2048MB (on the right the slider is well below the max recommended &#8211; which should prevent swapping)<br />
- Processors = 1<br />
- Hard Disk 40GB pre-allocated</p>
<p>in the winxp vm:</p>
<p>Many thanks for any assistance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-411</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 10 Apr 2008 00:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-411</guid>
		<description>You are a GOD! Here I was stressing that my 1.5 GB wasn&#039;t enough, and I&#039;d have to rip it all out to just to bump it up to 2 GB. But all is well now!  Thanks again!</description>
		<content:encoded><![CDATA[<p>You are a GOD! Here I was stressing that my 1.5 GB wasn&#8217;t enough, and I&#8217;d have to rip it all out to just to bump it up to 2 GB. But all is well now!  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: solussd</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-270</link>
		<dc:creator>solussd</dc:creator>
		<pubDate>Tue, 26 Feb 2008 02:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-270</guid>
		<description>thanks for the tip! That did it. I&#039;m using Kubuntu 7.10 (Gutsy). I also set my cpu frequency to &#039;performance&#039; as it seems it doesnt change (quick enough) for the guest.</description>
		<content:encoded><![CDATA[<p>thanks for the tip! That did it. I&#8217;m using Kubuntu 7.10 (Gutsy). I also set my cpu frequency to &#8216;performance&#8217; as it seems it doesnt change (quick enough) for the guest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharath</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-98</link>
		<dc:creator>sharath</dc:creator>
		<pubDate>Sun, 01 Jul 2007 06:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-98</guid>
		<description>The solution worked great! 
Thanks! &amp; Cheers!</description>
		<content:encoded><![CDATA[<p>The solution worked great!<br />
Thanks! &amp; Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donovan Freemyer</title>
		<link>http://www.phocean.net/2006/12/06/slow-performance-in-vmware-using-ubuntu.html/comment-page-1#comment-6</link>
		<dc:creator>Donovan Freemyer</dc:creator>
		<pubDate>Fri, 23 Feb 2007 05:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=10#comment-6</guid>
		<description>&lt;p&gt;Thanks for posting !!! This fixed my problem. I&#039;ve been pulling out my hair trying to find a solution.&lt;/p&gt; &lt;p&gt;Donovan&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for posting !!! This fixed my problem. I&#8217;ve been pulling out my hair trying to find a solution.</p>
<p>Donovan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
