Friday March 12, 2010 @ 13:10:57 GMT+10    ( Weather:  26°C / 79°F  -  Partly Cloudy )
Home » Weblog Archives

Info *NOTE* This page is NOT the actual weblog entry. The purpose for this page is to provide extra background information on how this particular entry is constructed, by using custom markups and tags. To read the actual content of this entry, please go to here.

The Raw Structure:

Markup | Tag used: BBCode


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:

[box][b]monitor_control.restrict_backdoor = "TRUE"
MemTrimRate=0
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"[/b][/box]


[list][*]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 [url=http://communities.vmware.com/thread/105144]here[/url])[/list]


Links
[list][*][url=http://vmfaq.com/?View=entry&EntryID=25]VMFAQ.com[/url]
[*][url=http://kb.vmware.com/kb/1620]VMware KB[/url][/list]

Live Rendering:

The real-time rendered result...

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
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.96 , 23 queries , 0.0439s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost