Solved

VMWare and cores

Posted on 2013-11-05
5
292 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

939 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

10 Experts available now in Live!

Get 1:1 Help Now