Working with fixed-size virtual hard disks

By Mitch Tulloch  Add a new comment

Microsoft operating system virtualization products such as Virtual Server, Virtual PC, and Hyper-V support both dynamically-expanding and fixed-size virtual hard disks (VHDs). With the dynamically-expanding kind, the size of the VHD expands as more and more data is written to it. For fixed-size disks, the size of the VHD is fixed to the size you indicate when you create the disk. While dynamically-expanding disks can be more efficient—they take up only as much physical disk space as they need—their performance can be poor because of the extra processor cycles needed to expand the disk. Fixed-size disks on the other hand perform better, but they can take up a lot more physical disk space—plus you need to decide at the beginning how big they will need to be.

When you are running virtualized operating systems in a production environment, it’s usually best to use fixed-size disks because of their better performance. But before you create a fixed-size VHD for a new virtual machine, keep three things in mind:

1. Create your VHDs on a different physical disk than the one your host operating system resides on. Otherwise, reads/writes to your system drive will contend with reads/writes to your VHD and will cut into the performance of your virtual machines.

2. Always defragment any physical hard drive before creating a large, fixed-size VHD on that drive. If you don’t do this, it can take a long time (sometimes many hours) just to create the new VHD. And of course the performance of your virtual machine will suffer afterwards because of the fragmentation of the VHD file.

3. Be sure to use physical hard drives that are as fast as possible for hosting your VHD files. A speed of 7200 RPM should be considered the minimum, while 15,000 RPM drives can make your virtual machines scream.

Got any tips of your own for optimizing virtual machine performance? Feel free to email me your comments and suggestions.

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    WindowsWhite Papers & Webcasts

    White Paper

    Microsoft Volume Licensing Reference Guide

    This guide provides an overview of the key features of Microsoft Volume Licensing programs. The information is presented by organizational type and size-two of the most important keys to determining your best Volume Licensing option.

    White Paper

    HP Software Licensing & Management Solutions for Microsoft

    See how HP Software Licensing & Management Solutions (SLMS) can help you identify the best Microsoft licensing program for your needs, get the most from your licensing agreement, and maximize your Microsoft software investment.

    White Paper

    Microsoft Open Value Program Guide

    In this overview, see how Microsoft Open Value provides a flexible, affordable way for small to midsize organizations (i.e. those with five or more desktop PCs) to use and manage all their Microsoft licensed products under a single agreement.

    White Paper

    Microsoft Volume Licensing Comparison - Enterprise

    With this quick-reference document, you can easily compare the available Microsoft Volume Licensing programs for enterprise organizations with 250+ devices, and tailor a program to help save costs, manage multiple licenses, and keep software up-to-date.

    White Paper

    Microsoft Enterprise Agreement Program Brief

    This white paper provides an in-depth look into how the Microsoft Enterprise Agreement Program provides with flexibility to choose among on-premises software and cloud services to best suit your user needs, and helps you optimize your technology spend as business priorities change.

    See more White Papers | Webcasts

    Ask a question

    Ask a Question