(I am not saying that Feebsd is slower as my method of testing can be severely flawed)
I was benchmarking LAN with iperf3, both systems at "factory" settings but test where FreeBSD is server, I always get few MBytes/sec less than in opposite configuration (FreeBSD server, Ubuntu client). Both systems are vanilla regarding networking, I have tried calomel.org network optimization settings but result for FreeBSD as a server is always under 100 MBytes/sec ranging from 92 to 96. I have tried switching router ports but there is no difference.
Zero background traffic.
In both cases integrated Intel(R) PRO/1000 is used, the Ubuntu laptop (Thinkpad P51) has i7-7820HQ while Freebsd i5-9600K. It might be hardware issue =/
It somehow pisses me off and I would like to understand the reason / have a fix.
I was benchmarking LAN with iperf3, both systems at "factory" settings but test where FreeBSD is server, I always get few MBytes/sec less than in opposite configuration (FreeBSD server, Ubuntu client). Both systems are vanilla regarding networking, I have tried calomel.org network optimization settings but result for FreeBSD as a server is always under 100 MBytes/sec ranging from 92 to 96. I have tried switching router ports but there is no difference.
Zero background traffic.
In both cases integrated Intel(R) PRO/1000 is used, the Ubuntu laptop (Thinkpad P51) has i7-7820HQ while Freebsd i5-9600K. It might be hardware issue =/
It somehow pisses me off and I would like to understand the reason / have a fix.
Code:
FreeBSD 12.1-RELEASE-p9
Linux 5.4.0-47-generic
iperf3 -s -f M
iperf3 -c a.a.a.a -f M -t 60
Freebsd as server, ubuntu client:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 5.66 GBytes 96.5 MBytes/sec 0 sender
[ 5] 0.00-60.00 sec 5.66 GBytes 96.5 MBytes/sec receiver
Ubuntu as server, Freebsd client:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 6.37 GBytes 109 MBytes/sec 0 sender
[ 5] 0.00-60.26 sec 6.37 GBytes 108 MBytes/sec receiver
---
Freebsd as server, ubuntu client 1:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 2.88 GBytes 49.2 MBytes/sec 0 sender
[ 5] 0.00-60.00 sec 2.88 GBytes 49.2 MBytes/sec receiver
Freebsd as server, ubuntu client 2:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 2.90 GBytes 49.4 MBytes/sec 0 sender
[ 5] 0.00-60.00 sec 2.90 GBytes 49.4 MBytes/sec receiver
Ubuntu as server, Freebsd client 1:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.00 sec 3.22 GBytes 55.0 MBytes/sec 0 sender
[ 5] 0.00-60.30 sec 3.22 GBytes 54.7 MBytes/sec receiver
Ubuntu as server, Freebsd client 2:
[ 5] 0.00-60.00 sec 3.37 GBytes 57.5 MBytes/sec 0 sender
[ 5] 0.00-60.10 sec 3.37 GBytes 57.4 MBytes/sec receiver