From time to time you have work with virtual machines in VirtualBox, but you are categorically not satisfied with the speed of their work? In this article, we will try to tell you How to Increase Speed of Virtualbox !
Whether you are a software developer or a web designer or technologist who is interested in new products, slow work of a virtual machine does not like anyone. One of the popular virtual machines, also free of charge, is Oracle Virtualbox.
How to Increase Speed of Virtualbox
We’ll tell you about how to make the virtual operating systems work faster in it.
Best optimal Configuration for Virtualbox
The most powerful argument in the fast operation of the operating system installed in Virtualbox is high-performance components. For more or less comfortable work you will need:
- Intel Core i5 processor series or similar and more powerful
- Operative memory from 8 GB
- SSD or HDD with enough free memory (One OS installed at least 8 GB)
Configuring UEFI / BIOS
Modern Intel and AMD processors have the capability of hardware virtualization, enabling this option in UEFI / BIOS can significantly speed up the VirtualBox virtual machine. To do this, you must enable the Intel VT-x or AMD-V parameters.
Now consider the options that you should enable or change in VirtualBox, to speed up the virtual machine.
Location of virtual machines
If your computer has more than one disk (HDD or SSD), then the most initial setting you should change is the “default folder”. To perform this tincture is necessary because, when running individual programs and the OS can cause delays in the disk subsystem so that this does not happen, it is necessary to place “Virtual OS” on another disk. Even better, if it’s an SSD drive. The only thing worth paying attention to is that you do not need to specify an external drive, so the speed of reading/writing will be significantly lower than from internal disks.
To specify the “default folder” you need to select “File” in the panel and go to the “General” tab.
Settings when creating virtual machines
When creating a virtual machine, you should pay attention to the following parameters:
- OS type – specify the type of operating system and version that you plan to install.
- Memory size – The more RAM, the better, the exception will be only if you install a 32-bit OS, but do not install more RAM than in a real operating system.
- Hard disk – Before you will be the output to create a dynamic virtual disk or fixed. Despite the fact that the dynamic hard disk allows you to increase your volume on the fly, in fact, it turns out to be a slower fixed hard drive, so try to immediately calculate and set the necessary size of the future drive.
Configuring the Virtual Machine Settings
After the virtual hard disk has been created, you can configure, to allocate any resources to the OS.
In the “System” tab of the “Processor” tab, click the “Enable PAE / NX” checkbox if you have provided more than 4 GB of virtual system.
Specify an acceptable number of processor cores.
In the “Acceleration” tab, enable hardware virtualization by ticking “Enable VT-x / AMD-V” and “Enable Nested Paging”.
In the “Paravirtualization Interface” drop-down list, specify:
- Hyper-V for Windows
- KVM – for operating systems on the Linux kernel (Ubuntu, Fedora, OpenSuse, Mint, Debian)
In the “Display” section, check the “Acceleration: Enable 3D acceleration” checkbox, if you are using Windows, then also check “Enable 2D acceleration”.
Set the maximum amount of video memory. Here it is worth noting that from the VirtualBox interface you can not specify the amount of video memory more than 128 MB, to specify more (up to 256 MB), perform the following actions:
- Close the VirtualBox.
- Open the command line Windows.
- Enter the following commands shown in image according to your PC and Virtual OS
In the “Media” section, select the virtual SATA controller on which the virtual machine will be installed (or already installed) and tick the box “I / O Caching”
After installing the virtual system
After you install the operating system into a virtual machine, you should immediately connect the guest OS add-ons and install “drivers” for virtual Windows or Linux and reboot the system.
If you have followed all the steps that we wrote above, then the following steps will help you to increase the performance of your virtual system:
- If VirtualBox is installed on the laptop, then connect to the power source and switch to the “high performance” mode
- Disable the antivirus program on the computer.
- Turn off unnecessary services, remove programs from autorun, turn off animation and other decorations in a virtual machine.
- To speed up the launch of the virtual machine, do not turn it off, but “save the machine state“
Are there any more questions? Write them in the comments, tell us what you got or vice versa!
[su_box title=”Read More” box_color=”#17bbff”]