VMWare performance tricks

November 22nd, 2005

From How to improve disk I/O performances with VMware Workstation 5:

Memory trimming

Workstation checks which part of the guest OS virtual memory is not used and allocates it back to the host OS. This permits to have more concurrent virtual machines running but everytime the guest OS asks back for its memory it suffers a performance degradation.

So, if you have enough free RAM for all planned concurrent VMs, be sure to disable memory trimming for guest OSes adding the following line to the virtual machine configuration (.vmx) file:

MemTrimRate=0

Page sharing

VMware uses a page sharing technique to allow guest memory pages with identical contents to be stored as a single copy-on-write page. Page sharing decreases host memory usage, but consumes system resources, potentially including I/O bandwidth.

You may want to avoid this overhead for guests for which host memory is plentiful and I/O latency is important. To disable page sharing, add the following line to the virtual machine configuration (.vmx) file:

sched.mem.pshare.enable=FALSE option

4 Responses to “VMWare performance tricks”

  1. brazzmonkey Says:

    i believe there should not be this “option” word at the end.
    one more trick is about disabling logging :
    logging = “FALSE”

  2. ламинат Says:

    4tGood idea.5w I compleatly agree with last post. jsz
    паркет и ламинат 8h

  3. Henriette Lappi Says:

    This is amazing! I wouldnt be surprised if every account on deviantart did not enjoy this! Keep up the GREAT work!

  4. Moses Earl Says:

    hi,
    can i know my future and other my dob is 16/03/1982 and place of birth is neyveli tamil nadu india

Leave a Reply