VirtualBox on OSX: host unbearably slow

0

Even though my mac is quite new and well equipped, using virtualbox slows it down to a crawl. Here's an example:

With Virtualbox open, running a Windows XP guest:

➜  uptime
 9:19  up 2 days, 17:28, 1 user, load averages: 1.97 1.64 1.59

A few minutes after closing Virtualbox:

➜  uptime
 9:21  up 2 days, 17:31, 1 user, load averages: 0.68 1.23 1.42

My Mac is a MacBook Pro 9.1 2.3 GHz Intel i7 with 8 cores, 4GB of RAM, a 500GB 7200 RPM disk running OSX 10.8.4.

The Windows XP host is configured to use 1Gb of RAM and only one core.

Note that running the same virtual machine from a trial version of Parallels is very smooth. I tried meddling with the guest settings (PAE settings, etc.) to no avail.

The virtual machine usage per se is OK, it's the application switching that is extremely slow. I'm talking 15-20 seconds to change app - with lots of disk use.

[edit]

Here is the memory usage before opening VirtualBox and while running the VM:

Memory usage before opening virtualbox

Memory usage right after launching the XP virtual machine

And htis is after a sudo purge:

Memory usage after a purge

Note that after the purge, the system became much more usable. Is it just memory then? How can I improve on this situation?

lorenzog

Posted 2013-06-21T07:28:44.117

Reputation: 1 962

What're the RAM usage statistics (i.e. how much is wired, active, inactive, and free) with and without the VM running? – Gordon Davisson – 2013-06-21T11:09:00.643

@GordonDavisson I added a few pics and tried the holy purge – lorenzog – 2013-06-22T08:22:29.960

Answers

0

I had the same issue with running a guest Ubuntu on a host Windows 10 machine. The problem turned out to be a clipboard program called "Ditto", which was installed on the host Windows machine, somehow interfering with Virtualbox, causing the host to slow to a crawl. Perhaps you're in a similar situation where multiple programs are interfering with each other.

I fixed my issue by exiting Ditto.

Monarch Wadia

Posted 2013-06-21T07:28:44.117

Reputation: 101

Hi, thanks for the response, but I moved on... that was several years ago :) however now I am on Windows10 too and there's no "ditto" on my host. – lorenzog – 2017-01-30T10:00:46.857

i figured this was the case ;) putting it here because this answer shows up on the 1st page in Google and if anyone can benefit from this finding, it should be visible. – Monarch Wadia – 2017-01-31T02:07:02.460