<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - Performance tuning in Server 2.0</title>
    <link>http://communities.vmware.com/community/vmtn/server/server2/general?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 29 Jun 2009 19:33:46 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-29T19:33:46Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1297928?tstart=0#1297928</link>
      <description>&lt;br /&gt;
Do you really set the:&lt;br /&gt;
&lt;p /&gt;
vm.dirty_ratio = 100 ?&lt;br /&gt;
&lt;p /&gt;
or&lt;br /&gt;
&lt;p /&gt;
vm.dirty_ratio = 10 ?&lt;br /&gt;
&lt;br /&gt;
 thanks.</description>
      <pubDate>Mon, 29 Jun 2009 19:33:46 GMT</pubDate>
      <author>ancker</author>
      <guid>http://communities.vmware.com/message/1297928?tstart=0#1297928</guid>
      <dc:date>2009-06-29T19:33:46Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1129671?tstart=0#1129671</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
I just wanted to add my experiences with this in the hope that it helps others as you have all helped me so much!&lt;br /&gt;
&lt;p /&gt;
I have a decent host setup&lt;br /&gt;
&lt;p /&gt;
Supermicro X5DP8 &lt;br /&gt;
Dual Xeon 3.06Ghz&lt;br /&gt;
8GB RAM&lt;br /&gt;
4 SATA Disks in Raid 5 (vmware images partition)&lt;br /&gt;
Single SATA boot disk (Ubuntu etc...)&lt;br /&gt;
&lt;p /&gt;
I was using Ubuntu 6.06 server for quite a while with vmware server 1.0.x (starting with .1 and ending with .7)&lt;br /&gt;
I upgraded regularly when newer versions would be released, and never faced any issues with the guests performance.&lt;br /&gt;
&lt;p /&gt;
I recently upgraded to Ubuntu 8.10 server and took the opportunity to upgrade to vmware server 2.0.&lt;br /&gt;
&lt;p /&gt;
Now that i'm using server 2.0 - i experienced some performance problems - it looked like they had something to do with disk performance.&lt;br /&gt;
&lt;p /&gt;
Symptoms&lt;br /&gt;
&lt;p /&gt;
On a win2k3 guest, i have a network share with some DVD photo backup ISO files (about 3.5 - 4Gb each)&lt;br /&gt;
I have a share mapped to one of my XP desktops and through that, i started to copy one of the DVDs to check some images.&lt;br /&gt;
Initially the transfer window stated the ETA to be 9 minutes or so, after a couple hundred MB, it started increasing, and within seconds it was up to about 230 Minutes!!! - something is not right!&lt;br /&gt;
&lt;p /&gt;
did some troubleshooting, isolating the problems, eventually i searched on google and found the post which linked to this one (thank you!!)&lt;br /&gt;
&lt;p /&gt;
I didnt want to do all the steps in one go, so all i did was:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The /etc/fstab modification&lt;/li&gt;
&lt;li&gt;The vmware config file modifications&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;br /&gt;
Well, tried the file copy operation again, and it worked perfectly, took about 8-9 minutes to transfer the 3.5Gb.&lt;br /&gt;
&lt;p /&gt;
Thanks for all the effort everyone has put in to document their experiences.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 14:54:49 GMT</pubDate>
      <author>KhaledC</author>
      <guid>http://communities.vmware.com/message/1129671?tstart=0#1129671</guid>
      <dc:date>2008-12-22T14:54:49Z</dc:date>
      <clearspace:dateToText>11 months, 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1104708?tstart=0#1104708</link>
      <description>I know the answer to this one.&lt;br /&gt;
&lt;br /&gt;
On windows you don't need to do a lot - setting mainMem.useNamedFile = "FALSE" in the vm's .vmx file is sufficient to keep it from doing the stupid memory-backed file thing&lt;br /&gt;
&lt;br /&gt;
Lots of good info on .vmx file settings is at &lt;a class="jive-link-external" href="http://sanbarrow.com/vmx/vmx-config-ini.html"&gt;http://sanbarrow.com/vmx/vmx-config-ini.html&lt;/a&gt;</description>
      <pubDate>Thu, 20 Nov 2008 21:22:06 GMT</pubDate>
      <author>JohnInSJ</author>
      <guid>http://communities.vmware.com/message/1104708?tstart=0#1104708</guid>
      <dc:date>2008-11-20T21:22:06Z</dc:date>
      <clearspace:dateToText>1 year, 2 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1104595?tstart=0#1104595</link>
      <description>Im new to VMware server 2. and im running it on a windows server 2008 x64 machine.&lt;br /&gt;
Can i use those options aswell in windows? yes; where to put it.. can't find a config file..&lt;br /&gt;
Cause my guest systems are way slow; running a Quad core Xeon, 8Gb ECC and 6x WDC Veliciraptor @ raid 5.&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;VMware setup (add the following lines to /etc/vmware/config):&lt;/u&gt;&lt;br /&gt;
&lt;p /&gt;
tmpDirectory = "/tmp/vmware"&lt;br /&gt;
mainMem.useNamedFile = "FALSE"&lt;br /&gt;
sched.mem.pshare.enable = "FALSE"&lt;br /&gt;
MemTrimRate = "0"&lt;br /&gt;
MemAllowAutoScaleDown = "FALSE"&lt;br /&gt;
prefvmx.useRecommendedLockedMemSize = "TRUE"&lt;br /&gt;
prefvmx.minVmMemPct = "100"</description>
      <pubDate>Thu, 20 Nov 2008 20:00:53 GMT</pubDate>
      <author>projectserve</author>
      <guid>http://communities.vmware.com/message/1104595?tstart=0#1104595</guid>
      <dc:date>2008-11-20T20:00:53Z</dc:date>
      <clearspace:dateToText>1 year, 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1104474?tstart=0#1104474</link>
      <description>Wow... thanks for this. I've been struggling with server 2.0's performance under Ubuntu server and the tmpfs/server settings made a HUGE performance difference.</description>
      <pubDate>Thu, 20 Nov 2008 18:39:19 GMT</pubDate>
      <author>JohnInSJ</author>
      <guid>http://communities.vmware.com/message/1104474?tstart=0#1104474</guid>
      <dc:date>2008-11-20T18:39:19Z</dc:date>
      <clearspace:dateToText>1 year, 3 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1065639?tstart=0#1065639</link>
      <description>What about all the tuning options for the individual VM's?  Do you no longer need to tweak the VM's if the VMWare config file is tweaked?</description>
      <pubDate>Thu, 02 Oct 2008 20:00:16 GMT</pubDate>
      <author>prisoner881</author>
      <guid>http://communities.vmware.com/message/1065639?tstart=0#1065639</guid>
      <dc:date>2008-10-02T20:00:16Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1063845?tstart=0#1063845</link>
      <description>&lt;br /&gt;
Everything I did for Server 1.0 still works for 2.0&lt;br /&gt;
&lt;p /&gt;
Here's my setup for Debian Etch:&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;General tuning. Add the following files to /etc/sysctl.conf:&lt;/u&gt;&lt;br /&gt;
&lt;p /&gt;
vm.dirty_background_ratio = 5&lt;br /&gt;
vm.dirty_ratio = 100&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;Tune network performance. Add the following files to /etc/sysctl.conf:&lt;/u&gt;&lt;br /&gt;
&lt;p /&gt;
net.core.wmem_max = 16777216&lt;br /&gt;
net.core.rmem_max = 16777216&lt;br /&gt;
net.ipv4.tcp_timestamps = 0&lt;br /&gt;
net.ipv4.tcp_rmem = 4096 262144 16777216&lt;br /&gt;
net.ipv4.tcp_wmem = 4096 262144 16777216&lt;br /&gt;
net.core.optmem_max = 524288&lt;br /&gt;
net.core.netdev_max_backlog = 200000&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;Tune HD performance. Add the following lines to /etc/rc.local (change sda to your hd):&lt;/u&gt;&lt;br /&gt;
&lt;p /&gt;
echo "64" &amp;gt; /sys/block/sda/queue/max_sectors_kb        # This depends on the block size of your RAID controller&lt;br /&gt;
echo "8192" &amp;gt; /sys/block/sda/queue/nr_requests&lt;br /&gt;
blockdev --setra 16384 /dev/sda&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;Add the following line to /etc/fstab (create the directory /tmp/vmware first &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":-)" /&gt; ):&lt;/u&gt; &lt;br /&gt;
&lt;p /&gt;
tmpfs           /tmp/vmware             tmpfs   defaults,size=100%      0       0&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;VMware setup (add the following lines to /etc/vmware/config):&lt;/u&gt;&lt;br /&gt;
&lt;p /&gt;
tmpDirectory = "/tmp/vmware"&lt;br /&gt;
mainMem.useNamedFile = "FALSE"&lt;br /&gt;
sched.mem.pshare.enable = "FALSE"&lt;br /&gt;
MemTrimRate = "0"&lt;br /&gt;
MemAllowAutoScaleDown = "FALSE"&lt;br /&gt;
prefvmx.useRecommendedLockedMemSize = "TRUE"&lt;br /&gt;
prefvmx.minVmMemPct = "100"&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
After all that VMware Server is really fast (at least on my hosts).&lt;br /&gt;
&lt;p /&gt;
It has only one disadvantage. After "redirecting" the mmap file to the RAM the sum of all guest RAM is limited to the real RAM minus the VMware overhead. That's because the mmap file always uses always the full RAM specified for the guest, but I can live with that.&lt;br /&gt;
&lt;p /&gt;
BTW: This setup doesn't double the RAM usage.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 30 Sep 2008 22:48:40 GMT</pubDate>
      <author>Hochlehnert</author>
      <guid>http://communities.vmware.com/message/1063845?tstart=0#1063845</guid>
      <dc:date>2008-09-30T22:48:40Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1062992?tstart=0#1062992</link>
      <description>Not really did a lot of tuning myself but these are the thread that might help - if you haven't already found it:&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/167897"&gt;The struggle for disk IO scalability in Server 1.x and RC2&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/146002"&gt;Tips for Improving Performance On Linux Host&lt;/a&gt;</description>
      <pubDate>Tue, 30 Sep 2008 09:15:38 GMT</pubDate>
      <author>btone</author>
      <guid>http://communities.vmware.com/message/1062992?tstart=0#1062992</guid>
      <dc:date>2008-09-30T09:15:38Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1062803?tstart=0#1062803</link>
      <description>I'm interested in this as well ... anyone?</description>
      <pubDate>Tue, 30 Sep 2008 00:37:06 GMT</pubDate>
      <author>DevotedDad</author>
      <guid>http://communities.vmware.com/message/1062803?tstart=0#1062803</guid>
      <dc:date>2008-09-30T00:37:06Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Performance tuning in Server 2.0</title>
      <link>http://communities.vmware.com/message/1062582?tstart=0#1062582</link>
      <description>&lt;br /&gt;
Everyone has their favorite list of performance tweaks for the old 1.0 Server product.  MemTrimRate, pshare, etc.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Has anyone applied these tweaks to the 2.0 product?  Do they still help with performance?  Do they even still exist as tweaks?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I posted this question back in the RC2 forums and nobody ever responded.  Is nobody interested in improving VM performance under 2.0?</description>
      <pubDate>Mon, 29 Sep 2008 19:23:25 GMT</pubDate>
      <author>prisoner881</author>
      <guid>http://communities.vmware.com/message/1062582?tstart=0#1062582</guid>
      <dc:date>2008-09-29T19:23:25Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
  </channel>
</rss>

