Matts VM Tip of the Day

Everyone now uses some sort of virtual machine technology in their daily work. I happen to use VMWare, but I used to use VirtualPC….though I started with VMWare when it was still a research project at Stanford. When working with VMWare, tweaking the last drop of performance out of the machine is a never ending task. One of the easy, though time consuming steps is defragging the drive. You want to defrag both the host machine and the guest machine, but the most important files you might want to defrag on the host are the VM files themselves. So you could start up the Windows Defrag or I use Diskeeper from Executive Software. But when all I really care about is the VM, I use contig. Contig is a file defragmenter and is one of the amazing free utilities from Sysinternals. Whats special about contig is that I can focus in on one file or a directory of files. So I will go into the directories that hold my VMs, and run contig -v -s *.* and it will defrag all the files in that directory and subdirectories. When I have some files in 700 fragments that go down to 1, I see a huge performance gain in the VM later on.

 

Submit a Comment

Your email address will not be published. Required fields are marked *