VMware Cloud Community
GnVm
Enthusiast
Enthusiast

CPU per host, logical CPU per host and virtual CPU per core

Hi,

Please let me know the differences among virtual CPU per host, logical CPU per host and virtual CPU per core

Regards

GNS

0 Kudos
2 Replies
hussainbte
Expert
Expert

virtual CPU per host:Sum of all the vCPUs assigned to VMs running on a particular host. example: 10 VMs on the host with  5 vCPU each = 50 vCPU

logical CPU per host: Total CPU cores available on the ESX host along with the hyper-threaded ones. example: 6 cores/ socket 2 socket hyper-threading enabled server will have : 24 logical CPUs.

virtual CPU per core: for the above examples total vCPU/core is 50/12

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
pradeepjigalur
Enthusiast
Enthusiast

This is how the CPU architecture on ESXi will be

From high level to low level

SOCKET -> CORE -> vCPU

Lets assume that an  ESXi has 2 sockets and each socket has 4 cores then

a.virtual CPU per core

i. Hyper threading Enabled:  2

ii Hyper threading Disabled: 1

b. logical CPU per host and virtual CPU per host are same:

i. Hyper threading Enabled:  No. of socket * no of core * 2

                                        so in this example: 2*4*2 =16

i. Hyper threading Disabled:  No. of socket * no of core * 1

                                        so in this example: 2*4*1 =16



please find the image img.jpg for better understanding.


In the image the scenario is one where in hyper threading is enabled

img.jpg


0 Kudos