Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  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 log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
CES 2009: Ballmer Announces Windows 7, Windows Live, Live Search Milestones

During his first-ever Consumer Electronics Show (CES) 2009 keynote address last night in Las Vegas, Microsoft CEO Steve Ballmer announced the pending public availability of a feature-complete Windows 7, the final version of Windows Live Essentials, and ...

Command Prompt Tricks

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

Where is Microsoft NetMeeting in Windows XP?

...


Related Articles DXtreme for Windows Enterprise

Storage Whitepapers Email Archiving Implementation: Five Costly Mistakes to Avoid

Combining Deduplication and VMware Disaster Recovery: Cascading Savings Improves Cost Effectiveness

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

Optimize your VMware Infrastructure with the New Releases from the Symantec Backup Exec Family

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 Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing