Somehow I always found VMWare easier to use than HyperV, except for one minor detail: after I shut down a virtual machine, the VMWare host starts accessing my local harddisk like a maniac. This heavy disk load can take up to 20 minutes, in which I'm
- unable to boot another VM. Well technically I can boot another one, but it's so slow you can't do a thing in it.
- unable to shut down my laptop ... Windows waits until the VMWare host has finished his frantic disk rampage.
Luckily, lately I got a nice solution from one of my new colleagues.
If you add mainMem.useNamedFile = "FALSE" to your vm's configuration file, the post-shutdown disk activity stops.
Step-by-step
- Make sure your VM is turned off.
- Open the virtual machine's VMX file in notepad.
- Append mainMem.useNamedFile = "FALSE" at the bottom of your vmx file.
- Save your changes.
- Boot your VM again.
I've been testing it for the past month on all my VM's and I must say, I haven't had any problems. The virtual machines still work, their performance hasn't dropped, but now they shut down in a few seconds and without any increased disk activity afterwards.
No comments:
Post a Comment