Virtual Machine And Disk Fragmentation
November 28th, 2008
Technology has a funny habit of solving one problem but then highlighting another. A typical example of this is the emergence of virtual operating systems, that is an OS that runs on top of another OS. While there are many advantages to many computer users in running these configurations they all rely the humble hard disk , and as fragmentation occurs, this can lead to instability and potentially data loss.
Virtual machines must still make use of the slowest part of any modern computer system: hard drive technology. Hard Drives can be partitioned to appear as dedicated individual devices, these devices are then often utilized to store virtual partitions and virtual operating systems. Underneath this “virtual” layer, the hardware is storing data as it always has, in a fragmented inefficient manner.
Hard disk fragmentation occurs when files are split in to multiple chunks as they are slotted into spare space on the hard drive. If you are running a solitary OS chances are you have already noticed considerable slow down in your system since purchase. Just imagine two or more OS’s running causing the same file fragmentation! Pretty soon your system could come to a grinding halt.
What is more, the premature wear that all of this fragmentation can cause to the hard disk storage can dramatically reduce the useable life of the storage below. Even complex, high performance, RAID arrays can be reduced to a snail like crawl due to high levels of fragmentation. If this problem starts to show itself on a number of the storage devices in any array you could be left with a situation where data recovery is your only option.
Each operating system will have it’s own method of dealing with file fragmentation (or not as the case may be). Whilst Mac OS X will automatically defragment a file under the size of 20mb, windows pays scant regard to how badly files are fragmented. Other systems use a variety of different methods to combat the problem.
Defragmentation utilities can take care of this problem, however, running them practically ties up the machine until completion, slowing the machine to a crawl. So what can be done to remove this issue? There are a number of possibilities that can be tried.
Fortunately we are not left to the operating systems alone as there are a number of third party defragmentation applications that are far superior to the inbuilt OS tools. These can be scheduled to run when system usage is very low for example whilst the system is idle or the screen saver is running. As you go defragmentation is my personal choice.
Use separate hard disks for your Virtual Machine software. While this may appear to fly in the face of VM’s in the first place, having a robust and business capable solution is in most cases the driving factor. Some astute companies will even have a dedicated hard disk array solely for the purpose of running VM software if there is a business case for it.
Tags: Hardware
Posted in
Hardware |