Dear Friends,
In my environment configured more vCpu like 32,16,12,8,4 core
please tell me socket the above mentioned core for best practices for core vs socket
Regards,
Johnson.s
Does this help your query.
vCPU configuration. Performance impact between virtual sockets and virtual cores? - frankdenneman.nl
if you found my answer to be useful, feel free to mark it as Helpful or Correct.
The key thing as per frank's article is
Well there is a difference and it has to do with the Hot-Add CPU feature. When enabling the option CPU Hot Plug you can only increase the virtual socket count.
Also I have read that vmware recommends using 1 core per socket until and unless there is specific requirement from the guest
futher to all that has already been mentioned, using socket count rather than CPU can reduce license count.
Socket mean physical CPU, each physical CPU have core (8,16,32,64), core is the logical CPU within physical CPU.
License will be applicable for number of socket (Physical CPU).
The below mentioned vCpu configuration is recommendable ?
Please advice
vCPUs | Sockets | Cores p/s | vCPUs | Sockets | Cores p/s | |
6 | 6 | 1 | 6 | 6 | 1 | |
6 | 6 | 1 | 6 | 6 | 1 | |
8 | 8 | 1 | 8 | 8 | 1 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 6 | 6 | 1 | |
8 | 8 | 1 | 6 | 6 | 1 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 6 | 6 | 1 | |
8 | 8 | 1 | 6 | 6 | 1 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 8 | 1 | 8 | |
16 | 8 | 2 | 8 | 8 | 1 | |
8 | 8 | 1 | 16 | 8 | 2 | |
8 | 8 | 1 | 8 | 4 | 2 | |
8 | 8 | 1 | 6 | 6 | 1 | |
6 | 6 | 1 | ||||
16 | 2 | 8 | ||||
8 | 8 | 1 | ||||
8 | 4 | 2 | ||||
8 | 8 | 1 | ||||
8 | 4 | 2 | ||||
8 | 4 | 2 | ||||
8 | 8 | 1 | ||||
8 | 8 | 1 | ||||
12 | 4 | 3 |
there are instances where you have allocated 2 cores per socket and even 3 cores per socket.
If that is not a specific guest OS requirement, I suggest you change it to 1 core per socket and increase the number of virtual sockets
examples:
16 | 8 | 2 |
12 | 4 | 3 |
I think lot is already explained in details but still I can give you little more statics.
The socket is physical connection of processor on motherboard, core is virtual processor on each socket
1 socket with 1 core = 1vCPU
1 socket with 2 core= 2vCPU
and so on ....
NOw
2 socket with 1 core= 2vCPU
2 socket with 2 core= 4vCPU
and so on ..
Now if your processor has Hype rthreading and is enabled then all vCPU above will be multiplied by 2
1 socket with 1 core (hyper threading enabled)= 2vCPU
1 socket with 2 core (hyper threading enabled)= 4vCPU
and so on ....
NOw
2 socket with 1 core (hyper threading enabled)= 4vCPU
2 socket with 2 core(hyper threading enabled)= 8vCPU
and so on ..
You may not find a single socket single core processor with hyper threading feature but just take above statics for explaining purpose.