VMware Cloud Community
Ke1th
Contributor
Contributor
Jump to solution

How to calculate vCPU:pCPU ratio

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?

0 Kudos
1 Solution

Accepted Solutions
vijayrana968
Virtuoso
Virtuoso
Jump to solution

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.

View solution in original post

0 Kudos
3 Replies
senthilkumarms8
Enthusiast
Enthusiast
Jump to solution

You have only consider the physical core. As, the hyper threads will not give double the performance..

0 Kudos
vasan22in
Enthusiast
Enthusiast
Jump to solution

Hello,

Refer the below article...how ESXi CPU and vCPU works...

How to decide vCPU to CPU ratio for your VMware environment?

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Thanks, Srini
0 Kudos
vijayrana968
Virtuoso
Virtuoso
Jump to solution

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.

0 Kudos