Home > Server Virtualization Tips > Managing virtual environments > How to manage and monitor CPU and memory settings in Microsoft Virtual Server 2005
Server Virtualization Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

MANAGING VIRTUAL ENVIRONMENTS

How to manage and monitor CPU and memory settings in Microsoft Virtual Server 2005


Anil Desai, site expert
11.06.2006
Rating: -3.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The primary purpose of any virtualization solution is to act as a referee between virtual machines (which are always asking for access to hardware resources) and the underlying hardware itself (which can only respond to a limited number of requests at a time). In this article, I'll cover how you can monitor CPU and memory resources.

Getting host hardware information
When managing Virtual Server, a good first step is to get an overview of the host computer's hardware configuration as seen by the Virtual Server service. Click on Server Properties Physical Computer Properties (see Figure 1) in the Virtual Server Administration Web site. You'll get a quick rundown of the key CPU and memory statistics.

[IMAGE]Figure 1: Viewing the physical properties of a host computer

Note the number of physical and logical CPUs, as well as the amount of available physical memory. These numbers will define the constraints under which you'll be working.

Managing memory settings
Configuring memory settings for a virtual machine couldn't be much easier. As long as the VM is powered off, you can change the memory setting in the properties of the VM.

There are some rules to keep in mind. Most importantly, you cannot "overcommit" memory. The sum of physical memory allocated to all running VMs on a host server must be less than the total amount of physical memory available on the server.

If you're going to be running other applications on the same server, keep in mind that you'll need to reserve a certain amount of memory for the host OS. Fortunately, Virtual Server can access all of the physical memory that is available on the host computer and includes support for large memory on 32-bit systems and the increased address space of 64-bit host operating systems.

Physical CPU considerations
When choosing CPUs for a host server machine, keep several things in mind; first and foremost is the overall per


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   




formance of the CPU architecture. Clock speed and the number of physical CPU cores are most important. Each virtual machine will run in its own thread, so having multiple CPU cores can greatly help improve performance.

Intel and AMD offer virtualization-related extensions that can help improve virtualization performance (an upcoming Virtual Server update will take advantage of these specialized instructions).

Next, keep in mind heat and power consumption (both will end up hitting your overall budget). Multicore CPUs offer significant performance advantages and minimize additional power consumption. Regardless of how many physical and virtual CPUs present on the host, each VM will see only a single virtual CPU. Rest assured that Virtual Server will use all of the available host CPUs, as needed.

Monitoring CPU and memory performance
Before you can tweak CPU and memory settings, you should know how these resources are being used. Figure 2 provides some useful Windows Performance Monitor counters and how they can clue you in on what's going on. It can be valuable to measure these values both at the host-level (for an overview of aggregate hardware utilization) and at the VM-level (to hone in on details related to individual VMs' resource usage).

[IMAGE]
Figure 2: Windows Performance Monitor counters for measuring CPU and memory statistics

Summary
In this article, we looked at how Virtual Server manages access to CPU and memory resources and how you can monitor actual usage. We'll build on this information in the next article when we look at manually managing CPU resource allocations. Stay tuned!

Optimizing Virtual Server directory Series introduction
Monitoring CPU and memory resources | Managing CPU resource allocation
Designing virtual hard disk storage | Maintaining virtual hard disks
Using network-based storage | Optimizing network performance


Rate this Tip
To rate tips, you must be a member of SearchServerVirtualization.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Search More Tips on Virtual Implementation and Virtualization Platforms

Citrix - Application, Desktop and Server Virtualization Center

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts