| 1 | = 2011-04-04 = |
| 2 | |
| 3 | == VMWare Server : IOWait Performance Tuning == |
| 4 | |
| 5 | * 因為經常遇到 IOWait 的問題,所以找一下別人是怎麼解決的。 |
| 6 | * <參考> [http://mrpointy.wordpress.com/2008/02/14/gutsy-and-vmware-server-youre-in-for-some-pain/ Gutsy and Vmware-Server – you’re in for some pain] |
| 7 | * 首先修改 /etc/vmware/config |
| 8 | {{{ |
| 9 | --- /etc/vmware/config.bak 2011-04-04 22:21:13.000000000 +0800 |
| 10 | +++ /etc/vmware/config 2011-04-06 10:20:42.000000000 +0800 |
| 11 | @@ -22,4 +22,7 @@ |
| 12 | product.name = "VMware Server" |
| 13 | # Beginning of the block added by the VMware VIX software |
| 14 | vix.libdir = "/usr/lib/vmware-vix/lib" |
| 15 | +# 11-04-04: Enhance performance - by Jazz |
| 16 | +prefvmx.useRecommendedLockedMemSize = "TRUE" |
| 17 | +prefvmx.minVmMemPct = "100" |
| 18 | # End of the block added by the VMware VIX software |
| 19 | }}} |
| 20 | * 其次修改經常發生 IOWait 的虛擬機器 vmx 設定檔 |
| 21 | {{{ |
| 22 | #!diff |
| 23 | --- Trac_Pool.vmx.bak 2011-04-06 10:24:17.000000000 +0800 |
| 24 | +++ Trac_Pool.vmx 2011-04-04 23:26:34.000000000 +0800 |
| 25 | @@ -49,3 +49,8 @@ |
| 26 | debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0" |
| 27 | |
| 28 | extendedConfigFile = "Trac_Pool.vmxf" |
| 29 | + |
| 30 | +sched.mem.pshare.enable = "FALSE" |
| 31 | +mainMem.useNamedFile = "FALSE" |
| 32 | +MemTrimRate = "0" |
| 33 | +MemAllowAutoScaleDown = "FALSE" |
| 34 | }}} |