Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How many processors can I assign to a virtual guest in Microsoft Hyper-V Server 2008 R2

Posted on 2010-01-05
Medium Priority
Last Modified: 2013-12-10
I am trying to get a definitive answer on how many processors I can assign to a virtual guest in Hyper-V Server 2008 R2.  I have read where Hyper-V will support up to 64 logical processors on the host box.  Does anyone have any insight into this for the guests?

Question by:Netopsprime

Expert Comment

ID: 26185939
This article may help you, not sure about max. processor per guest VM , i can find that out for you. i am more into VMware than Hyper V.'

If you have ever experimented with the various settings in Hyper-V, then you probably know that Hyper-V offers a lot of flexibility when it comes to allocating CPU resources to virtual machines. In a way this is both good and bad. It is good, because Hyper-V allows you to achieve granular control over the allocation of system resources. The bad part is that it is possible to allocate CPU resources in a way that starves the server of processing power.
Virtual Processor Mapping
One of the reasons why there is so much flexibility in allocating CPU resources is that every version of Windows that has been built on the Windows NT kernel (or some variation of it) supports at least two processors. Every computer being manufactured today includes multiple CPU cores, and in many cases multiple CPUs, each of which contain multiple CPU cores.
What this means is that you have a lot of flexibility in deciding how many CPU cores you want to allocate to each guest operating system. If you look at Figure A, you can see that Hyper-V allows you to decide how many virtual processors you want to assign to a guest operating system. Before you start doing that though, you need to understand that when you assign CPU resources to a virtual machine, you're not assigning physical CPU cores but rather virtual processors.
Hyper-V allows you to decide how many virtual processors you want to assign to a guest operating system.
A virtual processor does not necessarily have to correspond to a physical processor or to a physical CPU core. Microsoft recommends that you maintain a one-to-one ratio of virtual processors to physical CPU cores. On top of that, I recommend that you reserve at least one CPU core for the host operating system. This means that if you stick to the recommendation, a server with four CPU cores could host up to three virtual machines, with one virtual processor each (because one cores being used by the host operating system). You can also host two virtual machines, one with two virtual processors in one with one virtual processor.

Expert Comment

ID: 26187160
4 Processors max...


I went ahead and tested it to be sure on both Hyper-V console and VMM using 32 bit and 64 bit OS's inclding 2008 R2. the max was 4 processors.


Author Comment

ID: 26187290
Follow-up question - based on your response (max 4 processors)  does that mean if I have 4 processors - 4 cores each for a total of 16 cores - that i could assign 8 or 10 or 12 or 15 cores to a single VM?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 26187412
Nope. 4 logical cores per VM.

My test was done on dual Quad core Intel x5550 nahelam procs with Hyperthreading (16 cores presented to the host total). Still only 4 processors per VM...

Accepted Solution

Kevin Litman earned 2000 total points
ID: 26189899
4 on the guest.

Expert Comment

by:Kevin Litman
ID: 26189954
Forgot the link. Scroll to the bottom. http://www.microsoft.com/hyper-v-server/en/us/overview.aspx

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
pc, laptop  monitor connection configurations
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

577 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