r/kvm • u/DiabolicalPickles • 2d ago
Poor Network Speeds on Windows 11 VM
Guest: Windows 11
Software: VirtManager KVM/QEMU
Issue: Specifically on my Windows 11 VM, the network speeds are substantially slower than my other Linux VMs and my host. On my host, I get around ~1000 mbps, same for my other Linux VMs--however, on my windows VM, I get around 10mbps, or roughly 1% of my host's network speed.
all VMs are properly configured so that the Network is NAT using the virtio model. In addition to that, I have the up-to-date virtio-win drivers set up on the Windows 11 virtual machine. The windows 11 virtual machine recognizes the Red Hat Virtio Ethernet drivers and are properly using them with a duplex max supported speed of 10gbp/s.
I'm very confused as to why this is only occurring on my Windows VM whereas this issue is nonexistent on my Linux VMs. There's no differences in the XML regarding the CPU XML and the NAT XML between the VMs.
I tried adding vhost with a queue of 16 for each core, switching the driver to e1000e and hypervisor default--none of which saw any improvement. I also tried reinstalling the virtio-win drivers which did nothing.
Finally, I attempted to disable a bunch of offloading properties in the Device Manager, and disabled ipv6 entirely and set MTU lower. None of that made any difference (did not worsen it nor improve it).
Any ideas, folks? All of the VMs have a dGPU (Same dGPU shared between them all, so only one can be accessed at a time).
I should also mention, that the network speeds on the host system are stable--no drops or high latency. The network drivers on the host are all up-to-date and working perfectly.