Computer Technos

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 29 October 2009

Virtualization Best Practices - Faster Processors and Performance

Posted on 15:55 by Unknown
In some cases, the speed of the processors leads to better performance. However, this isn’t always the case. For example, let’s consider a VM created by using a physical-to-virtual conversion. This workload was previously running on an older Pentium 3 Xeon processor at 700MHz and is running a custom line-of-business (LOB) application.
Now that it’s in a VM, will the workload run more quickly? Depending on the type of application, it may not. That doesn’t mean the extra processing power from faster processors goes to waste, because it provides extra headroom for workloads to grow and a resource for other VMs. But you do need to take this fact into account.


CPU-Bound or I/O-Bound Workloads
Not all workloads are capped by the processing power available to the VM. Some workloads, such as a SQL Server, are generally bound to a greater extent by the limits of memory and the disk subsystem than by the processor. In this case, buying a faster processor won’t necessarily provide faster performance to the VMs—use the money you save to invest in memory or a faster storage subsystem. Once the host has been deployed, administrators often use management tools to determine how the host is performing. But because of the virtual nature of the processors, monitoring a virtual system isn’t as simple as looking at the Task Manager.


Perfmon
Traditionally, administrators used Windows Task Manager to get a quick glance at what was happening on the system. However, because of the architecture of Hyper-V, Task
Manager doesn’t show the CPU usage of VMs. Task Manager running in the parent partition has no way of displaying that information; instead, you need to use Perfmon.

Perfmon, short for Performance Monitor, is Microsoft’s tool to examine performance data. This data can be as simple as CPU utilization or as complex as context switches between Ring 0 and Ring 3.

By looking at the Hyper-V performance counters through Perfmon, you can determine if the system has room for more VMs or, conversely, if the system is oversubscribed (too many VMs running on the host).

Using Perfmon to monitor the host is easy. From the Start menu, select Administrative Tools, and then select Reliability And Performance Monitor. Click Performance Monitor in the list on the left.

By default, only one item is tracked in Perfmon: % Processor Time. Unless you’re interested in the processor utilization of the parent partition only, you’ll need to add some counters.

The processor-performance counters refer to the number of logical processors (LPs) in the system. A logical processor is a unit of processing power—for example, if you have a system with a single CPU socket and a single-core, non-hyperthreaded processor, you have one LP. Change that processor to a dual-core processor, and you have two LPs. Adding Hyper-Threading? Make it four logical processors.


To add a performance counter, you click the green + sign or press Ctrl-I. A large number of Hyper-V–related performance counters are available, but we’re interested in a couple in particular:

Hyper-V Hypervisor Virtual Processor, % Total Run Time. Under Instances Of Selected
Object, you’ll see a few options. _Total provides a sum of all the VPs allocated to all running VMs. You can also add individual VPs allocated to a VM.

Hyper-V Hypervisor Root Virtual Processor, % Total Run Time. This is the percentage of the time that the logical processors selected are executing instructions in non Hypervisor–based code in the root/parent partition.

Adding these two values gives you the total CPU utilization of the host executing virtualizationrelated code. The closer the value gets to 100%, the more heavily loaded the system is.

Source of Information : Sybex Windows Server 2008 Hyper-V Insiders Guide to Microsofts Hypervisor
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Windows Server 2008 Hyper-V | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 7 Shortcut Keys
    Longtime users of Windows have probably grown accustomed to navigating around the Windows user interface using the keyboard. This especially...
  • Windows on Mac: Virtualization Solutions
    If you’d prefer to join the ever-increasing ranks of Mac switchers—you traitor, you—you can still run Windows and, more important, Windows a...
  • Customizing Library Folders in Windows 7
    In your library folders, you can customize view options based on the contents. In the toolbar of the Pictures and Music library folders, Win...
  • Windows 7 BitLocker Drive Encryption
    In Windows Vista, you had the BitLocker Drive Encryption feature that allowed you to encrypt the content of entire volumes. In Windows 7, Mi...
  • Using Windows 7’s Performance Options
    While all the performance tools are available individually throughout the system, Windows 7 introduces a nice list of available tools, if yo...
  • Windows 7 - Installing and Configuring a Printer
    If your printer is already installed and operational at this point, you can skip this section and skim ahead for others that may be of inter...
  • Considering Centralized versus Group Sharing
    One of the most important preparation steps for your server is determining how to store the data you create. The two common methods are cent...
  • Berkeley Motes
    The Berkeley motes are a family of embedded sensor nodes sharing roughly the same architecture. Let us take the MICA mote as an example. The...
  • Using Windows 7 Ease of Access Tools
    If you have difficulty using a mouse or typing, have slightly impaired vision, or are deaf or hard of hearing, you can adjust the appearance...
  • Troubleshooting Boot and Startup Problems - Driver Loading in Safe Mode
    How does Windows know which device drivers and services are part of standard and networking-enabled safe mode? The answer lies in the HKLM\S...

Categories

  • Access 2010
  • BlackBerr
  • BlackBerry
  • Computer Science
  • Cyber Security
  • Exchange Server 2010
  • File Utilities
  • Foursquare
  • Google
  • Hardware
  • Internet
  • iPad
  • Linux
  • Lync Server
  • Microsoft Virtualization
  • Mobile Web
  • Networking
  • News
  • Security
  • Server Architectures
  • Smartphone
  • Ubuntu Linux
  • Windows
  • Windows 7
  • Windows Home Server
  • Windows Security
  • Windows Server 2008
  • Windows Server 2008 Hyper-V
  • Windows XP
  • Wireless

Blog Archive

  • ►  2012 (66)
    • ►  August (5)
    • ►  July (9)
    • ►  June (9)
    • ►  May (8)
    • ►  April (9)
    • ►  March (9)
    • ►  February (8)
    • ►  January (9)
  • ►  2011 (85)
    • ►  December (5)
    • ►  November (6)
    • ►  October (7)
    • ►  September (8)
    • ►  August (9)
    • ►  July (9)
    • ►  June (7)
    • ►  May (7)
    • ►  April (4)
    • ►  March (6)
    • ►  February (8)
    • ►  January (9)
  • ►  2010 (230)
    • ►  December (13)
    • ►  November (3)
    • ►  October (2)
    • ►  September (10)
    • ►  August (31)
    • ►  July (32)
    • ►  June (23)
    • ►  May (2)
    • ►  April (21)
    • ►  March (32)
    • ►  February (28)
    • ►  January (33)
  • ▼  2009 (119)
    • ►  December (33)
    • ►  November (31)
    • ▼  October (35)
      • Virtualization Best Practices - Storage: How Many ...
      • Virtualization Best Practices - How Much Memory Is...
      • Virtualization Best Practices - Faster Processors ...
      • Virtualization Best Practices - Choosing a Processor
      • Virtual Machine Settings
      • Managing Windows Server Core
      • Windows Server Core Architecture
      • Hyper-V Software Requirements
      • Hyper-V Requirements
      • Hyper-V Features
      • Hyper-V Architecture - Virtual Machine
      • Hyper-V Architecture - Parent Partition
      • Scenarios for Hyper-V
      • Microsoft’s Approach to Virtualization
      • Working with Windows XP Mode
      • Using Windows XP Applications in the Virtual Envir...
      • Getting Started with Windows XP Mode
      • Introduction to Windows XP Mode for Windows 7
      • Windows 7 Internet Explorer 8 Usability
      • Reading and Subscribing to Feeds in IE8
      • Viewing and Maintaining a History List With Intern...
      • Windows 7 Action Center
      • Using Compatibility View in Internet Explorer 8
      • Getting a Better Understanding of Windows 7 Libraries
      • Browsing Privately in Windows 7
      • Browsing the Web in Windows 7
      • Starting Internet Explorer in Windows 7
      • Using the Windows 7 Ease of Access Center
      • Using Windows 7 Ease of Access Tools
      • Working with Fonts in Windows 7
      • Changing Text Size on the Screen in Windows 7
      • Customizing the Desktop in Windows 7
      • Changing the Desktop Background in Windows 7
      • Sharing Folders or Files with Others in Windows 7
      • Customizing Library Folders in Windows 7
    • ►  September (20)
Powered by Blogger.

About Me

Unknown
View my complete profile