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:
- Q. Can I set processor affinity with Hyper-V?
- Q. How do I set a CPU reservation for a Hyper-V virtual machine (VM)?
- Understanding Microsoft’s Virtualization Technologies
- Q. I'm performing a Live Migration or vMotion operation. During the migration, I lose a couple of ping packets. Is this normal?
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.