For some time I wanted to try GPU passthrough on an Asus H110M-K D3 motherboard with an i3-6100 CPU and an Nvidia GTX 1060 GPU, but couldn’t find the time. Now I finally had a chance to give it a try. While the preparations were easy, I ran into a problem when starting the Windows 10 VM:
Jan 22 15:21:24 alon-i3 kernel: [ 108.514992] vfio_pin_pages_remote: RLIMIT_MEMLOCK (16777216) exceeded
Continue reading “GPU Passthrough with Intel i3-6100 CPU”
When running a VM with GPU passthrough, that GPU should be bound to the VFIO driver. To make this happen, we need to prevent the regular graphics driver from binding to the passthrough GPU and instead bind the vfio-pci driver.
The most common way to do this is by blacklisting the graphics driver. This works in most cases, but what if you need the graphics driver for another GPU, e.g. the host GPU? Continue reading “Blacklisting Graphics Driver”
Qemu/kvm provides you with a plethora of ways to configure your storage devices. Yet no other type of device shows such a variance in its performance, with disk I/O throughput anywhere from stellar to abysmal using the very same hardware.
In this post I like to show some configuration options that have worked well for me. For an in-depth presentation on the latest developments and features, with hands-on examples, see Storage Performance Tuning for FAST! Virtual Machines. Continue reading “Tuning VM Disk Performance”
Before you get your hopes high, this post is not (yet?) a tutorial on creating a Windows 10 virtual machine using the Virtual Machine Manager (virt-manager) GUI. It should have been, though. I spent the better part of a week trying to configure and install a Windows 10 VM that delivers the performance that I’m used to.
As it turns out, it was a failure. Don’t get me wrong, I did manage to configure and run Windows using virt-manager and virsh. I even installed it multiple times, changing the configuration to what I hoped would improve performance. But whatever I tried, I never got even near the speed and snappiness that I achieve by following my tutorial using a start script.
Continue reading “Creating a Windows 10 Virtual Machine Using the Virtual Machine Manager (virt-manager)”
You may wonder what’s wrong with this fellow (meaning me, the author). Has he completely lost his mind when he proposes a Linux virtual gaming machine? Before you discredit the idea, let me explain. Continue reading “Linux Virtual Gaming Machine”
Installing a Linux Mint 19 VM (or Ubuntu 18.04) with VGA passthrough is surprisingly straightforward. This tutorial follows the Running Windows 10 on Linux using KVM with VGA Passthrough almost step-by-step. I will therefore focus on what’s different from the above tutorial.
While booting the Linux Mint 19 life installation media (ISO) as a VM was easy, the installation of Linux Mint invariably ended with the following error:
The ‘grub-efi-amd64-signed’ package failed to install target/
The following tutorial will describe the steps to overcome this problem (bug?). Continue reading “Installing a Linux Mint 19 (Ubuntu 18.04) VM with VGA Passthrough”
Benchmarking Performance of a Virtual Machine
I have run a number of benchmarks to document the performance of Windows 10 running as a virtual machine on Linux, in the hope other PC users will dive into the fascinating world of virtualization.
Benchmarks are helpful in comparing one system with another, and one configuration with another. I use them for optimizing my Windows 10 performance and for making sure that updates/upgrades haven’t produced unwanted side effects. Continue reading “Windows 10 Virtual Machine Benchmarks”
Problem: bad 2D performance in Windows VM versus Windows on bare metal
For the past few months I noticed sluggish 2D graphics in my Windows 10 VM, something that hadn’t happened before. Below are the Passmark 8 results and comparisons between different configurations/releases: Continue reading “Low 2D Graphics Benchmark with Windows 10 (1803) KVM VM”
I just upgraded my Linux Mint Mate 18.3 installation to Linux Mint Mate 19, using the mintupgrade utility. It required some manual fixes, but all in all it went smooth.
Below the first UserBenchmark using Linux Mint 19 with updated qemu/kvm packages:
UserBenchmarks: Game 60%, Desk 76%, Work 67%
CPU: Intel Core i7-3930K – 86.8%
GPU: Nvidia GTX 970 – 58.5%
SSD: Red Hat VirtIO 140GB – 72.1%
HDD: Red Hat VirtIO 2.5TB – 87.1%
HDD: Red Hat VirtIO 2TB – 51.7%
RAM: QEMU 1x16GB – 77.3%
MBD: QEMU Standard PC (Q35 + ICH9, 2009)
Help Support this Website
If you find the information on this website useful, consider a contribution.
I’m running Linux Mint 18.3 which is based on Ubuntu 16.04 Xenial. Until yesterday I used the Personal Packet Archive ppa:jacob/virtualisation to get more up-to-date releases of Qemu, libvirt, and virt-manager.
Ubuntu and Linux Mint recently released security updates for their official (but old) qemu and libvirt packages to address the Meltdown and Spectre vulnerabilities. Unfortunately the Ubuntu 16.04 releases in the ppa:jacob/virtualisation archive have not been updated, judging from the upload date. Continue reading “Qemu and libvirt security – ppa:jacob/virtualisation”