Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

October 03, 2008 12:00 AM

Q. Why does a fixed-size virtual disk perform better than a dynamic virtual disk?

Windows IT Pro
InstantDoc ID #100447
Rating: (1)

A. When you create a fixed-size virtual disk, the virtual hard disk (VHD) file that’s created is the size of the VHD. So, for example, if you create a 40GB fixed VHD, a 40GB VHD file will be created in the file system.

A dynamic VDH consumes space in the file system only as content is written to the VHD, so that if you create a 40GB dynamic VHD, a file of only a few hundred kilobytes is created. (The size of the initial file is based on the size specified for the dynamic disk. The initial file stores only the lookup table that will be used to map the virtual disk to the physical drive. A larger VHD needs a larger lookup table, so the initial VHD file size will be larger. The lookup table is about 0.0008 percent of the size of the actual VHD.)

When data is written to a dynamic VHD, the OS has to first find space on the physical drive holding the VHD and update the lookup table; only then can the data be written. This multistep process delays the write operation.

Because a fixed VHD allocates all the space in advance, a fixed-size VHD will perform better than a dynamic VHD. A fixed virtual disk actually performs about as well as pass-through disk access (in which a virtual machine directly accesses a physical drive or LUN) and offers the portability and backup benefits of a VHD.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.