How can I increase VMware Workstation performance?

Windows

mks.enable3d = "FALSE"
logging = "FALSE"
snapshot.disabled = "TRUE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
MemTrimRate="0"
MemAllowAutoScaleDown = "FALSE"
mem.ShareScanTotal="0"
mem.ShareScanVM="0"
mem.ShareScanThreshold=4096
diskLib.maxUnsyncedWrites = "0"
diskLib.dataCachePageSize = "4096"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
disk.locking = "FALSE"
sched.mem.maxmemctl="0"
sched.mem.pshare.enable = "FALSE"
isolation.tools.unity.disable = "TRUE"
unity.allowCompositingInGuest = "FALSE"
unity.enableLaunchMenu = "FALSE"
unity.showBadges = "FALSE"
unity.showBorders = "FALSE"
priority.ungrabbed = "normal"
priority.grabbed = "high"
roamingVM.enabled = "FALSE"
roamingVM.useBackgroundSync = "FALSE"
checkpoint.vmState = ""'
host.cpukHz = "XXX"
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"
sched.cpu.max = "XXX"
disable_acceleration = "FALSE"
hv.enableIfUnlocked = "TRUE"

 

Linux


This setting can increased the performance. My host is a 64 bit Linux pc with BFS and the timer is at 1500hz. My pc has 6GB physical ram and I created a 5GB ramdisk but it should also work with only 2GB of physical ram. tmpfs seems to dynamically allocate wanted ram. host.cpukHz needs to be exactly the host box cpu speed. mem.ShareScanThreshold needs to be exactly the guest box ram size. Start the guest box and install the vmware tools and let it install the virtual drivers for the hardisk, video card and so on. I've created a guest box with Windows XP SP3 OS and it works like a charm. It could be a little faster but my box is cpu limited. It's only a 2.2Ghz 64 bit dual core cpu and it's doesn't support hyperthreading. It's also good if the guest box has enough ram (2GB).

# create a ramdisk
tmpfs /dev/shm tmpfs defaults,size=5G,nr_inodes=5k,mode=700 0 0

Here is some explanation: http://vmfaq.com/entry/25/. It's also good to compile a kernel with max 1khz timer freqquency.

Last edited Jan 14, 2016 at 9:36 AM by Phpdevpad, version 3