VMWare, Number of processors

Posted on 2012-09-07
Last Modified: 2012-09-10
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
Question by:Los Angeles1
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    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.

    Author Comment

    by:Los Angeles1
    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 ?
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    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

    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)
    LVL 40

    Assisted Solution

    Actually, if you have 2 sockets, and 6 cores per socket, and have hyperthreading enabled in your BIOS, you would have 24 total "logical" processors:

    1CPU socket x 6cores = 6 x 2 sockets = 12 logical x 2 for Hyperthreading = 24 cores.

    Keep in mind sockets is an actual physical CPU and you can think of a "core" as a logical CPU stacked on top of the physical CPU.

    Hope that helps.


    Author Comment

    by:Los Angeles1
    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


    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
    LVL 116

    Accepted Solution

    6 - Cores on the physical host.

    6 vCPUs assigned to the Guest OS which uses 6 - Cores on the physical host.

    which would be the same as

    6 Sockets
    1 Core

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    The High Availability (HA) feature in vSphere 4.1 allows a group of ESX/ESXi hosts in a cluster to identify individual host failures and thereby provide for higher availability of hosted VMs.  HA will restart VMs which were running on a failed host;…
    In this article, I am going to expose some of the hidden, undocumented, unsupported features and functions of the VMware vSphere Hypervisor (ESXi). VMware vSphere ESXi 4.x, and ESXi 5.0 does not officially support Raw Disk Mapping of Local Stora…
    Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
    Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now