Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


February 2006

VM Performance Tips

Speed VM performance markedly
RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Virtual Machine (VM) technology provides great flexibility, but at the cost of raw performance. New chips might help improve VM performance in the future, but until then, use these tips to optimize the performance of both your Microsoft and VMware VM products.

10. Install the tools—Install the collection of tools that comes with your VM product; they improve the guest OS's video performance and mouse responsiveness by providing an optimized SVGA video driver.

9. Provide adequate free disk space—Each VM requires from 4GB to 50GB—or more—of storage. Even if you have the necessary storage, performance can be severely slowed by too little free space. Leave at least 20 percent free space on the drives that contain the virtual hard disk image.

8. Turn off visual effects in the guest OS—Guest OS visual effects consume CPU and memory resources. To disable unneeded effects on Windows XP, right-click on the guest OS's desktop, select Properties, Appearance, Effects, then clear the Use transition effects for menus check box. (The Windows 2000 procedure is similar.)

7. Preallocate the virtual hard disk—By default, the virtual hard disks of most VM products are configured to expand dynamically as new storage is required. Dynamic expansion saves disk space but slows guest OS performance. To eliminate this performance penalty, select the option to preallocate storage when the virtual hard disk is created.

6. Use raw or linked virtual hard disks—Using a raw or linked virtual hard disk (the terminology varies with the product) lets the VM directly read from and write to the disk, avoiding much of the overhead of other types of virtual disks. This technique can speed up applications for which disk performance is crucial.

5. Use Full Screen Mode—Running a VM in full screen mode rather than in a window gives you about a 10 percent performance boost by reducing the need to handle the host video I/O.

4. Create the virtual hard disk on its own drive spindle—Creating the VM's virtual hard disk on a different physical drive from the host's OS reduces drive spindle contention and improves the performance of the VM. If you run multiple VMs, place each VM on its own disk spindle.

3. Defragment the VM hard disks—Disk fragmentation occurs both at the guest OS and host OS levels, so disk defragmentation for VMs is a multitiered process. First, defragment the drive of the guest OS. (Some versions of VMware products also let you defragment the virtual hard disk, which can be done only when the VM is powered down.) Then, defragment the physical drive for the host OS.

2. Use a fast hard disk—Hard-disk speed is one of the biggest factors influencing VM performance. The faster the drive, the better your VM's performance. Use at least a 5400rpm disk on a laptop and a 7200rpm or faster disk on a desktop PC. For server consolidation, look for 10,000rpm or faster disks.

1. Maximize RAM—The amount of physical RAM probably is the biggest potential VM performance bottleneck. Allocate adequate RAM for the guest OS—at least 128MB for workstations and 256MB for servers. If you run only one VM at a time, consider giving it half the available host memory. VMs can use only physical memory, so you need sufficient physical RAM on the system. All the recent VM product releases support 3.6GB per VM, so maximize your host RAM.

End of Article



Reader Comments
This article is helpful, however, it is missing one important mention for item #10, the "New tool for precompacting virtual hard disks" <http://blogs.technet.com/megand/archive/2004/12/10/279808.aspx>

fluteboy April 09, 2006 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Articles DXtreme for Windows Enterprise

Storage Whitepapers Turn to a Proven Server and Storage Migration Solution

The Impact of Disk Fragmentation on Servers

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Disk-to-Disk Grows Up

Think That Intelligent Data Storage Systems Exceed Your IT budget? Think Again!

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement