Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

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

0
Los Angeles1
Asked:
Los Angeles1
  • 5
1 Solution
 
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
 
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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:
yes 1 vCPU = 1 Core on the physical processor
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now