Avatar of Los Angeles1
Los Angeles1
 asked on

VMWare, changing CPUs

I have a 2 socket Intel machine with 8 cores per socket

For experimentation purposes, I want to run the most cores as possible on the VM

The Edit Settings of my VM under CPUs has the following CPUs set

Number of virtual sockets:     1

Number of cores per socket:    1

Total number of cores:         1

Open in new window


How can I set this to configure to push the maximum amount of cores possible to the VM

Does a single vCPU or core have to be left for the hypervisor ?
Microsoft ApplicationsVMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

The Maximum number of vCPUs you can add to a VM, is dependant upon your license.

The Max could be 8 CPUs.

But you need to make sure your host OS is licensed to support those CPUs.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

See here for Processor Guides in Windows OS

http://support.microsoft.com/kb/888732
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

What vSphere license do you have?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

the maximum number of CPUs you will be able to allocate based on licensing is 8. Unless you have Enterprise Plus, and you could allocate 32.
Los Angeles1

ASKER
So if I get the Enterprise plus, Could I assign 16 cores, or would I have to save one for the Hypervisor
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

you could assign 32 CPUs to a VM.

But you still need to have the correct Windows license, for Windows to be able to use them all, otherwise the processors will NOT be used.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

the hypervisor reserves processor usage for itself. so you will be able to allocate all.
Los Angeles1

ASKER
you could assign 32 CPUs to a VM.

Open in new window


So On a 16 core machine, I can allocate 32 vCPU

Is that because Intel is double threaded?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

that would depend on how many physical cores, physical processors, hyperthreading you havevavailable on the physical host.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Los Angeles1

ASKER
On a 2 socket, 16 core (8 core per socket)  machine with Hyper-threading enabled, how many vCPU's can I allocate
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

in the summary page what does it state?

?? x CPUs?

and does your VM Guest OS support 32 processors?
Los Angeles1

ASKER
The Host summary says I have 16 CPUS, and the guest OS (RHEL) can support 16 or 32 Cores)

So does that mean the most I can assign to this machine is 16 vCPU (or can I assign 32 since the cores are double threaded)
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

16 vCPUs
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.