1

I have a Macbook Pro, mid 2015, Intel I7 2.2GHz 16GB RAM, Solid State Hard Drive. I have installed Virtual Box running Windows 7 and Visual Studio 2019.

It runs fine, but too slow.

the settings on Virtual box for the VM are:

  • 12 GB RAM
  • 4 CPU Cores
  • Execution Cap 100%
  • Enable PAE/NX enabled
  • Video Memory 256MB (max)
  • Graphics Controller: VBoxSVGA
  • 3D and 2D acceleration enabled
  • Paravirtualization Interface: Default
  • Hardware Virtualization: Enable Nested Paging

I was wondering if i can tweak the settings a bit more, in order to be able for it to run faster... maybe on the Paravirtualization Interface, i have no idea what i can select.

  • 2
    Have you installed the guest additions? Do you need 12GB of RAM and 4 cores? Try reducing to 8GB and 2 cores, over allocating host resources can reduce performance. – essjae Aug 26 at 20:22
  • i do have the guest additions, installed on safe mode to allow some 3d feature also. I'll try reducing the resources as you suggest. thanks – André Alçada Padez Aug 27 at 14:06
  • Reduce RAM to 3 GB, CPU times threads to 2, enlarge Video Memory, Graphics Controller VBoxSVGA, turn on 2D and 3D acceleration, reinstall guest additions, and don't enlarge too much the Windows screen. – harrymc Aug 27 at 19:43
1

It is important to understand here that despite running a Virtual box, your Mac still requires memory to run its processes. This means, if your windows consumes most of the memory, you will potentially end up with lesser memory for Mac. This will result in overall slowdown of your system making you feel that your Windows Virtual box is slow which mostly isn't the case.

As suggested in the comments, 8GB RAM with 2 cores is the perfect balance of memory and CPU. I am infact able to run it smoothly with just 4GB of memory on my Macbook Air. Let me know how it goes with the above setting.

If that doesn't work, try allocating fixed space instead of dynamic memory allocation. Occasionally, if your memory is fragmented, dynamic memory allocation also could result in slowdown of the virtual environment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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