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

asked on

VMWare, Number of processors

I have a machine with 2 sockets and 6 cores per socket

The cores are Hyperthreading enabled according to the VMWare Host

I have 2 Windows VM's.  I set them both to 1 soecket and 6 cores to fully utilize the 12 physical cores.

However, when I bring up the VM and look in the Task Mgr, and hit the Performance tab, I see 6 cores.

I expected to see 12 cores because I allocated 6 physcial cores, and each core has 2 threads, so the Task Mgr should show me 12 cores

Am I missing something

How should I diagnose
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

if you want to allocate 12 vCPU in the VM, you need to allocate 12! total


and make sure your OS is licensed to support the number you allocate.
Avatar of Los Angeles1
Los Angeles1

ASKER

I get very confused on this subject

I have 2 sockets at 6 cores per socket, HT enabled

So when I allocate a VM CPU in Edit Settings, if I allocate the following

   Sockets:      1
   Processors:   6

Open in new window


Did I allocate 6 virtual cores, or 6 physical cores ?
the options are Sockets and Cores. (not processors).

1 Socket and 6 Cores is 6 vCPU in the VM.

Virtual Machines use virtual processors (vCPUs).

1 vCPUs = 1 Physical Core on the host (simplified). This is scheduled across all the Cores in the Physical Host, so this may not be the same core, all of the time.

see also here

http://kb.vmware.com/kb/1010184

If you want 12 vCPUs in the VM,

allocate 12 Sockets, 1 Core

or 2 Sockets, 6 Cores!

it still equals 12 vCPUs in the VM!

(it's the same it does not make any performance difference, it's just for licensing, if you have OS or Applications that are Licensed per Core)
SOLUTION
Avatar of coolsport00
coolsport00
Flag of United States of America 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
Yes, I understand that I have

   2 Sockets
   6 cores per socket

Open in new window


and I also understand that therefore I have

   24 Logical Processors

Open in new window


However, what I am having difficulty understanding is when I go to the

   VM->EditSettings->CPU

Open in new window


and see the following:

   Number of Virtual Sockets:   1

   Number of cores per socket:  6

   Total number of cores:       6

Open in new window


With this definition, am I using 6 Logical Processors or 12 Logical Processors
ASKER CERTIFIED SOLUTION
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