We help IT Professionals succeed at work.

CPU core and Socket

sara2000
sara2000 asked
on
Experts out there, I have to install a windows 2016 server for SQL apps. I was asked to assign 8 vCPUs to the server.
 I do not know the link which I am following is outdated
https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html
What is the best practice?
1. 1 Socketx * Cores
2. 2x 4Cores
3. 4X 2Cores
I came across with another link, t looks like 1 Socket with 8- Cores,
https://itnext.io/vmware-vsphere-why-checking-numa-configuration-is-so-important-9764c16a7e73hat is the best option?
What is the best practice?
Comment
Watch Question

Sean BravenerSenior Information Technology Consultant
CERTIFIED EXPERT
Awarded 2019
Distinguished Expert 2019

Commented:
a while ago 8x1 was best practice.  now it has gone to the not really mattering as the architecture and software can now help schedule processes.    

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
What is important when you Google, and look at history.....

and more Important is the versions....

So.....Which version of ESXi ?

because without this information BOTH are correct!

Author

Commented:
We have Vmware 6.7 . Dual sockets with 18 core CPUs Dell servers R730.
VMWARE version 5 datasore (vmfs 5).
Windows 2016.
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
So, for later versions of ESXi, you should now be assigning CORES!




I came across with another link, t looks like 1 Socket with 8- Cores,

This is correct.

But it also means you should go through all other VMs on this host and change to Cores as well.

see this

https://blogs.vmware.com/performance/2017/03/virtual-machine-vcpu-and-vnuma-rightsizing-rules-of-thumb.html

Author

Commented:
Thanks, Andrew,.
We have esxi hosts in the cluster and DRS is enabled. Do we have to change on all VMs to be 1 socket and multiple core?
We are only using 40% of the cluster resources at present.
We have plenty of CpUs and men in the cluster.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Since 6.5, it's now recommended to use Cores.

So if you've been assigning sockets.... you need to change over.

So from now when you create VMs use 1 socket x Cores, and as and when slowly change your estate to match at next scheduled downtime/restart/upgrade/patch etc

Did you read the article I posted ?