Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

VMWare, processors

I know I have asked this before, but I need to clarify

The Summary page of my Host reports the following:

CPU Cores:                     16

Processor Sockets:              2
Cores per Socket:               8
Logical Processors:            32
Hyperthreading                 Active

Open in new window



When I allocate vCPU to my VM, I have the following options:

Number of virtual Sockets      1

Number of cores per socets     1

Total number of sockets:       1

Open in new window


So if I want my VM to fully utilize the machine, I would perform the following even though the number of Logical Processors on the host is 32.  Is this correct ?


Number of virtual Sockets      2

Number of cores per socets     8

Total number of sockets:      16

Open in new window

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

You can configure a virtual machine that runs on an ESXi host to have up to 32 virtual CPUs.

Can your Virtual Machine support 32 vCPUs?

Normally you would add 1 vCPU to the virtual machine, and test, if the performance is not good enough for you would add another vCPU.

Just because you can add multiple vCPUs to a VM, does not mean that you have to.

Adding many vCPU can be detrimental to the performance of a VM, because of vSMP.
what is the maximum number of sockets you can add on your host?

if you want to FULLY utilize ALL processors, add them ALL!
Like hanccocka said doing this is a NO GO without proper testing as adding more vcpu's to a vm will not increase the performance. Especially if you have more vm's on the same machines.

So for theoratical purpose. I never combined this all as i never had the need for more then 4 vcpu's per vm.
Avatar of Los Angeles1
Los Angeles1

ASKER

Yes, I get that this is a no go, but I am trying to get a handle on VMWare, and what a vCPU is

Is a vCPU essentially 1 core

Since the machine has 2 soeckets, 8 cores per socket, hyperthreading enabled, and 32 LOGICAL processors, if I want to max out the resources do I assign 16 vCPU or 32 vCPU
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
if you have 16 cores = 16 vCPUs

but your VMware license dictates how many you can use, and anything less than Enterprise is 8.