?
Solved

What do choose: 1 vCPU with 4 cores or 2 vCPUs with 2 cores?

Posted on 2014-01-24
5
Medium Priority
?
364 Views
Last Modified: 2014-01-24
When would I choose the one and when the other? Thank you!
0
Comment
Question by:Xeronimo
[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 Comments
 
LVL 13

Assisted Solution

by:Alex Green
Alex Green earned 500 total points
ID: 39806220
The only difference is down to licensing as far as I'm aware, if you take SQL2012 (just an example) and you get your licensing you are licensed for standard I think it can use either 1 socket or 4 cores. If you had 4 sockets each with 1 core it wouldn't use all of them.

It also depends on the application, you may find that you get better performance with more sockets and less cores

See here for example

https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html
0
 
LVL 10

Assisted Solution

by:Subhashish Laha
Subhashish Laha earned 500 total points
ID: 39806223
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39806232
if you have specific licensing needs, you would select Cores.

as for performance the same.
0
 
LVL 23

Assisted Solution

by:Mysidia
Mysidia earned 500 total points
ID: 39806268
In the vast majority of cases:  2 vCPUs with 1 core, or  1  vCPU with 1 Core.
In most cases, no more than the very top 5% of the virtual machines in an environment should be assigned more than 2 total virtual CPUs, or more than 2 virtual cores.


From the above two options,  4 vCPUs with 1 core, would ordinarily be preferred, as it is immediately obvious how many scheduling threads the VM has been assigned.

The above two are identical, as far the hypervisor is concerned, and the VM with 4 vCPUs with 1 core and  2 vCPUs with 2 Cores would be scheduled identically --- therefore, the performance characteristics would be identical,  Unless the guest operating system or application Detects the difference, and for some unusual reason decides to artificially treat the configurations differently;  it changes what the guest operating system will be told the hardware is, only.

(Software that is licensed for  unlimited Cores but 1 vCPU,  might refuse to run on a second vCPU, for example --- and artificially reduce its performance;    other applications might refuse to start in that scenario.)


The option of specifying multiple "cores" is provided to assist with software that licenses differently based on number of CPU sockets versus cores;  before the option of setting multiple cores on a vCPU, even if your physical server had a single core 8 proc,  all CPUs would be presented to the guest operating system as separate sockets.
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

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

764 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