Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VMWare and cores

Posted on 2013-11-05
5
Medium Priority
?
300 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 800 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 1200 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
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…

916 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