Solved

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

Posted on 2011-09-19
7
2,250 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 117
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

707 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

15 Experts available now in Live!

Get 1:1 Help Now