Saturday, November 29, 2008

Tips To Avoid Virtual Machine Issues

By Mike White

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.

Just like any other software virtual machines still require (unless you have a very specialist setup) to be run from the hard drive, which is still and probably will remain so for many years to come, the slowest part of your system. Drives can be broken in sub parts know as partitions which can then be utilized as a different drive so to speak but hard disk fragmentation is still an issue.

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.

Fragmentation is the scourge of modern computers as most people fail to conduct even the most basic maintenance on their computers. The situation just get worse over time and some people have even been known to purchase a new system even though there is nothing wrong with the old. On servers and raid arrays fragmentation is far more serious as it slows down business applications and reduces productivity. In very bad instances data recovery is the only method of saving the data.

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.

Utilizing defragmentation tools can help to alleviate the problem but often the use of some of these tools is very invasive and will render your system virtually unusable while they are running so what other options do you have.

Use automated defragmentation routines: Dependent upon your OS you can normally, either directly in the OS itself or via third party software; schedule defrags to run at times convenient to yourself.

Use dedicated hardware for the Virtual Machines: Whilst it may appear to be a contradiction in terms, running the virtual machine from a dedicated hard disk or RAID Array is probably the most efficient method of running the machine at all. It leads to the minimum of wear on the individual hard disk devices and means that running even simultaneous defragmentation is possible. - 15478

About the Author: