Virtual machines need defragging too

Weighing in on a seemingly perennial question asked by system administrators, IT research firm Osterman Research is recommending that virtual machines be defragmented just as often as physical drives. 

“The need for defragmentation is even more acute in virtual environments,” stated a newly posted white paper co-authored by Osterman and disk management software vendor Diskeeper. “Physical hardware in a virtualized storage environment must support more operating systems and so can undergo even more disk access and more stress than in a non-virtualized environment.”

Disk fragmentation occurs when data is continually written and rewritten to a disk, which can cause data to be scattered across different physical sectors of the physical drive when there is not enough contiguous space to write a file in one uninterrupted block. As a result, when a file is called, the disk must do more work recollecting the bits of the file from different locations, slowing performance. 

Windows, as well as third-party software firms, offer defragmenters to reassemble fragmented files. Fragmentation is not as large of a problem on Unix systems, due to the way that the OS writes files to disk

According to the paper, virtual disks can become just as fragmented as physical disks. For instance, a single file on a virtual disk may be split into four fragments, and the virtual disk itself may be split into another three fragments on the physical disk itself. The cumulative effect of fragmentation on both layers reduces system performance considerably. 

“Disk I/O in one virtual machine has a cascading effect on disk I/O in other virtual machines, and so the problem of excessive disk I/O in virtual machines is, in fact, even worse than what would be experienced in a physical disk environment,” the paper states. 

Not surprisingly, Diskeeper offers virtual disk optimizer software, V-locity, which can prevent virtual machines from becoming too fragmented. But both Microsoft and VMware have recommendeddefragmentation in various support forums as well.

Would you recommend this article?

Share

Thanks for taking the time to let us know what you think of this article!
We'd love to hear your opinion about this or any other story you read in our publication.


Jim Love, Chief Content Officer, IT World Canada

Featured Download

Featured Articles

Cybersecurity in 2024: Priorities and challenges for Canadian organizations 

By Derek Manky As predictions for 2024 point to the continued expansion...

Survey shows generative AI is a top priority for Canadian corporate leaders.

Leaders are devoting significant budget to generative AI for 2024 Canadian corporate...

Related Tech News

Tech Jobs

Our experienced team of journalists and bloggers bring you engaging in-depth interviews, videos and content targeted to IT professionals and line-of-business executives.

Tech Companies Hiring Right Now