Co-Relation between vCPU & Server cores

Hi.

Can some one please explain the relationship between Server cores & vCPUs.

The servers which we use for virtualizaton are Dual core or Quad core or 2x Quad Core.

When we create a VM on the Hypervisor, it asks for vCPU.

How do we best optimally use the hardware.

For example, if a server requires Quad core processor & if i have to virtualize the server, how many vCPUs do i allcate so as to not to impact the performance.

Is there any relationship between them?

Regards,

Rohan
Rohan_SingnapurkarAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
Each Core is a CPU.  Virtualization doesn't provide multiple cores to the VMs, it sees them as individual CPUs.  So if you have a server/app that wants 4 CPUs (or a quad core), you have to assign 4 cores.

Put another way, a multi-Core processor is really just one "chip" with multiple CPUs on it.  So Virtualizations products should allow you to assign up to the number of cores you have (viewing each core as a CPU)
0
 
Rohan_SingnapurkarAuthor Commented:
can you please elaborate on the same by providing one example.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I have provided two.  If you don't understand what I'm saying, please clarify what you find unclear and I can try to elaborate on that.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Rohan_SingnapurkarAuthor Commented:
Does this mean that in Virtualization, each core is treated as a CPU. If so then wot is the co relation between a CPU & a vCPU.

For example an Hyper V supports 6 - 8 VMs per core. Does this mean that 1 CPU = 8vCPU.

Also if I have to create a server which in a physical environment requires Quad core, should i then be assigning 32 vCPUs to the Server as we cannot assign CPUs in a virtual environment.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
> Does this mean that in Virtualization, each core is treated as a CPU.
My response started with "Each Core is a CPU."

you seem to be thinking of the "chip" installed in the computer as the CPU.  It's not.  It's more of an "add-in" card that contains 2, 3, 4, 6 or more CPUs - these are generally referred to as "cores".

a vCPU is a virtual CPU - a single virtual core.

Total Physical Cores = Total Virtual CPUs
0
 
ACourvoisierCommented:
Hi,

A large explanation there, in english. Very well explained (but I don't access to the images):

http://complaintsincorporated.com/2011/02/21/vcpu-pcpu-lcpu-ht-and-you/

of 21 feb. 2011.

In matter, I understand that VMware recommanded to allow 4 vCPU max per core.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.