Solved

VMWare and cores

Posted on 2013-11-05
5
293 Views
Last Modified: 2013-11-05
I realize I am slow, but I need to ask this another way

Assuming I have a 4 core Intel with HT machine running, and I do the following

  - Click on VM->Edit Seetings-Hardware tab->CPUs

  - Number of virtual sockets:      1

  - Number of cores per socket:     2

Open in new window


Does this mean I am using 2 of the 4 physical cores available in my system
0
Comment
Question by:Los Angeles1
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Nick Rhode earned 200 total points
ID: 39625516
Hyperthreading splits the cores so it works in this order.

Processor Socket = 1
Cores Per Socket = 4
Logical Processors (with hyperthreading) = 16

Without hyperthreading it would be 8 logical processors
0
 
LVL 31

Assisted Solution

by:Frosty555
Frosty555 earned 300 total points
ID: 39625518
It means that your virtual machine will be presented with two CPU cores, and will be able to take advantage of the benefits of having a multi-core system.

At the physical level, the hypervisor will decide how the virtual resources are served by the physical hardware. Very likely yes, two cores on your physical machine will work to serve the CPU needs of the virtual machine.

However, this doesn't mean you have "used up" the physical cores in the system. You can have many virtual machines sharing the physical CPU cores. Cycles on the physical cores that wasn't used by Virtual Machine A will be consumed by Virtual Machine B.

So long as the virtual machines do not cumulatively consume more CPU resources than the physical hypervisor can deliver, you're fine.
0
 
LVL 6

Expert Comment

by:insidetech
ID: 39625537
I realize that this is somewhat confusing....
HT does not necessarily mean that the cores are X 2...

The HT intends to run two code pipelines in parallel, but not always. In non virtualized world the OS will report that is "sees double", but in reality you are not getting 2x performance all the time.

Now, the VMware will take all this in to an account and think of it as putting the sockets, cores and HT in a "blender". What comes out is computing resource of sort that you draw from with your VM's in a form of Virtual CPU's. For all practical purposes they represent how much computing resources you draw from the master CPU pool.
These Virtual CPU's no longer represent 1:1 relationship with the physical CPU's and so your VM OS will not recognize the processors as ones capable of HT.
By assigning more processors to your VM OS you are simply assigning more computational resources for that specific VM.
0
 
LVL 6

Expert Comment

by:insidetech
ID: 39625552
Seriously?

1 X 4 with HT == 16 ????
0
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39625697
ooops i mean 8.  Haha.  Sorry all the servers I worked on have at least 2 socket quads.  Just a slip of the brain.

The above math would be

Processor Socket = 1
Cores Per Socket = 4
Logical Processors (with hyperthreading) = 8
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

773 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