VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 Previous Next 44 Replies Last post: Feb 15, 2006 1:00 AM by lolz  

New Laptop = VMware slower?! posted: Oct 27, 2005 11:57 AM

Click to view ScatterBrain's profile Enthusiast 57 posts since
Jan 13, 2005
On Monday of this week, I received my new laptop - a Dell Inspiron 6000d. This machine is far and away the most powerful laptop I have ever owned. I'm running Ubuntu 5.10 on it at the moment.

I installed VMware Workstation v5 build 13124 on it on Tuesday and everything *seemed* to work just fine. I never had a chance to install any guest OSes until Wednesday. On Wednesday, I loaded WinXP Pro SP2 on it and started off by getting XP updated. I noticed small things then. When a menu in XP would fade in or out, it wouldn't be smooth or quick, instead it would be choppy and slow. But I figured I was doing so much with the machine at the time that it really wasn't a big deal. Once I get the XP guest updated, I settled in to do some work. The the crap hit the fan. Nothing was peppy, everything was slow. I thought the guest OS was hosed, I re-created it. No help there.

A good example of the problem would be when I start Internet Explorer - it takes nearly two minutes for it to fire up. Or, when I tried to browse with "My Network Places" and it was nearly seven minutes before I could find any other hosts on the LAN.

(All of these performance problems were experienced _after_ I had the vmware tools installed.)

Something isn't right. I'm wondering if it may be the machine, if it's Ubuntu 5.10, or if it's just a bogus VMware build by me.

Because I hoping it's the latter, I'd like to start with a bogus build idea. This is what I had to do to get VMware on this machine (taken from my wiki):

-- I had to install the following packages: gcc-3.4 g++-3.4 linux-headers-2.6.12-9-386 build-essential

-- Next I downloaded the VMware application, untarr'ed and ran the vmware-install.pl script but did NOT run the configuration option toward the end of the installer.

-- Then I downloaded this utility: http://ftp.cvut.cz/vmware/vmware-any-any-update94.tar.gz.

-- Untarr'ed the vmware-any-any file and then ran:
CC=gcc-3.4 ./runme.pl

I don't know if that helps at all, but that's how I got VMware installed.

After the installation, I ediitted the .vmx file for the WinXP guest and added this directive:

paevm="true"

Finally, a bit of specs about the machine:
Pentium-M 2 Ghz
2GB RAM
80GB SATA hard drive

The guest OS is sitting on an XFS filesystem

Any help at getting VMware more responsive would be helpful.

Thanks,
Kevin

Re: New Laptop = VMware slower?!

2. Oct 27, 2005 12:24 PM in response to: ScatterBrain
Click to view Raymond's profile Expert 620 posts since
Mar 1, 2004
Hi there,

Since this is a laptop did you set the clock speed for Workstation.

Check out this link

http://www.vmware.com/support/kb/enduser/std_adp.php?p_sid=psxiG5Th&p_lva=&p_faqid=1227

Re: New Laptop = VMware slower?!

4. Oct 27, 2005 3:58 PM in response to: ScatterBrain
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
Thanks for dmesg. Apparently there are no problems with /dev/rtc.

Can you run 'cpufreq-info' on your host? And did you tried 'cpufreq-set -g performance' ?

Re: New Laptop = VMware slower?!

6. Oct 27, 2005 6:33 PM in response to: ScatterBrain
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
You are not using ondemand governor. You are running some cpu frequency selecting program on your host - probably cpudyn or something like that. Do not do that. Configure your host to use only one frequency - in any case kill cpudyn, and then either select performance governor, or select userspace governor and select one of frequencies supported by your processor.

Then if you are using vmware-any-any-update then just poweroff and poweron VM. If you do not use vmware-any-any-update then you have to stop VM, unload vmmon, reload it back, and poweron VM. It now should be fast and time should go as it should. If you are using dynamic frequency on host then time is not linear in the guest.

Re: New Laptop = VMware slower?!

8. Oct 28, 2005 9:10 AM in response to: ScatterBrain
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
Did you reload vmmon after making change?

Re: New Laptop = VMware slower?!

9. Oct 28, 2005 9:13 AM in response to: ScatterBrain
Click to view slylos's profile Novice 42 posts since
Aug 26, 2005
Not sure if this helps (I see you already discussed CPU frequency) but I just had a very similar issue - WinXP SP2 running like a pig on my laptop (hp pavilion). I'm running OpenSuSE 10.0, and power management set my CPU Frequency to 'dynamic' - I changed it to 'performance' and my winxp guest os improved dramatically in performance - I hardly even notice a difference with two vm's running at the same time now (win2k server + winxp pro sp2). I'm running Visual Studio.NET 2003 in my guest OS for Windows development, and most of the time performance is very tolerable (not as good as a native install, but definately tolerable nontheless). I'm not sure how that would be changed in Ubuntu, but that may be something you should really look into . . .

Re: New Laptop = VMware slower?!

12. Oct 28, 2005 11:45 AM in response to: ScatterBrain
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
Type of your harddisk should not matter.

Re: New Laptop = VMware slower?!

14. Nov 2, 2005 12:27 PM in response to: ScatterBrain
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
And do not you have CD/DVD connected to the VM? I cannot imagine why 'hdc=noprobe' would make difference otherwise...

BTW, do you see your harddrive as hda or sda ? Do not you see it as /dev/hda when 'ATA_ENABLE_PATA' is not set, while as /dev/sda when 'ATA_ENABLE_PATA' is set? Though hdc should not make any changes in this...

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