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

Los Angeles1Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
yes 1 vCPU = 1 Core on the physical processor
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what is the maximum number of sockets you can add on your host?

if you want to FULLY utilize ALL processors, add them ALL!
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
EvertGCommented:
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.
0
 
Los Angeles1Author Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you have 32 Cores available = 32 vCPUs
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you have 16 cores = 16 vCPUs

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

From novice to tech pro — start learning today.