Solved

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

Posted on 2014-01-24
5
358 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 10

Expert Comment

by:Subhashish Laha
ID: 39806219
0
 
LVL 11

Assisted Solution

by:Alex Green
Alex Green earned 125 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 125 total points
ID: 39806223
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 125 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 125 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vcenter 8 102
VMWare 5, Add Host to Datastore 10 107
Veeam Replication vs. SRM for DR scenario ? 6 217
Migrate vms from vss to vds 18 99
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
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.
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…

739 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