VMware

This Question is Answered

1 "helpful" answer available (6 pts)
1 2 Previous Next 21 Replies Last post: Nov 21, 2009 11:56 PM by Neilly  

Workstation 7 on Ubuntu 9.10 host -- VMs run dog slow posted: Oct 31, 2009 1:32 PM

Click to view mbonsack's profile Novice 48 posts since
Mar 22, 2004
I know there's another post on this topic but for the life of me I can't find it. I'm having the same problem -- running VMs cause the CPU to spike to 100% and they all run dog slow. Others report good success with Karmic. Any hints?

Thanks, -mark

EDIT The thread I was referring to is in the locked beta forum: http://communities.vmware.com/thread/238765

Click to view magi's profile Master 2,096 posts since
Aug 8, 2003
There seem to be Linux kernel scheduler changes between the 2.6.28 kernel (used by Ubuntu 9.04) and the 2.6.31 kernel (used by Ubuntu 9.10) that interact poorly with SMP VMs. We are investigating this; sorry I don't have anything more conclusive to tell you.
Click to view magi's profile Master 2,096 posts since
Aug 8, 2003
Best practice is indeed not to overcommit host CPUs, in Workstation, so yeah, you should have more than 2 physical cores to run a 2-vcpu guest.

However, as you've noticed, 2 vcpus on 2 pcpus worked better under Ubuntu 9.04 and we're investigating why it got worse.
Click to view hmunster's profile Novice 3 posts since
Nov 3, 2009

Hi, I am also facing the same issue but with an XP Pro guest that was working fine under Jaunty. Even with only one cpu enabled the vm is almost unusable with the cpu continually at 100%. Need a fix soon or it's back to 9.04 for me :-)
Click to view magi's profile Master 2,096 posts since
Aug 8, 2003
Mark, filing an SR couldn't hurt -- while hopefullly we'll update the thread with good news at some point, if that good news comes in the form of a new revision of Workstation we wouldn't be able to announce it until it's already public knowledge. Sorry, that's just company policy on unannounced products.

It's also possible good news comes in the form of Linux kernel updates. I'm not trying to cast the blame over there, but the Linux kernel community has recently been discussing changes in scheduler behavior noticed in 2.6.31 and maybe they'll decide to make changes that benefit us.
Click to view magi's profile Master 2,096 posts since
Aug 8, 2003
I don't think any other distro has shipped a 2.6.31 kernel yet, though Fedora 12 is about to, and I'd expect to see the same issue there.

At the risk of stating the obvious, none of these brand-new (or future) distro releases are currently qualified as supported host OSes for Workstation, though of course we know people want them and we're working on it.
Click to view bbhavsar's profile Enthusiast 79 posts since
Apr 1, 2008

Random thought.

Ubuntu 9.10 ships with ext4 as default filesystem whereas Ubuntu 9.04 uses ext3 by default. Can anyone try using ext4 with Ubuntu 9.04 and let us know if the VMs still run slow with vcpu == pcpu?


Click to view magi's profile Master 2,096 posts since
Aug 8, 2003
We know it's not the filesystem. (We've tried Ubuntu 9.04 with ext4, and we've tried various 2.6.31 kernels with ext3.)

And we don't actually know that the performance problem is when pcpu==vcpu -- the variant I'm familiar with is with 2 vcpus on a 2 pcpu host, and we have one data point here that 1 vcpu VM was also slow (but we don't yet know that was a 1 pcpu host, and it could be an unrelated problem), but let's not assume that's the explanation.
Click to view hmunster's profile Novice 3 posts since
Nov 3, 2009
It's a dual core laptop. Although I may have to revise my symptoms as it appears that another XP guest works fine with 1 vCPU but not with 2 vCPU. My initial report was from working with my main XP guest which I use for work (with 2 x 20GB harddrives) which is almost unusable with either 1 or 2 vCPU's enabled.

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