Vagrant/VirtualBox extremely slow despite 8GB-RAM/SSD-HD/2.53GHz Core2Duo

My VM (Ubuntu Vagrant VM) is extremely slow. While my Windows co-workers have a maximum of 1 minute page load time, my page load takes up to 8 minutes.

I tried putting log files in non shared folders—no Effect. I tried fiddling with the VirtualBox settings, but I do not know what I am doing there.

It really got worse with the Mavericks Update.

Anyone any ideas?

My System:

  • MacBookPro 2.53GHz Core2Duo
  • 8GB-RAM
  • 512MB SSD

My VirtualBox (4.2.22) Settings:

  • CPU 1 Core
  • RAM 2048MB
  • Hardware Acceleration enabled (VT-x/AMD-V)
  • Nested Packaging enabled

Due to a shared Vagrant file, the Windows user have the same VirtualBox settings.


LATE UPDATE: The Improvements that worked so far

After i had switched Laptops, now i am back to working with a VM on my Mac so i got back to this Topic.

SFTP Sync via IDE instead of SMB or Shared Folders I stopped using shared Folders and instead i let my IDE (PHP Storm) sync the Files to teh VM via SFTP. So i am working in a local directory and the VM get's the files via SFTP Sync. This was a huge Improvement.

The Adjustment of the Cores helped a tiny bit See Answer by @zigg.

Changed Drive Setting to SSD in VM wich helped a tiny bit See Answer by @IljaPavkovic.


Solution 1:

try enabling SSD on the virtual drive. This helped in my environment.

As I cannot answer to comments:

  • settings->storage
  • mark hard disk
  • click "Solid-State Drive"

Solution 2:

Don't use shared folders. Mount a Samba folder from your host machine to access/edit your source. It is way faster.