Solved

Difference between 2 vCPU sockets and 1 vCPU sockets w/ 2 cores

Posted on 2011-09-19
7
2,287 Views
Last Modified: 2012-05-12
In vsphere 5, does a windows guest think there is any difference if you assign 2 vCPU sockets with 1 core, than if you assigned 1 vCPU socket with 2 cores? With vsphere 5 you can now separate out the cores. Thanks
0
Comment
Question by:fina27
  • 5
  • 2
7 Comments
 
LVL 120
ID: 36560617
1 vCPU = 1 Core on the physical processor (but it could be a different core due to the scheduler)
0
 

Author Comment

by:fina27
ID: 36560646
But the guest still thinks its 2 cores regardless of either config right? So does it technically not matter?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 36560749
The guest has no knowledge of what a core is. To the guest it's a vCPU. The guest thinks it's 2 vCPU, which may be the same physical Cores, unless you physically allocate them.

Personally I would leave the settings alone, unless you have a real reason to allocate specific cores to a VM, and let the Hypervisor complete the scheduling for the VM.

With vsphere 5 you can now separate out the cores

You've always been able to do it, but now there is a new GUI, that may make it easier, rather than selecting Advanced CPU Affinity Options in vSphere 4.0.
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 120
ID: 36560776
I've not seen the ESX 5.0 whitepaper yet, but this is for 4.1.

check it out

VMware vSphere 4: The CPU Scheduler in VMware ESX 4.1
http://www.vmware.com/files/pdf/techpaper/VMW_vSphere41_cpu_schedule_ESX.pdf
0
 

Author Comment

by:fina27
ID: 36560812
What do you mean by leave the settings alone? So if i was building a new windows server and wanted to give it 3 vCPU's, would I select 3 virtual sockets and 1 core each or 1 virtual socket and 3 cores?

If your answer is it depends, then what is it depending on? Thanks
0
 
LVL 120
ID: 36560897
Just allocate 3 vCPUs, and let the hypervisor schedule the vCPU across the total cores in the phsyical host.

Also remember that adding additional vCPU can also slow a virtual machine down to due the vSMP scheduling.
0
 
LVL 120
ID: 36561014
Using multicore virtual CPUs can be useful when you run operating systems or applications that can take advantage of only a limited number of CPU sockets.

Chapter 4 of the Resource Management Guide explains in more details

http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-resource-management-guide.pdf
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

726 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