Windows tip: Running virtual machines from a compressed host drive

By Mitch Tulloch  1 comment

Compressing a hard drive will help you squeeze more space out of a hard drive, and if you use your laptop for demos using Virtual PC, Virtual Server or Hyper-V, this might seem like a good idea since virtual hard drive (.vhd) files tend to take up a lot of room. There are pros and cons you need to consider however before you do this:

Pros:

  • You gain extra disk space, sometimes up to double the available space. That means you can store more virtual machines on your laptop for more demos.
  • Your virtual machines will likely start up faster since it's faster to read a 10 GB file than a 20 GB one.
  • Virtual machines will often perform better as well for the same reason (faster disk reads).

Cons:

  • Reading from compressed drives adds processor overhead, so if your don't have a fast processor then your processor can become the bottleneck for virtual machine performance instead of your hard drive.
  • If your virtual machines are performing disk-intensive operations (lots of writes) then performance may degrade instead of improving.
  • Since compressed files are inherently subject to fragmentation, any performance boost you gain by compression may decrease over time as the virtual machines are used when demos are being performed.
  • I've also heard some anecdotal reports that virtual machines that have very large .vhd files running on compressed drives can crash during usage and result in corruption of the .vhd file, which would mean an abrupt end to your demo.

Conclusion:

My best guess concerning this matter is that if you're just going to do relatively simple (not disk-write intensive) demos with relatively small (under 20 GB) .vhd files on a laptop with a fast dual-core processor then go ahead and compress your host drive. But don't do it on a host machine running in a production environment.

Got comments concerning this tip? Want to share a tip of your own with ITworld readers? Email me

1 comment

    Anonymous 1 year ago
    The works of authorship contained in this website in the domain investors adv including but not limited to all design text images charts or other data are owned by Gimcrackery Company and may not be copied reproduced transmitted displayed distributed altered stored or sub licensed for subsequent use in whole or in part in any manner without written permission from Gimcrackery Company.multiple choice questions services

      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