Microsoft Certified Professional Magazine OnlineWednesday: November 19, 2008 - 06:46 PST
Microsoft Certified Professional Magazine Online About Us | Subscribe to Redmond | Tech Library | Sponsored Webcasts | Get Newsletters
MANAGING THE WINDOWS®  NETWORK MCPmag.com via RSS

Microsoft Unified Communications Virtual Conference and Trade Show: Wednesday, May 21
Facing Active Directory Disasters -- Watch Team Recovery
FREE MAGAZINE SUBSCRIPTION
Get a Free Subscribtion to Redmond magazine in Print or Digital Format!


... Home ... Columns You are reading ... Tech Line ... Article

COLUMN
Tech Line

Balancing Virtual PC 2007 Resource Utilization
Use this tweak to prevent a single VPC from hogging system resources.

by Chris Wolf
send e-mail link to article SEND  print article PRINT rate the article RATE AND COMMENT get an RSS feed
April 2007

Chris  Wolf
Chris: When I run an installation in a Virtual PC, I usually just walk away from my system, because trying to run other applications or virtual PCs is very slow. I like to demo things like RIS installs using Virtual PC, but when I do, the RIS installation will slow down all of my other VMs. Granted, I don’t have the fastest laptop. Besides getting better hardware, is there anything else I can do?
-- Thomas

Thomas: Throwing more hardware at a performance issue is always an easy way out, provided that a hardware bottleneck is the source of the performance slowdown. Today’s 64-bit Intel and AMD platforms both support hardware-assisted virtualization via Intel VT or AMD-V. Today, the greatest benefit of hardware-assisted virtualization is that it removes the CPU tax on emulating a virtual CPU. The next generation hardware-assisted virtualization platforms from AMD and Intel will allow VMs to directly access memory, thus removing the performance hit caused by virtualizing physical memory.

-- advertisement --

Note that the performance issues with memory paging are generally not noticeable in a typical Virtual PC deployment. When virtualizing enterprise applications, on the other hand, memory performance is very noticeable as client load scales from the hundreds to the thousands.

By memory performance, I’m not referring to the limitations that physical memory place on virtual machines (i.e., a system with 2GB of RAM being able to successfully run three VMs with 512MB of allocated RAM). Instead, the memory degradation I’m referring to is what occurs when a VM tries to write to memory and the underlying virtual machine monitor (VMM) traps and emulates page writes.

Now let me return to the problem at hand. Virtual PC 2007 provides greater control over VM performance and physical host system resources. To access the performance configuration settings, open the Virtual PC console and perform the following steps:

  1. Click the File menu and select Options.
  2. In the Virtual PC options window, click Performance (see Fig. 1).

Virtual PC 2007 performance settings
[Click image to view larger version.]

Figure 1. Virtual PC 2007 performance settings.

Thomas’s specific problem can be eased by clicking on the "All running virtual machines get equal CPU time" radio button. Doing so balances access to the physical host computer’s CPU across all running virtual machines.

Note that with Thomas’s example of a RIS installation, the VM running the RIS install will still use a significant amount of disk and network I/O. So, if other VMs are running on the same physical hard disk or if they are sharing a single network controller, they may still experience disk and network latency.

If you’re performing an installation and you want to give priority to the applications on your computer, you can select the "Give processes on the host operating system priority" radio button.

Since Virtual PC 2007 is designed for simple desktop usage and not for production applications, it’s understandable that it doesn’t have all of the performance bells and whistles as enterprise-class virtualization applications.

If you’re looking to squeeze additional performance out of each Virtual PC VM, here are some other performance enhancements to consider:

  • Reduce the VM disk size and optimize Windows guest operating system performance using a third party tool such as Invirtus VM Optimizer.
  • Disable the screen saver in each VM guest OS.
  • After installing a VM’s guest OS, install the VM Additions, which provide optimized device drivers
  • Use Fixed Size virtual hard disks instead of Dynamically Expanding virtual hard disks. Fixed Size VHDs do not grow as data is added to a VM and thus reduce the risk of fragmenting the physical host’s hard disk.
  • Separate VM data from the physical host system’s data by storing VMs on one or more dedicated physical hard disks. Dedicating a physical hard disk to VM virtual hard disk files creates a separate I/O channel for VM disk reads and writes and will prevent paging on the physical host from slowing down VM disk performance.
Tech Help—Just An
E-Mail Away

Got a Windows, Exchange or virtualization question or need troubleshooting help? Or maybe you want a better explanation than provided in the manuals? Describe your dilemma in an e-mail to the MCPmag.com editors at editor@mcpmag.com; the best questions get answered in this column and garner the questioner with a nifty Redmond T-shirt.

When you send your questions, please include your full first and last name, location, certifications (if any) with your message. (If you prefer to remain anonymous, specify this in your message, but submit the requested information for verification purposes.)

Hopefully, some of these tips will help you to see better performance in your Virtual PC VMs. If I failed to mention your favorite Virtual PC VM performance tweak, please share it as a comment to this article. end article

Chris Wolf is Virtualization Review magazine's "Virtual Advisor" columnist. A Microsoft MVP for Windows -- Virtual Machine, Chris is an MCSE, MCT, and CCNA. He's a Senior Analyst for Burton Group who specializes in the areas of virtualization solutions, high availability, storage and enterprise management. Chris is the author of Virtualization: From the Desktop to the Enterprise (Apress), Troubleshooting Microsoft Technologies (Addison Wesley), and a contributor to the Windows Server 2003 Deployment Kit (Microsoft Press). You can contact Chris about "Balancing Virtual PC 2007 Resource Utilization" at chris@chriswolf.com.
send e-mail link to article SEND  print article PRINT rate the article RATE AND COMMENT get an RSS feed



More Columns

Quick Hit -- Vista Shell Commands November 2008

Certificate Services (Exam 70-642) November 2008

SMB Fix Is In the Flaw November 2008

Just DO It! November 2008

Enforcing NAP (Exam 70-264) November 2008

An .MDI File Mystery November 2008

WHILE You Were Away... November 2008

Domain Controllers (Exam 70-642) November 2008

The New Switch for Console Connections November 2008

Prof. Powershell: Get Smart and Get -Out November 2008


...read COLUMNS ARCHIVE

Current MCPmag comments for
Balancing Virtual PC 2007 Resource Utilization
There are 3 comments with an average rating of: five stars - excellent
PAGE 1 of 1
Tuesday - 4/17/07: Anonymous says: four stars - very good
Very Interesting and good article. Thank you for the insights. GO.
Wednesday - 4/18/07: Malik from NYC says: five stars - excellent
I noticed the same thing when installing a OS with PC 07. It seems like VMware is a little better in this area but we all know microsoft will catch up very soon.
Wednesday - 4/18/07: John from Panama City Beach, FL says: five stars - excellent
Great article.. I intemd to implement these tips!

Select a Rating for Balancing Virtual PC 2007 Resource Utilization
five stars - excellent excellent
four stars - very good very good
three stars - good good
two stars - fair fair
one star - poor poor
name: (optional)location: (optional)e-mail: (optional)
Comment about Balancing Virtual PC 2007 Resource Utilization
 
TOP


Home | Subscribe/Renew | About Us | Contributors | Tech Library | Tech Library Webcasts | RSS Feeds  RSS Feeds from MCPmag.com
Issue Archive | Blogs | Certification/Careers | Chats | Columns | Now Online | Exam Guide | Events | Features | Forums
MCP Radio | News | Poll | Tech Portals | Press Releases | Reviews | Salary Surveys | Search | Site Map
For more information, e-mail editor@mcpmag.com.
Application Development Trends | Campus Technology | CertCities.com | The Data Warehousing Institute ! E-Gov | EduHound
ENTmag.com | Enterprise Systems | Federal Computer Week | Government Health IT | IT Compliance Institute
MCPmag.com | Recharger | Redmond Developer News | Redmond | Redmond Channel Partner | Redmond Report
TCPmag.com | T.H.E. Journal | TechMentor Conferences | Virtualization Review | Visual Studio Magazine | VSLive!
Copyright 1996-2008 1105 Media, Inc. See our Privacy Policy.
1105 Redmond Media Group
.