How can I increase VMware Workstation performance?


mks.enable3d = "FALSE"
logging = "FALSE"
snapshot.disabled = "TRUE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
MemAllowAutoScaleDown = "FALSE"
diskLib.maxUnsyncedWrites = "0"
diskLib.dataCachePageSize = "4096"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
disk.locking = "FALSE"
sched.mem.pshare.enable = "FALSE" = "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"



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: 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