You can create a VM with number of vCPU equal to number of logical processors, but I will recommend you create a VM with no more than number of pphysical cores, take a look here: Hyper-Threading Gotcha with Virtual Machine vCPU Sizing - Wahl Network---
Senior Infrastructure Specialist
Thanks for the reply and agree with that and won't be creating more vCPU's than physical cores but what I want to understand is how the VM is scheduled across those cores, does it have to wait for 8 physical cores to be available before it is scheduled or can it be across 4 physical cores and 4 logical cores?
A VM can be created with maximum of 64vCPUs. In your case you have 2 x quad core processor = 8 cores and if hyper threading is enabled you will get = 16 cores. you can configure you Virtual machine with more than 16 processors. The CPU is schedule to all the VMs. If more thread is available your vm will get more threads. What ever available CPU's only be allocated to your vm even if it has more vCPUs.