VMware Cloud Community
JohnsVCP5
Enthusiast
Enthusiast

Different between core & socket

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

9 Replies
admin
Immortal
Immortal

0 Kudos
hussainbte
Expert
Expert

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

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

futher to all that has already been mentioned,  using socket count rather than CPU can reduce  license count.

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
0 Kudos
NagangoudaPatil
Enthusiast
Enthusiast

Socket mean physical CPU, each physical CPU have core (8,16,32,64), core is the logical CPU within physical CPU.

NagangoudaPatil
Enthusiast
Enthusiast

License will be applicable for number of socket (Physical CPU).

0 Kudos
JohnsVCP5
Enthusiast
Enthusiast

The below mentioned vCpu configuration is recommendable ? 

Please advice

vCPUsSocketsCores p/svCPUsSocketsCores p/s
661661
661661
881881
881842
881842
881661
881661
881842
881842
881661
881661
881842
881818
1682881
8811682
881842
881661
661
1628
881
842
881
842
842
881
881
1243
0 Kudos
JohnsVCP5
Enthusiast
Enthusiast

The below mentioned vCpu configuration is recommendable ?

Please advice

vCPUsSocketsCores p/svCPUsSocketsCores p/s
661661
661661
881881
881842
881842
881661
881661
881842
881842
881661
881661
881842
881818
1682881
8811682
881842
881661
661
1628
881
842
881
842
842
881
881
1243

Like (0) Helpful ReplyActions

0 Kudos
hussainbte
Expert
Expert

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:

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

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.

Cheers!
Rajeev
0 Kudos