OPNsense Forum

English Forums => Hardware and Performance => Topic started by: freeline on November 25, 2018, 12:13:51 am

Title: Throughput on Linux KVM
Post by: freeline on November 25, 2018, 12:13:51 am
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
Title: Re: Throughput on Linux KVM
Post by: mimugmail on November 25, 2018, 06:11:15 am
VirtIO has really bad performance on FreeBSD in general, try E1000 instead.
Title: Re: Throughput on Linux KVM
Post by: freeline on November 25, 2018, 02:15:38 pm
Hi,

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

Thanks,
Volker