Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running VirtualBox on my Macbook running Lion (Aluminum 2008, 4GB RAM 1067 MHz DDR3, 160 GB hard drive space, 2 GHz Intel Core 2 Duo) to run Windows 7 64-bit Professional Edition. Starting up the VM takes upwards of 4 minutes, and once I open up Visual Studio it becomes so slow it's unusable. I'm wondering it's my settings for the VM that's slowing it down. Visual Studio and Microsoft Visio are the only applications I'm interested in running.

Specs for the Windows 7 1024 MB for the base memory Boot order: CD/DVD-ROM, Hard Disk Acceleration: VT-x/AMD-V Video Memory: 16 MB IDE Secondary Master: Host Drive 'HL-DT-ST DVDRW GS21N Processor(s): 1 CPU Virtual Size: 40 GB (fixed size storage)

Should I adjust my RAM, virtual size, or the number of processors to make it run faster, or are my mac's specs just not enough to handle running a virtual machine? My macbook runs other applications pretty quickly (MATLAB, Eclipse, Photoshop run just fine). If it continues being this slow, I'm thinking of using Bootcamp to just install Windows 7 on a separate partition.

share|improve this question

migrated from stackoverflow.com Jun 24 '12 at 21:52

This question came from our site for professional and enthusiast programmers.

    
Unfortunately, VirtualBox is working badly on my MacBook White also. I guess this is not a problem with computer, just with slow (Oracle, damn...) VirtualBox. –  VerityPL Jun 24 '12 at 16:57
    
This is probably a question for server fault, howver Windows 7 64bit normally requires 2GB of ram by default, also your video memory is unacceptable for high performane Windows 7 and you CXPU is low for Visual Studio. –  Sammaye Jun 24 '12 at 16:58
    
Tbh just like Mac OS Windows isn't very good virtualised unless you really know what your doing. I would recommend using bootcamp to get dual booting, or just use Windows... –  Sammaye Jun 24 '12 at 17:02
    
Thanks. I think I will use Bootcamp to install Windows 7. Any recommendations for how much hard drive space to allocate for Windows 7 64 bit, running Visual Studio? –  mewsicalcat Jun 24 '12 at 21:32

2 Answers 2

Have you checked to make sure your MacBook is starting Lion up in 64-bit kernel mode? You can use this tool to check that.

Lion, even though it's a 64-bit OS, capable of running 64-bit apps, can start it's kernel in 32-bit mode on certain older machines. This won't affect most 64-bit Mac apps. They still run in 64-bit mode and can use >4GB of memory. But depending on which kernel is being used, your virtual machine will run in either a 64-bit or 32-bit process since VirtualBox interacts with the kernel at a lower level than most apps.

I have an older MacMini (2007, which boots to a 32-bit kernel) with Lion and VirtualBox on it. I've noticed that the Mac itself still performs pretty well. A 32-bit WinXP machine with 1 CPU and 1024MB RAM works almost as if it were natively on the hardware (except for graphics).

However, when I put a 64-bit Ubuntu machine onto it (even Ubuntu Server), it uses about 30% of a physical CPU core when idle and works slowly. I checked the process type in Activity Monitor, and it was a 32-bit process. The same virtual machine is very snappy on my newer iMac (booting 64-bit), and uses about 6% of a core at idle.

If you are starting up with a 32-bit kernel, your best bet might be to use 32-bit Windows in a VM. If you really need 64-bit for some reason, stick with dual booting.

share|improve this answer

I never got win7 to run good on virtualbox on anything less than 1.5gb ram. Up the vm ram to 2-3gb, and the system ram to 8gb. A bigger HDD would help as 160gb is almost unworkable for me!

I guarantee this to make a huge difference.

share|improve this answer

Your Answer

 
discard

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