Link to home
Start Free TrialLog in
Avatar of Collin Mendoza
Collin MendozaFlag for United States of America

asked on

VMWare ESXi Guest CPU

Im trying to understand when I build the VMware Guest server.

If the guest requirement for processor is 1 dual core or 1 quad core,
What do I set for the (number of virtual sockets and number of cores per socket)?

Please advise.
Thank you
Avatar of John
John
Flag of Canada image

I set dual core and 1 CPU in the example above.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Collin Mendoza

ASKER

Andrew, Great info. Thank you.
No problems, if you still need help, related to vCPU (virtual CPUs) in a VM, please ask, because it is a very misunderstood subject.

and often, you may need to allocate as many as 8 vCPUs, for the correct performance, and application.
I know it s bit confusing. so if I understand this...

the requirement is "1 dual core or 1 quad core" for SQL server.

so for my VMware guest, I set the "number of virtual socket" equal to 2(dual) or 4(quad" and the "number of cores per socket" equal to 1.

Is this correct?
Yes, always use Sockets.

Unless you have a license restriction and need to use Cores, that's why it was invented.

It's really not as straight forward as that, unless those requirements are based on virtual requirements, or are just based in the physical world.

Because a Dual Core Physical Processor (bare metal server) may not really equate to a Virtual Machine just with 2 Sockets (vCPUs).

the same is true of a requirement for 4 sockets (vCPUs).

I would recommend, you try 2/4 sockets, check performance, are you experiencing a CPU bottleneck, slowness which can be attributed to CPU, and increase.
Ok. sounds good. Thank you for the feedback.