Collection of settings to improve performance with VirtualBox running a Windows 10 guest:
1. Enable "EFI"
2. Use default disk-setting (VDI) and dynamic disk.
3. Check disk-option "Solid-state disk"
4. Choose display adapter "VBoxSVGA" and enable "3D Acceleration"
5. Set RAM-size and activate 2-4 PC-Cores.
6. Check the option "Enable PAE/NX" to have it enabled.
7. Set "shared clipboard" and "drag-n-drop" (Menu "General" / "Advanced")
8. Add shared folder with auto-mount for entire "C-drive" (will show up as "C_DRIVE" in guest OS)
REM Turn off Hyper-V to not interrupt VirtualBox
bcdedit /set hypervisorlaunchtype off
Or run ".\DG_Readiness_Tool_v3.6.ps1 -Disable" using PowerShell-script from link below:
https://www.microsoft.com/en-us/download/details.aspx?id=53337
Check Hyper-V status using Powershell-command below:
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
(seems that the command might show "enabled", but that VirtualBox still can run with hardware acceleration..)
Other software for emulation:
https://www.qemu.org
How to Download, Install, and Use QEMU on Windows 10:
https://www.minitool.com/partition-disk/qemu-for-windows.html
Nr | Description |
---|---|
1 | Enable Nested Paging: Nested Paging can significantly improve performance. It's usually enabled by default, but it's good to double-check under the System settings of your virtual machine. |
2 | Allocate Sufficient Memory (RAM): Windows 10 typically requires at least 4GB of RAM for decent performance, but if your host system has more available, allocating 6GB or 8GB can enhance performance. |
3 | Enable 2D and 3D Acceleration: Under Display settings, enable 2D and 3D acceleration. This can improve graphics performance and responsiveness. |
4 | Enable VT-x/AMD-V and Nested Paging: In the System settings, under the Acceleration tab, make sure that both VT-x/AMD-V and Nested Paging are enabled if your CPU supports them. |
5 | Enable I/O APIC: Under the System settings, go to the Motherboard tab and make sure "Enable I/O APIC" is checked. This can improve system compatibility and performance. |
6 | Enable Host I/O Cache: Under the Storage settings, make sure that "Use Host I/O Cache" is enabled. This can improve disk I/O performance. |
7 | Set number of processor cores. (2-4 or within "green area") |
General tips:
Use the Latest VirtualBox Version: Make sure you're using the latest version of VirtualBox as newer versions often come with performance improvements and bug fixes.
Use Virtual Disk Dynamically: Use dynamically allocated virtual disks rather than fixed-size disks. This allows the virtual disk to grow as needed, which can save disk space and potentially improve performance.
Install Guest Additions: Install VirtualBox Guest Additions in the Windows 10 virtual machine. This provides better integration between the host and guest systems and can improve performance.
Use SSD for Virtual Disks: If possible, store your virtual disk files on an SSD rather than a traditional HDD. This can significantly improve disk I/O performance.
- Log in to post comments
Comments
Links to info on VirtualBox
Configuring GPU / 3d-acceleration:
https://www.xda-developers.com/how-use-gpu-virtualbox/
Installing guest-additions on Ubuntu:
https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Remove annoying info-panel in VirtualBox
Start CMD and run command below to remove the annoying info-panel that is shown when a virtual PC is started.
VirtualBox temp-fix when mouse-click stops working
Info below from https://forums.virtualbox.org/viewtopic.php?t=79034&start=15
One better workaround might be (which works for me) to navigate to a host terminal window and there in the terminal list running vms with
and then save the state (in my case something like):
For me this reactivates mouse events on the host which makes me believe it indeed is a virtualbox problem. This will at least not force you to close down the VM and loose your work, but make you be able to keep the work in the VM.
It is still a pain in the ass, but a bit more tolerable.