VMWare virttual and cores setup

I have VM platform operated by VMWare vCenter Server 5.5.0, build 4180647, hosted by ESXi

physical host server by HP Proliant ML 350p Gen8, CPU E5-2620@2.00Ghz,  2 Processor Socket CPU, 6 cores per socket

When create new VM with OS Windows server 2012. I want use maxmium resource for host.

from VM configuration menu,

What / how "Number of virtual sockets" and "Number of cores per socket " should set to ?
lam samuelAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ganesh Kumar ASr Infrastructure SpecialistCommented:
It depends how many core you want to assign for the virtual machines and how many VM you want to use. Here is an article from vmware for cpu and socket allocation. https://kb.vmware.com/s/article/1010184?lang=en_US

If you still have confusion about the VMware cpu allocation please read this article which contains table explains the cores and physical cpu.

Lee W, MVPTechnology and Business Process AdvisorCommented:
You would be VERY UNWISE if you start with more than 2 vCPU.  The way the Hypervisor allocates CPU resources, overcommitting the CPUs to a VM can cause the VM's performance to suffer.

I would STRONGLY suggest you read over this article:
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You want to use ALL the resources CPU and Memory for your VM ?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

lam samuelAuthor Commented:
my confuse tow items;

Such as my physical HP  ML350p CPU is 2 . Could I assign more than 2 virtual sockets? like assign 24 virtual sockets during Windows server 2012 VM(It current allow me to select this 24 vCPU). If I do that.  It is actually get 24 vCPU to support this VM operation?

Moreover, my HP ML350p CPU cores is 6.  it can allow me to assign 12 cores max. If I assign 12 cores, it can fully apply this HP ML350p available cores (2CPU x6 cores) ?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The Answer is yes - if you really want to.

But if you want to give this single VM, all the resources, why use a HYpervisor, and make a virtual server.

You might as well install the OS on bare metal, and not use ESXi.
lam samuelAuthor Commented:
Hi, Andrew

Maybe I mislead you.

My question is, when my physical HP ML350p, 2 x CPU and 6 cores per  CPU.

I'm confused my vSphere allow me to set 24 virtual sockets MAX when apply Windows Server 2012 VM.  However, it actually available is 2vCPU. The number of available "cores per CPU" is 6 cores. But, it show available is 12 cores per CPU.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Hyperthreading is enabled.

So therefore you have access to 2 x 6 x 2... = 24 Cores to set in the VM.
lam samuelAuthor Commented:
As you mentioned have any different on VM performance when set to vcpu x2 x 12 = 24 ores or  1 vcpu x 24 cores?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lam samuelAuthor Commented:
Great info and detail. Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.