VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Nov 3, 2009 7:36 PM by weinstein5  

vCPU scheduling posted: Nov 3, 2009 4:11 PM

Click to view timbo475's profile Novice 7 posts since
Sep 24, 2008

I've read a bit around this subject but would benefit from a bit of help from people who really know this stuff because I'm a bit confused.

I was on an ESX3.x course and the instructor mentioned something about it not being a good idea to over resource VMs with vCPUs due to scheduling gotachas. Reading around the subject the strict co-scheduling that ESX .2x used would definitely have created problems with some VMs using multiple vCPUs under certain conditions but I've read that the co-scheduler is relaxed and this means that this problem is a bit less apparent.

We are running an ESX 3.0 server with 3 VMs and 4 vCPUs. One VM is has 1 vCPU assigned, 1 has 2 and the other has 4. I suspect the VM with 4vCPUs is having major performance issues (effectively, it's wanting to use all available vCPUs which is probably bound to cause scheduling issues) but I'm unsure how to troubleshoot CPU scheduling issues.

How strict is cosheduling in ESX 3 and what's the best way to troubleshoot vCPU scheduling issues?

Cheers,

Tim

Re: vCPU scheduling

1. Nov 3, 2009 7:36 PM in response to: timbo475
Click to view weinstein5's profile Guru 6,351 posts since
Nov 19, 2005
With the current release of ESX 3.5 the vCPU scheduling has improve in that the vmkernel will schedule each vCPU when it has space available - with ESX 3.0 the scheduling is similar to esx 2.x - the vmkernel will not schedule any vCPU of a multi vCPU VM if it can not schedul all vCPUs - so if you have a vm with 4 vCPU running on an ESX 3.0 host with 4 logical CPUs - you will have performance problems with that VM - look at the real time performance graphs and check what the CPU Ready measurement are - this is a measure of time the VM waits for the vmkernel to schedule the vCPUs - so if there is a problem schedulling you will have a high ready time -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities