VMware is one of the leading virtualization tool right now, trusted and loved by programmers and developers. However, the default VMware setting may not be as fast and we have to do some ways to speed it up. Here we will show you the way without the cost of your computer resources like ram and cpu…
Now if your virtual machine is up running, shut it down.
On the left sidebar of VMware app, locate your virtual machine and right click on it
Click Open VM directory
Now the directory opened, locate and right click the .vmx file
Click Open With, if Notepad appears select it or select choose another app and find find Notepad(you can select with your favorite text editor too)
Get to last line which is an empty line and paste the fowllowing:
Save the file, start your virtual machine as normal and see the difference.
- sched.mem.pshare.enable = “FALSE”, by disabling memory sharing your guests will not share common memory blocks. Your VMware product will also stop comparing memory blocks
- mainMem.useNamedFile = “FALSE”, doesn’t use named-file – use for VMs on USB-disks or other slow disks. On Windows: useNamedFile= “FALSE” causes memory to be backed by the host’s swap space.
- prefvmx.minVmMemPct = “100”, fit memory into RAM. Whenever possible, avoid settings lower 100%.
- MemTrimRate = “0” , 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.
- prefvmx.useRecommendedLockedMemSize = “TRUE” , this tells VMWare whether to use a fixed sized memory chunk or balloon and shrink memory as needed.
- mainMem.partialLazySave = “FALSE” , do not take snapshots in background
- mainMem.partialLazyRestore = “FALSE” , do not restore snapshots in background
- priority.grabbed = “high” , sets the priority for the VM in grabbed state
- priority.ungrabbed = “normal” , sets the priority for the VM in ungrabbed state