Q. If I have a virtualization host that has multi-core CPUs and assign a virtual machine (VM) a single processor, does it have access to all of the cores in the processor?

A. This question has come up a number of times recently, so I thought it was worth straightening out. In your virtualization host (VMware or Hyper-V), you assign a number of virtual processors to each VM. Each virtual processor is equivalent to a core on a physical processor. I say equivalent, because your VM doesn't always map to the same physical core—it's just assured a core's worth of performance.

Note that a virtual processor is a core and not a physical CPU. If I assign a VM a single virtual CPU and my physical processor has four cores, the VM can only access one of the cores of the processor. If I assigned the VM four virtual processors, it could access all four physical cores on the processor.

If you have a quad processor box and each processor has four cores, you can't assign a VM four virtual processors and expect it to be able to access all 16 available cores—it would just see four cores. You can confirm this if you look as Task Manager within the VM.

Related Reading:


Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

Discuss this Article 1

Dinamb
on Feb 28, 2010
Good to know. Thanks!

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.