Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hyper-V and Processor utilisation

Posted on 2013-01-17
2
Medium Priority
?
792 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
2 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses

783 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