You are not logged in.

#1 2025-01-28 03:38:10

secretknowledge
Member
Registered: 2023-06-01
Posts: 22

Poor Performance With KVM and QEMU

Hi! Recently I set up a Windows 11 VM (libvirt + kvm + qemu) on my system, only to see that the performance seemed to be terrible, only slightly improved when I changed the topology of my CPU host pass through. I am using the QXL video model, and have a decently powerful system (Ryzen 5 5800x3d + RTX 4070). Can anyone help? I've been a long time Arch Linux user but am new to KVM.

This most likely doesn't matter but in case it helps:
Memory: 16GB
DE: Hyprland (wayland compositor)
Kernel: Linux Zen 6.12.10
Last update: today smile


Arch Linux is love, Arch Linux is life.

Offline

#2 2025-01-28 04:44:38

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 113

Re: Poor Performance With KVM and QEMU

secretknowledge wrote:

Hi! Recently I set up a Windows 11 VM (libvirt + kvm + qemu) on my system, only to see that the performance seemed to be terrible, only slightly improved when I changed the topology of my CPU host pass through.

Hi,

How did you calibrate in order to conclude that the performance is poor? Is this in comparison to other virtual machine setups? What resources have you allocated to your virtual machine?

Offline

#3 2025-01-28 21:57:20

secretknowledge
Member
Registered: 2023-06-01
Posts: 22

Re: Poor Performance With KVM and QEMU

Hi! Sorry for the late response smile

This performance is compared to VMWare Player, using nothing other than the default config. I am allocating 12 vCPUs with a topology of 2 sockets, 3 cores, and 2 threads. I am also giving it 12 GB of memory. One interesting thing I noticed while running the VM is that while moving a window across the screen, an action that causes the VM to lag almost to a standstill, Windows 11 task manager showed 100% CPU usage but btop (on the Linux host) only showed a ~4% increase in CPU usage. Windows also only showed 1 socket for the CPU in Task Manager, even though it should have been 2.

Thank you so much for your help!

edit: grammer and clarity

Last edited by secretknowledge (2025-01-28 21:58:10)


Arch Linux is love, Arch Linux is life.

Offline

Board footer

Powered by FluxBB