I want to get the ratio of vCPU:pCPU, For pCPU, do i need to taking in to account Hyperthread(Logical Processors)? Or just the Physical CPU numbers?
You should consider pCPUs (including Cores) only. Hyper-threading does not actually double the available pCPU. Hyper-threading works by providing a second execution thread to a processor core. When one thread is idle or waiting, the other thread can execute instructions. This can increase efficiency if there is enough CPU Idle time to provide for scheduling two threads, but in practice performance increases are up to a maximum of 30% and are strongly application dependent.
You have only consider the physical core. As, the hyper threads will not give double the performance..
Hello,
Refer the below article...how ESXi CPU and vCPU works...
How to decide vCPU to CPU ratio for your VMware environment?
You should consider pCPUs (including Cores) only. Hyper-threading does not actually double the available pCPU. Hyper-threading works by providing a second execution thread to a processor core. When one thread is idle or waiting, the other thread can execute instructions. This can increase efficiency if there is enough CPU Idle time to provide for scheduling two threads, but in practice performance increases are up to a maximum of 30% and are strongly application dependent.