Instructions for speeding up virtual machines in full set
Virtual machines provide virtual hardware and run multiple operating systems on the computer at the same time. Therefore, sometimes its performance will be a bit slow. Here are some tips to help you 'squeeze' performance on each virtual machine like VirtualBox , VMware , Parallels or other virtual machines.
Create a virtual drive with limited capacity instead of an extra capacity drive
When creating a virtual machine, you can create two different types of virtual disks. By default, virtual machine programs will often use drives with extended capacity, which will gradually increase in size when increasing data.
For example, if you create a new virtual machine with an extra capacity drive with a maximum size of 30GB, it will not immediately occupy 30GB of space on the hard drive. After installing the operating system and programs, it only uses 10GB. And when adding multiple files to the virtual disk, it will gradually expand to a maximum size of 30GB.
This is very convenient, because each virtual machine will not occupy a large amount of unnecessary space on the hard drive. However, it is slower than creating a disk with limited capacity. When creating a limited capacity disk, all of that 30GB capacity will be allocated immediately.
However, a fixed-capacity drive uses more space on the hard drive, but adding new files to the virtual machine's hard disk is faster and there is no file fragmentation.
Install virtual machine software tool
After installing a guest operating system inside a virtual machine, the first thing you need to do is install the driver package of the virtual machine software such as Guest Additions for VirtualBox, VMware Tools for VMware or Parallels Tools for Parallels. These packages include special drivers that help the guest operating system run faster on virtual machine hardware.
How to install the driver package is very simple. In VirtualBox, start the guest operating system and click Devices> Insert Guest Additions CD Image . You can then launch the installer from the drive in the virtual machine. On VMware, select the option Install VMware Tools in the virtual machine menu. In Parallels, click Actions> Install Parallels Tools .
Follow the on-screen instructions to complete the installation process. If you're using the Windows guest operating system, this setting will be the same as installing any other Windows application. Be sure to always update the virtual machine programs, if you see the update to Guest Additions or VMware Tools, install it.
When running antivirus programs, do not scan virtual machine folders
Your computer's antivirus program may be scanning virtual machine files whenever they are accessed, reducing performance. Anti-virus software cannot be seen inside a virtual machine to detect viruses running on the guest operating system, so this scan is not useful. To increase speed, you can remove the virtual machine directory in the scan list of antivirus programs.
Turn on Intel VT-x or AMD-V
Intel VT-x and AMD-V are special processor extensions that help improve virtualization. New Intel and AMD processors often have these features. However, some computers do not automatically activate them. You may have to enter the computer's BIOS and enable this setting. See the article How to check Virtualization on Windows 10? to know if my computer has been virtualized.
AMD-V is usually activated automatically if it works on hardware, but many Intel computers do not activate Intel VT-x. Here's how to turn on virtualization Intel VT-x or AMD-V in the BIOS, then start installing the virtual machine program.
Allocate more memory
Virtual machines are very 'hungry' memory. Each virtual machine contains an entire operating system, so you should separate your computer's RAM into two separate systems. Microsoft recommends leaving at least 2GB of RAM for a 64-bit Windows 7 system and this recommendation applies to Windows 7 as it is running in a virtual machine. If you are running applications that require high memory in a virtual machine, you can allocate more than 2GB of RAM so that Windows does not have to convert to the drive.
You can allocate more RAM in the virtual machine settings dialog (note, you need to turn off the virtual machine before you do this). Try to give it at least 1/3 of your computer's RAM, though you can do more if you want.
If there is not enough RAM in the computer to run virtual machines at a comfortable speed, consider upgrading RAM-8GB.
Allocate more CPU
The computer CPU does all the work of running the virtual machine and its software, so the more CPU the virtual machine runs, the better. If you have a computer with a multi-core CPU, you can assign multiple cores to the virtual machine from its installation window. A virtual machine with two or four cores will react faster than a single-core virtual machine, as well as a computer with multiple cores.
If you are using an old CPU with only one or two cores, you should upgrade the CPU to at least two cores to run the virtual machine faster.
Fine tune the microphone settings
Tweaking some video settings can also improve virtual machine speed. For example, enabling the 2D feature in VirtualBox can improve video playback in virtual machines, while enabling the 3D feature will allow users to use some 3D applications at a more reasonable rate. Increasing video memory assigned to a virtual machine can also speed up 3D graphics. However, upgrading the graphics card is not helpful in improving virtual machine performance.
Place the virtual machine on the SSD
A solid state drive is one of the best upgrades you can do to speed up your computer and this is similar to virtual machines. Many people store virtual machines on secondary mechanical drives, because they are larger, but will make virtual machines run much slower. So if possible, create some space on the SSD and put the virtual machine on it.
Also, avoid leaving the virtual machine files on a drive unless you know the external drive is fast enough. A fast USB 3.0 drive with good file access time can provide good performance.
Pause t good because I turn off the phone
When you have finished using the virtual machine, you want to save its status instead of turning it off completely so that the next time you access the virtual machine, just double click to start. The guest operating system will continue at the place where you stopped the last time instead of starting from the beginning.
This is similar to using hibernation or suspending instead of turning off the computer. The virtual machine program saves the virtual machine memory contents to a file on the hard drive and downloads the file when booting the virtual machine.
Improve productivity in your computer
You can also improve performance within virtual machines in similar ways to speed up your computer. For example, turning off background applications and startup programs with virtual machines will improve the boot time of the guest operating system and reduce the amount of RAM used by the virtual machine. If you're using a mechanical drive, defragmenting the virtual machine can also improve performance (although this doesn't work on SSD). Don't forget the standard advice just because it's a virtual machine, virtual machines are like regular computers.
Use other virtual machine programs
Some people like to use VirtualBox because they feel it runs faster, while some choose VMware for that reason as well. A faster virtual machine program may depend on the host operating system, guest operating system, system configuration or some other factor. But, if you don't get the performance you want, try another program. VirtualBox is completely free, while VMware Workstation Player is free for non-commercial purposes. If you're using macOS, you can use Parallels Desktop and VMware Fusion.
See more:
- VirtualBox and VMware: Which virtual machine software is better?
- Create virtual machines with Hyper-V on Windows 8 and Windows 10
- 5 best virtual machine applications
You should read it
- VirtualBox and VMware: Which virtual machine software is better?
- How to create a Windows 10 virtual machine with VMware Player and VirtualBox
- Add drives for virtual machines running Windows XP on VirtualBox
- Stealing virtual machines and virtual machine data
- Learn about virtual machines
- Compare VirtualBox, VMWare and Hyper-V
- Instructions to increase the virtual hard drive capacity on Virtualbox
- Instructions on how to create virtual machines with VirtualBox
- Instructions for fixing errors do not install VMware Tools
- How to convert virtual machines from VMware to VirtualBox and vice versa
- How to increase HDD capacity of VirtualBox with Clonezilla
- How to fix mouse error and virtual machine keyboard in VirtualBox
Maybe you are interested
How to set virtual wallpaper for video calling on Mac
Why is Virtual Desktop the most underrated feature on Chromebooks?
The future of the virtual currency and bitcoin industry will be more favorable if Former President Donald Trump is re-elected
Xiaomi's AI virtual assistant can recommend recipes based on images of ingredients
What is VPN? Advantages and disadvantages of VPN virtual private network
How to install Copilot as a virtual assistant on Android phones