Solved

Physical resource vs Virtual resource

Posted on 2011-09-16
4
383 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 119
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 119

Accepted Solution

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Azure Site recovery and planned failover 2 47
vSphere HA agent Alarms 3 42
vmware templates 5 30
export VOF from ESXi 5.5, import to ESXi 4.1 8 42
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
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…

810 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