?
Solved

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

Posted on 2011-09-19
7
Medium Priority
?
2,323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 123
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 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
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 use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

762 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