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
VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

WinInfo Short Takes: Week of September 8, 2008

An often irreverent look at some of the week's other news, including the long-awaited back to school season, Microsoft's first Seinfeld/Gates ad, some EU insights, another Netbook improvement, Opera silliness, and much, much more ...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


Related Articles DXtreme for Windows Enterprise

Storage Whitepapers Enhancing Operational Recovery with TimeData CDP

Virtualizing Microsoft Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events 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.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

IT Connections
Dive into the new Microsoft platforms and products you implement and support with the experts from Microsoft, TechNet Magazine, Windows ITPro and industry gurus. There are 70+ sessions and interactive panels with networking opportunities.

Attention User Group Leaders...
Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes and add Windows IT Pro & SQL Server Mag articles alongside your own message!.

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Get SQL Server 2008 at WinConnections
Don’t miss Microsoft Exchange and Windows Connections conferences, the premier events for Microsoft IT Professionals in Las Vegas, November 10-13. Every attendee will receive a copy of SQL Server 2008 Standard Edition with one CAL.



Interested in Email Encryption?
Read about the advantages of identity-based encryption in this free report.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
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 Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing