Throughput on Linux KVM

Started by freeline, November 25, 2018, 12:13:51 AM

Previous topic - Next topic
Hello,

im trying to set up a OPNsense VM with KVM as Hypervisor. I provided to virtio network adapters that correspond to a bridge on the host. For testing I ran two LXD-Containers and measuered the throughput with iperf3:

container -> container (same bridge): 7 GBit/s
container -> Windows VM (same bridge): 7 GBit/s
container -> OPNsense VM (same bridge): 1.7 GBit/s
Windows VM -> OPNSense VM: 1.5 GBit/s
container -> container (routing through OPNsense): 1.3 GBit/s

OPNsense ist in default configuration (no rules configured).
Any Ideas how to improve this?

Thanks,
Volker

VirtIO has really bad performance on FreeBSD in general, try E1000 instead.

Hi,

I tried that but speed goes down to 500 MBit/s, isn't the e1000 limited to 1GBit/s anyway?

Thanks,
Volker