White Paper: Page (2) of 2 - 05/23/06
Email this story to a friend. email article Print this page (Article printing at MyDmn.com). print      facebook  

Virtualization and Disk Performance

To Virtualize Something Means To Make Something That Doesn?t Actually Exist Appear To Exist

This equates to hierarchical fragmentation or more simply fragmentation-within-fragmentation. The black lines in Image6 (below) represent disk I/O mappings of the virtual disk file fragments to the host system in a Hosted Architecture.

 

Click for larger view

Image7 (right) depicts a fragmented file (Fragmented Word doc in Virtual Server.doc) residing on a virtual disk, which in turn exists as a fragmented file on the host operating system. The current design of software-based server virtualization requires the host system capture and process any disk I/O generated by guest operating systems, adding an additional layer in the I/O processing stack.

 

Machine Virtualization Architectures and I/O:

 

Given either of two predominant virtualization architectures (Hosted orHypervisor) remember that the virtual machines are emulating hardware andmay not emulate the exact specifications. For example, a high-end video card may not be emulated ina host system with all the advanced capabilities.

 

 

 

 

 

 

 

 

 

The Hypervisor architecture (above) removes the requirement for a host operating system and improves overall virtual systems performance.

 

As demonstrated earlier, Disk I/Os generated from virtual systems (Hosted Architecture) can suffer from increased software stack processing. This means that disk I/O has to go up and down software layers that abstract the physical hardware. In a Hosted Architecture, a low level disk request in a guest system is translated into a user level call in the host system. With the likely loss of disk caching at the guest level (hardware support consideration), and limited queuing ability, this process will not be as speedy as a direct physical hardware call by the host system.

In summary, server virtualization establishes a symbiotic relationship, so it is important to remember that generating disk I/O in one virtual machine slows I/O to the disk from other virtual systems, no matter the architecture. Fragmentation is both increasingly substantial in virtual machines environments (hierarchical in Hosted Architecture) and compounds the disk bottleneck more so than on conventional systems (shared resource).

 

For the future, with the opening of proprietary formats for third party development, virtualization-ready hardware from Intel and AMD (improved hardware support and access), operating system advancements (Hypervisor will be an integral part of Windows Longhorn) and technology partnerships such as that between Diskeeper and Microsoft, look for continuing improvements to disk performance as virtualization gets further entrenched in everyday IT.

Improving Disk Performance for Virtual Servers:

1. Run advanced automatic defragmentation on Host and all Guest operating systems. Make sure the software is disk-resource friendly, as intrusive defragmentation with manual or basic tools can cause more problems than they solve.

2. Use basic built-in or more advanced third-party tools (such as Diskeepers FragShield) to properly adjust MFT and paging file settings on the host and/or guest operating systems.

3. Incorporate the following industry expert recommended disk subsystem and partitioning strategies:

  • To minimize fragmentation of the virtual disks, pre-allocate their size if possible just be sure to monitor and quota disk space.
  • Separate the host operating system onto a separate physical disk (spindle).
  • Keep the host paging file on a physical disk (spindle) separate from those of the virtual disks.
  • Create separate logical partitions on the host system for each virtual system. This is especially true for dynamically expanding virtual hard disks.
  • Use high performance SCSI hard disks, and ideally a SAN or RAID back end.
  • Compact the virtual hard disks. Make sure to address fragmentation as part of compaction process, both before and after compaction.

Best Practices References:

VM Performance Tips (Michael Otey - Windows IT Pro): http://www.windowsitpro.com/Article/ArticleID/48726/48726.html

How to Improve Disk I/O Performances with VMware Workstation 5-(Alessandro Perilli): http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html

Virtual Server Improving Performance Microsoft Corporation: http://www.microsoft.com/technet/prodtechnol/virtualserver/2005/proddocs/vs_operate_using_perfTune_tune.mspx?mfr=true

Configuring Hard Disk Storage in a Virtual Machine VMware Inc.: http://www.vmware.com/support/ws45/doc/disks_config_ws.html

Diskeeper and Microsoft Collaborate to Offer Advanced Virtual Server Performance Microsoft Corporation: http://www.microsoft.com/presspass/features/2006/apr06/0403virtualizationqa.mspx

Virtual Server 2005 Best Practices Microsoft Corporation: http://www.microsoft.com/technet/prodtechnol/virtualserver/2005/proddocs/vs_deploy_reqs.mspx?mfr=true

Diskeeper Corporation.
7590 N. Glenoaks Blvd.
Burbank, CA 91504
800-829-6468
www.diskeeper.com

© Diskeeper Corporation 2006 All Rights Reserved. Diskeeper, The Number One Automatic Defragmenter, and Frag Shield are either registered trademarks or trademarks of Diskeeper Corporation. Microsoft, Windows and Virtual Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. VMware is a trademark of VMware, Inc. Virtuozzo is a trademark of SWsoft, Inc. All other trademarks are the property of their respective owners.

 

Michael Materie is the Diskeeper Product Manager at Diskeeper Corporation.

Related Sites: Storage ,   IBN - Storage ,   IBN - Hardware ,   IBN - IT Business Net

Related Newsletters: IBN - IT Weekly Newsletter
Click Here to Comment on This Article
Most Recent Reader Comments:
  • Virtualization and Disk Performance by DMN Editorial at May 23, 2006 8:37 pm gmt

    Click Here To Read All Posts

    Must be Registered to Respond (Free Registration!!!, CLICK HERE)
    Source:Digital Media Online. All Rights Reserved
  • Dexim P-Flip Power Play Dock for iPhone/iPod touch
    polymer battery all in one neat device. Plug the P-Flip into your computer to charge its battery, then plug your iPhone into the P-Flip, and it charges the iPhone battery. Read More
    Apple Intros iPad
    After years of hype, Apple, Inc. today introduced the iPad, a portable computing device that looks like a big iPhone. Introduced today by Apple CEO Steve Jobs, the iPad features a touchscreen keypad, wireless capability, the capability to run all iPhone applications, all in a form factor that fits in between an iPhone and a MacBook. With the iPad, you can play movies, load maps, view photos, update your calendar, basically do the same things as on an iPhone, and more. Read More
    HDTV Buyer's Guidelines
    When it comes to choosing between Plasma and LCD, it's important to shop in the mindset that one high-def TV is not necessarily better than another - rather, it's a question of which one is right for you. That said, it can be a tough call to make when all that meets the eye are sleek screens and vibrant pictures - are Plasmas and LCDs really that different? Read More
    Tritton AX 180 universal gaming headset
    The Tritton AX 180 universal gaming headset is designed to work with the three major gaming platforms (Wii, xBox 360, and Sony PlayStation 3, via analog inputs), but also with both Macintosh and Windows based computers. Read More

    @ Copyright, 2010 Digital Media Online, All Rights Reserved
    p> Webmaster
    Privacy.