VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 ... 8 Previous Next 112 Replies Last post: Jan 16, 2009 8:47 AM by pgflmac  

Bug hunt: Extremely slow boot times posted: Oct 15, 2008 1:44 PM

Click to view etung's profile Guru 11,094 posts since
Oct 15, 2006
A number of people have reported extremely slow boot times (on the order of minutes) after upgrading to Fusion 2.0. We have not been able to reproduce this in-house, so as you might imagine it's a bit hard for us to debug. This thread is to concentrate focus and give us a single place to ask questions and provide updates. Note this thread is only for slow boot times, it does not apply to slowness after boot -- that may be a different issue.

If you're seeing slow boots, in addition to trying these, please know what works and what doesn't. In addition to potentially helping you work around the problem, knowing what is effective will help narrow down our search for the cause(s).

  • What guest OS are you seeing this with? (Note: so far, I believe everyone who's reported this has been running some Windows variant) Be sure to include 32-bit vs 64-bit and service pack level.
  • Is this a Boot Camp virtual machine? If it's a normal virtual machine, was it imported from somewhere else (e.g. Boot Camp, Parallels, VPC)?
  • Do you have "Allow your Mac to open applications in the virtual machine" set in the virtual machine's Sharing Settings? Try disabling this - this has helped some users.
  • Do you have any USB devices (e.g. an iSight) connected to the virtual machine while it boots? Try disconnecting them - this has helped some users.
  • Some third-party software may cause slowdowns (I've just heard a report that, for example, Daemon Tools and Boot Camp drivers caused one user problems). Try disabling unnecessary services to see if any of them are responsible.
  • Have you upgraded Tools? If you uninstall Tools, does the problem persist?
  • Have you upgraded the virtual hardware? If you downgrade the virtual hardware (Virtual Machine > Downgrade Virtual Machine, only doable when the virtual machine is powered off), does the problem persist?
  • If you check out All Processes in Activity Monitor in OS X, is anything taking up a lot of CPU? If vmware-vmx is taking up a lot of CPU, please collect a sampling report (select vmware-vmx, then View > Sample Process)
  • If you check out the Disk Activity in Activity Monitor in OS X, is there a lot of disk activity during the slow boot?
  • If you check out vmware.log (see A Beginner's Guide to VMware Fusion), are there mentions of READs or WRITEs taking a long time to complete?
  • System Profiler report (please zip)?

Bonus: If you're in the SF Bay area, would it be possible for us to get our hands on your computer? This obviously isn't practical for most people, even those in the area, but being able to see it ourselves would be the fastest way to figure this out.

Re: Bug hunt: Extremely slow boot times

1. Oct 7, 2008 10:44 AM in response to: etung
Click to view jeberly's profile Lurker 3 posts since
Oct 7, 2008
  • What guest OS are you seeing this with? (Note: so far, I believe
    everyone who's reported this has been running some Windows variant) Be
    sure to include 32-bit vs 64-bit and service pack level.

Windows XP SP3 32bit (Host OSX 10.5.5)

  • Is this a Boot Camp virtual machine? If it's a normal virtual
    machine, was it imported from somewhere else (e.g. Boot Camp,
    Parallels, VPC)?

Normal VM created in vmware fusion 1.x

  • Have you upgraded Tools? If you uninstall Tools, does the problem persist?

I had upgraded tools. If I uninstall tools, it seems better. ie. I can use an already running firefox while vm is booting. System in general responds faster, safari launched slow though while vm booting, but overall seems much better. Also, suspending machines/resuming use to take forever. After reinstalling tools, everything still seems good.
Stopping here, since my problem seems resolved. Although boot times seem slower, but I have no numbers to back that up.

Re: Bug hunt: Extremely slow boot times

2. Oct 10, 2008 2:24 PM in response to: etung
Click to view gdd9000's profile Novice 9 posts since
Jul 29, 2008
Im in Sacramento....feel free to visit anytime (I work at home) and see if you can figure anything out.

I upgraded to 2.0 and now my boot times from a idle restart take 2.5 minutes, when it used to take at most about 30 second. Really annoying. I will run these tests this weekend and let you know what I find out.

Im running Windows XP3 on OS 10.5.5

It is NOT bootcamp. Regular bootcamp created here, not imported.

Allow mac to open applic in VM? (for now, this is set to YES - I'll try it with that UNCHECKED and see if it helps. What's that used for anyway? Dont recall if VM v1 had that checked. Never touched it on either.)

I upgraded VM tools, and also tried reinstalling them (choosing repair.) Didnt help.

The VM appears to be fully upgraded. The upgrade VM is now greyed out. (have not downgraded - will try this weekend)

vmware-vmx is taking up a lot of cpu.

Here is the sample :(attached)

Under activity monitor, system memory, the colored boxes at the bottom show : free:35.46MB wired 1.93GB active 1.36GB inactive 691MB used 3.96

Under settings, I put VM Ram at 3 of 4 gigs originally. That USED TO work great. Super fast all around VM and no prob on OS. Ive tried it with 2 or 3 GB allocated to VM. Bad either way. I also now get the spinning rainbow pinwheel during boot which I never ever saw before.

Havent checked acitivty monitor during boot. (weekend task)

Attached vmwar.log It is FULL of all sorts of errors it looks like.

Attached system profiler file.

thanks for any help you can provide. I used to REALLY love running windows on my iMac, but now, I feel like Im back in the old world with tons of windows problems and slow performance.

In addition to the slow boot, FYI, performance is also slower. The part of boot that seems to take longest is the final network connection, so that my wireless works. Then MS Outlook takes a long time to load. Mozilla firefox takes 10 seconds to start, and loads pages slowly. Excel has slow arrow scrolling issues. Something is just killing the system.

geoff

Attachments:

Re: Bug hunt: Extremely slow boot times

4. Oct 10, 2008 8:06 PM in response to: etung
Click to view jeberly's profile Lurker 3 posts since
Oct 7, 2008
I have to admit, my original posting of good performance after reinstalling tools, seemed to be shortlived. I will have to go through in more detail later.

Re: Bug hunt: Extremely slow boot times

5. Oct 11, 2008 9:48 AM in response to: jeberly
Click to view gdd9000's profile Novice 9 posts since
Jul 29, 2008

DISASTER STRIKES! Great, so, now what? I reinstalled tools last night, and got my boot times down to 1.5 minutes instead of 2.5. At the end of the night, before going to sleep, I tried a few reboots, making sure it was ok, shut down the VM, rebooted OS X, etc. All ok. Still slower performance than I like, but I would be willing to deal with that.

This morning, go to boot up VM...stops midway through the process on windows XP screen. No functionality of vm no functionality of mac. None. Have to power down completely to regain control. Start over.

Boot up OSX. Fine. Start VM. NOPE! VM is locked! Unlock? Nope, wont work. Take ownership. NOPE. Wont work.

NOW WHAT??? F*&K!!!!!!!!

My last backup was about a week ago. So I think Im screwed. Ya know, if you are going to go and UPGRADE something, can you try and like, ya know, make the thing better and make it fricking WORK!

^(*^&$&^)(&)^)(*^)*^)!*^)!*%)!(!!!!!!!!!!!!!!!!!!!!

Re: Bug hunt: Extremely slow boot times

6. Oct 14, 2008 12:33 AM in response to: etung
Click to view jmmalek's profile Lurker 2 posts since
Apr 15, 2005

I'll be in SF Oct 16 and 17--let me know if that works and how long you might need it.

1) Windows Server Standard 2008, Service Pack 1, 32-bit

2) Boot Camp VM

3) I have now disabled "Allow your Mac to open applications...", and it seemed to make no difference

4) Tools were already upgraded. I uninstalled, and the boot seemed amazingly fast. CPU went to 100% during the following login and reconfigure (idenitifying new hardware, installing devices), though disk activity was flat-lined. System performance seems snappy, boots and shut-downs are fast.

5) I have not downgraded the hardware--not comfortable with that option yet (won't that cause my apps to re-validate?)

6) vmware-vmx is routinely the top CPU process, though it is very erratic (does not normally go into the 60-80% range for more than 90 seconds, then down to the 20's for 90 seconds, and back).

7) No abnormal disk usage except immediately after login, when things seem to get very slow

8) There are no mentions of READ/WRITEs taking a long time.

Since removing VM Tools, system seems back to normal behavior.

Re: Bug hunt: Extremely slow boot times

7. Oct 14, 2008 1:14 AM in response to: jmmalek
Click to view jmmalek's profile Lurker 2 posts since
Apr 15, 2005

So, the performance increase did not last long. When I followed up with another shutdown/boot (not restart), performance went back to 5 minute boots. I noted also that immediately after boot, during the login slowdown, the guest CPU went to 60% on KbdMgr.exe process, while the host CPU went to 100%.

I have since downgraded the vm hardware, with no effect, upgraded again (no effect), and I'm in the middle of upgrading the VM Tools, with little hope of success.

Re: Bug hunt: Extremely slow boot times

8. Oct 14, 2008 7:22 PM in response to: etung
Click to view inspiron2's profile Novice 18 posts since
Sep 29, 2008

I am using XP SP3 32bit as guest OS. Host OS is 10.5.5.

It's not a Boot Camp VM, but it was originally created in VMWare Workstation (Windows version). When I first opened it in Fusion, Windows went through the expected steps of reinstalling system devices and drivers etc.

"Allow Mac to open applications" is enabled. Disabling it doesn't seem to be making a difference.

Tools were upgraded. Didn't try to uninstall.

Didn't try to downgrade VM.

I think I know what is causing problem in my case because I can fix and repeat it on demand:

The VM's HDD is set to be 40GB, dynamic grow. When the VM was on a non FAT32 partition, the VM's .VMDK was in just one file. At that time, Fusion 2 would start this VM just fine. No wait time, no nothing.

I moved the VM to a FAT32 partition, and that required me to convert the VM's HDD to 2GB files. It resulted in 22 or so .VMDK files, all but two of which were only ~300K in size. Since moving to 2GB slice model for VMDK, the slow down has started.

I hope this helps.

Re: Bug hunt: Extremely slow boot times

10. Oct 16, 2008 3:11 PM in response to: etung
Click to view inspiron2's profile Novice 18 posts since
Sep 29, 2008

What I meant was that I am certain the problem is originating from split disk scenerio. I have copies of exact same VM: one as a single file, and the other using 2GB split "disks". Single file runs fine, and the split disk one take forever. It takes forever to "load" (that is, when you start Fusion in Mac, the dialog box that lists your VM's, it displays "loading" for XP VM for quite a while, and in that time, I can hear the disk thrashing like crazy. And it takes a long time when I choose "start guest" but right clicking on the VM entry in that dialog box (after it has finished loading). Single disk version loads and runs just fine.

FAT32 is on an internal disk, and it is the SAME disk that used to be formatted as NTFS (back then, the VM used to be a single file, and ran fine). I had to move off NTFS because Google's NTFS driver was causing my drives to crash and corrupt.

I have deleted the single disk version of VM (just last night) to free up disk space, but I can recreate the VM, and do the tests for you if you want. Let me know if the above info is not enough and you want to do any more testing.

thx

Re: Bug hunt: Extremely slow boot times

11. Oct 16, 2008 3:51 PM in response to: inspiron2
Click to view inspiron2's profile Novice 18 posts since
Sep 29, 2008

OK, I have created a new VM, single filed. It is stored on a Mac Journaled partition of the SAME disk that the FAT32 partition is on.

When I choose "start guest", it only takes 3 or 4 seconds before the BIOS boot screen is visible for this VM. Compare this to ~30seconds that the split disk VM takes (which is on FAT32 disk).

Let me know if you want me to do any other testing for you.

Re: Bug hunt: Extremely slow boot times

13. Oct 16, 2008 8:34 PM in response to: etung
Click to view inspiron2's profile Novice 18 posts since
Sep 29, 2008

You were right.

Copied single file VM, which was start off in a couple of seconds when on the Mac Journaled partition, became a dog on FAT32 partition.

Copied multi-file VM from FAT32 to Mac Journed partition, and all problems went away.

BTW, FAT32 was not fragmented at all. It was a new partition, and only contained VM files (copied over from another location). So, in theory, it should have minimal to no fragmentation to start off with. I think it's Mac's (or Fusion's) general disliking of FAT32 drives. One thing to note though that when I copied large number of files to the FAT32 partition, I didn't feel it to be slower in any way.

Mystery????

Re: Bug hunt: Extremely slow boot times

14. Oct 17, 2008 6:42 AM in response to: etung
Click to view sklarsky's profile Lurker 3 posts since
Oct 17, 2008

I started experiencing slow boot times last night after a couple of things happened.

I am running Windows XP Pro SP3 and Mac OS 10.5.5 with VM Fusion 2.0 on a Mac Book Pro. My Windows partition is a Boot Camp partition and I have experienced the hang at the welcome screen when booting using VM Ware and when booting natively. I had upgraded VM Fusion to 2.0 prior to enabling the Boot Camp partition. Two things occurred last night:

1) Windows Update ran and downloaded 7 updates while I was running the Boot Camp partition through VM ware.

2) Longer story - I have an external USB drive that was showing up in the Virtual Machine Library as bootable (which it isn't). I was trying to remove this option. Still can't seem to get it out when that drive is plugged in no matter what I do...so, I tried doing a few things...I tried copying the com.vmware.plist file to com.vmware.plist.old in Library > Preferences so that the system would recreate a new one (and hopefully remove the"dummy" drive option. I also tried removing the device options in Library > Application Support > VM Fusion > Virtual Machines > Boot Camp (there were two, one for the real one and one for the dummy) After doing this removal, VM ware hung for the first time on the welcome screen when booting, after a while, it re installed VM tools, even though it was already installed in Windows. After a restart or two, it seemed to speed up, but I was also prompted in install McAfee for the free trial upon another login. I said 'don't show me again' since it was already installed. Again, the boot up seemed to not hang as much after the initial one or two restarts; however, I then booted natively into the Windows partition and it hung at the welcome screen for an uncomfortably long time. It played the start up music and instead of going to the desktop, just waited. Once it did get to the desktop, it seemed that everything was already loaded in the task bar by the clock.

So, I'm not sure it was it Windows Update (which I suspected) or my trying to get the "dummy" partition out of my Virtual Machine Library that did it. Both things kind of happened simultaneously. I was working from a pretty clean install and I did my upgrades prior to activating the Boot Camp partition. The only other thing that I can think of that is a little different is that I also recently started to use Time Machine and I have an external drive hooked up to the other USB boot for those backups.

I was very unimpressed with the hanging and as other users commented loved the fact that the Windows boot was very fast up until now. I did not try rebooting natively again or running VM ware again after that happened (it was getting to be very late for me) I also wish I could permanently remove the external USB drive from my Library as it shows up and only shows up when it is plugged into that USB port. It does not show up when it is plugged into the other USB port, but that problem probably requires another posting on another thread.

Thanks.

1 2 3 ... 8 Previous Next Go to original post

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