Solved

Hyper-V and Processor utilisation

Posted on 2013-01-17
2
764 Views
Last Modified: 2014-11-12
Hi guys,

Maybe a simple question but...
Got a client who has 2 x Xeon processors. They have Hyper-V on server 2008 R2 and 3 virtual guests (1 x SBS 2011, 2 x Server 2008 R2).

Windows detects 2 x CPU. When I check the properties of The VM, is it right to only see 4 logical processors? If this is correct, does that just mean that it will use 4 of the 8 cores that the server has installed? Or have I got that wrong.

Any help would be great - thanks.
0
Comment
Question by:Talds_Alouds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 38790498
Could help if you posted screen shots so I know exactly what you're referring to, but in general, the HOST OS (Hyper-V Server 2008 R2 or Windows Server 2008 R2 with Hyper-V role will use ALL CPUs*.  When you assign CPUs to the VMs, it does not distinguish between CORES and Hyperthreading virtual CPUs - a CPU is a CPU to it.  So if you assign 4 CPUs to a VM on a server that recognizes 2 Quad Core processors with HyperThreading enabled (which means 16 total CPUs if you look at Task Manager on the host), then the VM will only use 4 CPUs WORTH of resources.  It will be able to execute UP TO 4 threads at once.

In some respects you can consider each CPU to be a thread that can be executed.  A dual Quad Core with Hyper-Threading supports up to 16 simultaneous threads.  Hyper-V in 2008 R2 only supports 4 virtual CPUs per VM.  This means with 3 VMs, if all 3 have been allocated 4 virtual CPUs, then 4 CPUs are left potentially "unassigned" and are otherwise free to the host server.

NOTE: CPU "assignment" is not actually "assigning" the CPU.  It's more like granting the VM the ability to run a thread. It's NOT EXCLUSIVE to that VM. When you look at most systems, the CPUs are VERY idle most of the time.  Hence a single Quad core CPU could be assigned to 10 VMs with each having 4 CPUs alloted to them and still perform just fine.
0
 

Author Comment

by:Talds_Alouds
ID: 38791830
Perfect!

Thanks mate. Sorry I meant to refer to the VM's instead of VM. So essentially, I can set all 3 VMs to 4 logical processors and I'll still have some logical CPUs (or cores) left over.

Thanks
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question