I have a Windows 10 KVM VM on Ubuntu 20.04. The host has dual 10 GbE adapters configured as LACP bond and there's a bridge interface for the VM and it's on the same LAN as the host.
Windows has VirtIO driver version 100.77.104.17100.
Testing with iperf from the Ubuntu host to another host on the LAN I can get over 8 Gbps without any tuning.
But running iperf between the Windows VM and the Ubuntu host, so it doesn't even leave the box, I get only about 1 Gbps, sometimes short bursts little over that. If I run parallel iperfs the aggregate is about 2.4 Gbps.
What might be the bottleneck here? Driver issue perhaps or some tuning required?