Contents
Previous Next
Disk I/O Performance Tips
Disk I/O Performance Tips
Memory Trimming
Workstation uses a memory trimming technique to de-allocate unused virtual machine memory for the host to re-allocate. Trimming usually has little impact on performance, and it may be needed in low memory situations. However, memory trimming can interfere with disk-oriented performance in a guest.
To disable memory trimming for a particular guest, add 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