Saturday March 13, 2010 @ 08:32:17 GMT+10    ( Weather:  21°C / 70°F  -  Mostly Cloudy )
Home » Weblog Archives

Powered byD's Bloggie
Weblog » Archive » 2010 » January » Day 04
Browse by day ...
 06 December, 200907 January, 2010 

Improve VMware performance - 9:26 pm
Gaming , Guides  -  poster 

I've been using virtual machines for quit a while but recently I needed to squeeze more juice out of what it can do when it comes to multiple sessions, more precisely, multiple gaming sessions running in parallel.

If you're using VMware, you can add the following lines to the .vmx file to help to improve some performances:

monitor_control.restrict_backdoor = "TRUE"
MemTrimRate=0
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"


  • The VMware tools won't function but it may stop the software detecting the fact that it is running in a VM
  • By disabling MemTrimRate, memory allocation inside the guest is faster because it doesn't take and give memory to the host os upon all requests.
  • By disabling memory sharing (sched.mem.pshare.enable) your guests will not share common memory blocks. Your VMware product will also stop comparing memory blocks.
  • When allocating memory you VMware will store parts of the memory in a file. This file will be equally large as the memory allocated to the guest VM. This file exists because the ram allocation method used is mmap. By changing the setting for mainMem.useNamedFile, it will move this file from the VM's default location to /tmp on linux or into the swap file on windows. This will help a bit, especially if this is on a different disk than the VM. In linux it will help if you use the tmpfs file system for /tmp (or ramfs if you can afford it) (details here)


Links
 06 December, 200907 January, 2010 
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.99 , 19 queries , 0.0429s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost