-->

Friday, May 24, 2019

Virtual Box Optimization

If you are a developer who works in windows, it is nonetheless important to know and work with linux. If you're like me, most of your linux experience has been via VirtualBox, where you followed a few guides and installed it.

If you're like me, you might have then mistakenly begun to associate linux with "slow."

However, what if I told you that if you think a linux virtual machine is bad, then the problem is with your Virtual Configurations and not with the operating system.

Allow me to share a couple guides and configuration tips.


Key Takeaways

I. Ensure that you are using as many processors as you can spare.

[pict pending]

Don't just leave things at the default processor size. Give it 4 cores if at all possible.

II. Invest in more RAM and assign (at least) 8 GB of Ram to your Virtual Machine

[pict pending]

RAM is the easiest piece of hardware to swap. Though it might seem expensive, investing in 32 GB of RAM is a godsend to your host environment if you also want it to run a true virtual environment alongside it.

Upgrade your RAM and ensure you are using a fair amount of it for your VM.


III. Ensure the Display is set to 128 GB and tied to a graphics card (if applicable)

[pict pending]

As with videogames, weak graphical memory leads to weak performance and LAG spikes. If you want decent FPS (frames per second) with VirtualBox, you have to treat it as you would a video game.

If you are using NVidia GPU, open the NVidia Control Panel and have it override the default settings for VirtualBox.

In conjunction with this, make sure the VBoxVGA is chosen as your graphics controller. Keep Acceleration disabled.


Additional Resources

No comments:

Post a Comment