I have received questions about guest defragmentation tools for years. Until today I could only pose theories as to the value of guest defragmentation. But previous theories spawned new research and one of VMware’s partners is now putting data behind their argument that file systems in Windows virtual machines require defragmentation. This partner, Raxco Software, shared early results of this investigation with me. Raxco used their NTFS defragmentation tool PerfectDisk to evaluate the impact of guest defragmentation on a single virtual machine.
Scott Drummonds on Virtualization
Today at VMware Partner Exchange I had a lunchtime discussion with a partner of ours that makes a Windows file system (NTFS) defragmentation tool. He related anecdotes of incredible performance acceleration credited to defragmentation and quoted a few numbers based on his test environment. When he asked me what VMware’s recommendations were on the subject I remained uncharacteristically silent. Do we have best practices on this?
I was recently shown a problem where the ESX Perfmon counters we added to vSphere 4.0 virtual machines were not appearing in Windows virtual machines as of vSphere 4.0 U1. The problem stems from an issue with mofcomp, which I will briefly describe below. For the impatient, the workaround is to manually uninstall and then reinstall VMware Tools. It also appears that the counters can be added by running vmStatsProvider, as I described in a previous article.
[An update to an old community post with more information on the tool.]
My colleague in product management, Praveen Kannan, has been working to extend Perfmon to show some ESX performance counters. This capability is automatically installed with VMware Tools on vSphere 4. But Praveen and I have made a stand-alone version available to those of you that are still on VI3. Download it here to give it a try. [See note below if that link is dead.]