Solved

Physical resource vs Virtual resource

Posted on 2011-09-16
4
381 Views
Last Modified: 2012-06-27
Hi EE,

When you add or allocated addition CPU or RAM from the virtual guest server, is that equavalent to adding extra physical CPU or RAM in the physical environment.

What I noticed for instance particularly in VMWare, even though I have only dual core CPU on the vmware host server, I can still create multiple vmware guest servers and allocate two virtual CPUs to several of my virtual guest servers.

If that is the case, having only dual core CPU (physical) on the vmware host server, how is it possible that you can allocate more virtual CPUs to several vmware guest servers when you only have 2 physical CPU?

I thought you can only allocate CPU or RAM based from your available physical resource?

Appreciate your detail explanation?
0
Comment
Question by:mcse2007
  • 2
  • 2
4 Comments
 
LVL 118
ID: 36551908
When you add or allocated addition CPU or RAM from the virtual guest server, is that equavalent to adding extra physical CPU or RAM in the physical environment.

Yes, it is, but one of the benefits with VMware, is you can overcommitt memory, which is adding memory you do not physical have.

vCPU:- The sophiscated VMware Hypervisor - time slices or schedules the vCPU resource, so it is not a one to one relationship with the number of processors or cores.
0
 
LVL 7

Author Comment

by:mcse2007
ID: 36552017
Hi hanccocka,

Regarding " time slices or schedules the vCPU resource", is that means, the VMware hypervisor does joggling of CPU resources from one vm guest server to then allocates resources to another vm guest server when needed?

For instance, the vmware host server has 2 physical memory allocated and it is hosting 4 virtual guest servers, each vm guest server is allocated 1 vcpu...totalling 4 vcpus all together. Any vm guest servers that on idle mode, the hypervisor allocates any unuse resources to vm guest servers that are busy processing requests? What happens to all vm guest servers busy processing requests, how will the hypervisor handles the slicing and scheduling of the vCPU resource?

Sorry to ask these questions, i'm kind of intrigue how the hypervisor handles such complex tasks.

Note: Don't forget to add me to your mailing list, for future nomination  for vExpert, next time comes around. My e-mail: lpalad007@gmail.com.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 36552108
Yes,  the Hypervisor schedules every 20ms (don't quote me!) it's fast. So A vCPU =  A Core, but it may not be the same core for the duration of the running of the VM, because the Hypervisor shifts it to a different core. That's why we pay the money for VMware's hypervisor algorithm.

Here we go, all you need to know (you asked!)
http://www.vmware.com/files/pdf/perf-vsphere-cpu_scheduler.pdf

Checkout the Configuration Maximums for VMware vSphere 4.1, you'll see the numbers of VMs per Core etc
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_config_max.pdf
0
 
LVL 7

Author Closing Comment

by:mcse2007
ID: 36552177
thanks to those links, particularly the first one, and cheers for the email...got it.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now