Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have (portable) Virtualbox installed on a USB key running on a 64-bit Windows 7 host. I installed 32 bit Ubuntu 10.04 as a guest OS.

During spikes in processor usage on the guest OS (based on looking at top), the Ubuntu virtual box freezes up for 5-10 seconds. The guest becomes unresponsive with the VirtualBox window showing as "not responding". There seems to maybe be a correlation between this behavior and network accesses.

I've experimented with the number of CPUs allocated to the virtual box, added and removed RAM, and adding video memory -- all to no avail. I have not attempted disabling or changing the processor level virtualization (VT-x).

I'm wondering if there's anything particular about Ubuntu 10.4 that might be impacting this? Should I have installed 64-bit Ubuntu (or should it matter!?). Is there a VirtualBox setting I'm missing that would improve my experience?

Any help is appreciated.

share|improve this question
    
I have never used Virtualbox on a Windows host, but 10.04 works fine on an Ubuntu host. Also it being a portable app might be something as well. –  NightwishFan Sep 28 '10 at 5:59
add comment

2 Answers

up vote 3 down vote accepted

I suppose that running VirtualBox on a USB key is the problem. USB keys have slower write times than harddrives. So what happens is that the Ubuntu VM writes data to it's disk (which is also stored on the USB key I suppose) and the data can't be written fast enough on the key so the VM hangs.

If you copy the Ubuntu hard disk image to your harddrive and use this one to boot Ubuntu are you experiencing the same problems?

share|improve this answer
    
copying to my ssd appears to have cleared up any problems. Strange I had success with running from a USB key in the past. –  Doug T. Sep 29 '10 at 2:16
    
Some USB keys have slower write speed. Maby you can reduce the disk wirtes within the VM with this Tweaks (at your own risk) : wiki.geteasypeasy.com/… –  mw88 Sep 29 '10 at 7:35
    
I wonder too if swap space would hinder the performance. –  Doug T. Sep 29 '10 at 13:43
add comment

I'd agree that you shouldn't expect good performance from a virtualised product running on a USB device (which is presumably FAT). USB is a very slow bus to try running a hefty job like a virtualised OS through.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.