On 2020-05-04 06:42, Kalle Kadakas wrote:
Greetings OpenBSD community, I am running into severe bandwidth limitations whilst passing traffic through an OpenBSD firewall. The NIC in use is an Intel 10Gb 2-port X520 adapter from which I would hope to pass through at least 7Gbps+, yet the best results I have gotten is only around 3.5Gbps. The results of bandwidth measurements (iperf for 30sec...
As has been discussed on misc previously, iperf is not suitable for benchmarking networking throughput on OpenBSD. It ends up just benchmarking the gettimeofday syscall (something that is cheap on Linux, but relatively expensive on OpenBSD I'm told). For best results, use tcpbench for your OpenBSD networking benchmarks.