Can virtual processors be shared among several Hyper-V virtual machines?

I have a Hyper-V base server that has a total of 24 processors.

Is it possible to assign more than 24 total virtual processors among the Hyper-V virtual machines?

In other words, can the virtual machines share virtual processors?
IT GuyNetwork EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes!

That’s how a hypervisor works.

Virtual machines workloads are scheduled across the cores in the host CPU

So you could have 30-40 VMs all using a single socket eg 1 vCPU
IT GuyNetwork EngineerAuthor Commented:
Is the same true with the latest versions of VMware?
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
I have two very thorough EE articles on all things Hyper-V:

Some Hyper-V Hardware and Software Best Practices
Practical Hyper-V Performance Expectations

The number of vCPUs a VM is eligible to have is based on the number of threads a physical set of CPUs can process. With Hyper-Threading the number is double the physical core count. My articles explain how the physical CPU pipeline works with vCPU threads with examples. Please check them out.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes ALL Type 1 hypervisor operate the same including ESXi
Cliff GaliherCommented:
I thunk there is a terminologies issue here. A hyoervisor can slice up CPU cycles so there can be more vCPUs than there are physical CPUs.  So yes, VMs can share processors.

However, as worded, they are NOT sharing virtual processors. The VMs have virtual processors, and they are... By definition... Exclusive to that VM. The virtual processor is NOT being shared. But the virtual processor may be sharing a physical processor with other VMs. Virtual processors are not a 1:1 match to physical processors.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.