Boost VM Performance: Tips for VMware, VirtualBox & Hyper-V

In this comprehensive guide, discover proven tips to boost VM performance for VMware, VirtualBox, and Hyper-V. Whether you’re a novice or experienced user, learn actionable insights to optimize your virtual machine setup and enhance overall performance. Dive deep into performance enhancement techniques and unleash the full potential of your virtual environments. Don’t miss out on these valuable tips to elevate your VM performance today!

In this article we will study several ways of speeding up a virtual machine such as VMware Workstation, Oracle VirtualBox, Microsoft Hyper-V or any other.

Go to view
How to Speed Up VMWare, Oracle VirtualBox and Microsoft Hyper-V Virtual Machines

How to Speed Up VMWare, Oracle VirtualBox and Microsoft Hyper-V Virtual Machines

Step 1. Dynamically Allocated or Fixed-Size Virtual Hard Disk?

When creating a virtual machine, you can choose between two types of virtual hard disks. By default, a virtual machine uses a dynamically allocated disk which takes up only the required space on your physical drive and grows in size as long as it is filled with data.

For example, when you create a virtual machine with a dynamically allocated hard disk of 30 Gb, it is not going to eat away the 30 Gb off your actual hard disk. After installation of the operating system and necessary software its size can be about 10 to 15 Gb. Only after adding data it can grow to the size of 30 Gb.

It is convenient as the virtual machine will take up as much space as is required to store its data. However, a dynamically allocated hard disk (sometimes, these are called expanding disks) is slower than a fixed-size one.

Storage on physical disk

When creating a fixed-size disk, all of the 30 Gb in the actual hard disk will be allocated for the virtual machine disk at once, regardless of how much data is stored there. That is, a fixed-size hard disk of a virtual machine takes up more space in your physical drive but it copies or saves files and data faster. It is not so sensitive to fragmentation, as the space for it is allocated in a block of maximal size instead of adding it by small portions.

Specify Disk Capacity

Step 2. Installing Virtual Machine Tools

After a guest operating system is installed on your virtual machine, the first thing you do is to install a package of tools or drivers for such virtual machine, for example: VirtualBox Guest Additions or VMware Tools. Such packages contain drivers to help the guest operating system work faster.

They are easy to install. In VirtualBox, boot the guest operating system and select Devices / Insert Guest Additions CD Image… After that, start the installer which will appear as a separate disk in the folder This PC of the guest operating system.

VirtualBox. Insert Guest Additions CD image...
VirtualBox

In VMware Workstation, select the menu VM / Install VMare Tools… After that, start the installer which will appear as a separate disk in the folder This PC of the guest operating system.

VMware Workstation. Install VMware Tools...
VMware Workstation

Step 3. Add the Folder Containing the Virtual Machine to the Exclusions of your Antivirus

Along with other files, the antivirus also scans the virtual machine files which affects its performance. However, the antivirus has no access to the files within the guest operating system of your virtual machine, which makes such scanning useless.

To avoid the problem with reduced performance of the virtual machine, you can add its folder to the exclusion list of your antivirus. Then the antivirus will ignore all files in such folder.

Windows Defender Security Center

Step 4. Enable Intel VT-x or AMD-V

Intel VT-x and AMD-V are special virtualization technologies meant to improve performance of virtual machines. Most of the modern Intel and AMD processors have these as a common feature. However, it may not be enabled automatically in some computers. To enable such a function, you should go to BIOS and turn the function on manually.

AMD-V is often enabled from the start, if the computer supports it. On the contrary, Intel VT-x is often disabled by default. That is why you have to make sure that these virtualization functions are enabled in BIOS, and then turn them on in the virtual machine.

VMware Workstation. Virtual Machine Settings

Step 5. More System Memory

Virtual machines are sensitive to the size of system memory they can access. Every virtual machine includes a full-fledged operating system. That is why you have to divide your computer’s operating system into two separate systems.

Microsoft recommends at least 2 Gb of system memory for its operating systems. Accordingly, such requirement is relevant for a guest operating system on a Windows virtual machine. And if you are going to use third-party resource-intensive software on your virtual machine, then you will need even more system memory to make sure it runs properly.

If after creating a virtual machine it appears to have not enough system memory for normal operation, you can change its settings to add more.

Before doing it, make sure that the virtual machine is turned off. It is also not recommended to assign more than 50% of the actually available virtual memory to the virtual machine.

VirtualBox. Settings

If you have allocated 50% of your PC’s memory to the virtual machine and you don’t see much improvement, your computer may have insufficient memory size to work with virtual machines comfortably. For normal operation of any virtual machine you will need to have 8 Gb of system memory in your main computer.

Step 6. Allocate More CPU Resource

A working virtual machine puts most pressure on the central processing unit (CPU). Therefore, the more CPU resource a virtual machine can use, the better (faster) it will work.

If a virtual machine is installed on a computer with a multi-core CPU, you can allocate several cores for the virtual machine when you work with its settings. A virtual machine using two or more CPU cores will work significantly faster than a machine using only one core.

VMware Workstation. Virtual Machine Settings

It is not recommended to install a virtual machine on a computer with a single-core CPU. Such machine will be too slow and ineffective in performing any tasks.

Step 7. Proper Video Settings

Video settings can also influence performance of a virtual machine. For example, enabling 2D or 3D acceleration in VirtualBox can make some applications work much faster. The same applies to increasing the video memory size.

Yet as well as in case with system memory, much depends on the video card installed in the main computer.

VirtualBox. Settings

Step 8. A Virtual Machine and SSD

The first and the best upgrade for your computer these days is adding an SSD. It will speed up the computer greatly – as well as the virtual machine you have installed.

Some users install virtual machines on another (HDD) disk in their system, and leave SSD for the main operating system only. It makes the virtual machine slower. Free up some space on the SSD and transfer the virtual machine there. You will feel the difference in the speed of work immediately.

If possible, don’t keep virtual machine disks on removable media. They work even slower than any internal HDD. You can try connecting a virtual machine via USB 3.0, but USB 2.0 is hopeless – a virtual machine will be very sluggish.

Step 9. Suspend vs Shutdown

When you stopped working with a virtual machine, you can suspend it instead of shutting it down.

VMware Workstation. Suspend Guest

When starting an application to work with virtual machines next time, you can start a virtual machine as usual. But it will boot much faster, in the same condition and at that moment where you stopped working last time.

Boost VM Performance: Tips for VMware, VirtualBox & Hyper-V

Suspending a guest operating system is very similar to using Hibernate function instead of shutting down your PC.

Step 10. Improving Performance within the Virtual Machine

You should always remember that an operating system installed on a virtual machine is almost the same as the one you have on your main computer. You can improve your virtual machine performance following the same principles and using the same methods that are good for any other operating system.

For example, system performance improves when you close background programs or those starting automatically with the system. System performance can also be affected by the need for defragmentation (if it is installed on an HDD) and so on.

Step 11. Programs to Work with Virtual Machines

Some users argue that Oracle VirtualBox is the fastest application for virtual machines, while others find VMware Workstation or Microsoft Hyper-V to be the best. However, performance of a virtual machine on a particular computer depends on a number of factors including version of the guest operating system, its type, system settings and virtual machine settings, performance of the computer and so on. In any case, you can always try another program.

Feature VMware Oracle VirtualBox Microsoft Hyper-V
Type Commercial (with paid versions and licenses) Free (open source) Free (built into Windows Server and Windows 10/11 Pro/Enterprise)
Platforms Windows, Linux, macOS Windows, Linux, macOS Windows (only x64 versions supported)
Guest OS Support Wide support (Windows, Linux, macOS, BSD, etc.) Wide support (Windows, Linux, macOS, BSD, etc.) Wide support (Windows, Linux, FreeBSD, others)
Interface Graphical interface with additional command-line options Graphical interface, command-line management available Graphical interface (Hyper-V Manager) or command line (PowerShell)
Snapshot Support Yes Yes Yes
Virtual Network Support Yes, supports various network types (NAT, Bridged, Host-Only, etc.) Yes, supports various network types Yes, supports virtual switches and VLANs
Performance High performance, 3D graphics support, excellent resource utilization Lower performance compared to VMware and Hyper-V, but good for basic tasks High performance, tight integration with Windows, security hypervisor support
Management System VMware vSphere/ESXi for server versions, VMware Workstation for workstations Oracle VM VirtualBox (no centralized management for large deployments) Hyper-V Manager, Windows Admin Center, PowerShell
Integration with Other Services High (e.g., VMware vCenter, VMware vSphere, cloud services, etc.) Limited integration with other services Tight integration with other Microsoft products (e.g., Azure, System Center)
Container Support Yes, via VMware Tanzu for container management Limited container support Yes, container support via Windows Containers
Licensing Paid licensing with various versions for workstations and servers Free, open source Free for Windows 10/11 Pro/Enterprise and Windows Server users
Features Support for large infrastructures, cloud solutions, high stability and security Good for home use and small environments, wide OS support Integration with Windows, server support, scalability in enterprise environments
Go to view
🔷 How to Expand a Virtual Machine Disk or Add New Disks in VMware, VirtualBox, Hyper-V 🔷

🔷 How to Expand a Virtual Machine Disk or Add New Disks in VMware, VirtualBox, Hyper-V 🔷

Vladimir Artiukh

Author: , Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: , Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as xaker.ru, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Recommended For You

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat