And yet my RPi4 can't get more than 9.1MB/s over ssh when wired to cat5e, or 17.14MB/s over netcat. I know the connection is good as testing with my laptop I can get gigabit speeds, but the pi insists on being sluggish.
I just setup my rpi4 as a gigabit router with a USB Ethernet for the wan port. I can hit 980mbps and negligible latency. It’s got slightly more spread on small packet sizes compared to a 300$ gaming wifi router. Where it really sucks is VPN and cryptography since there is no hardware acceleration. It sits mostly idle just doing nat and ipv6 forwarding (and pihole)
I’m going to document it once i work out the kinks. Ipv6 was a real learning experience and had to workaround issues with lack of good native ipv6 support in the tooling and configuration.
That's not the networking performance though. RP4 can hit line speed on Gb Ethernet:
pi@kodi:~ $ cat /proc/cpuinfo | grep Rasp
Model : Raspberry Pi 4 Model B Rev 1.1
pi@kodi:~ $ uname -a
Linux kodi 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
pi@kodi:~ $ iperf -c 192.168.0.39
------------------------------------------------------------
Client connecting to 192.168.0.39, TCP port 5001
TCP window size: 214 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.214 port 44960 connected with 192.168.0.39 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.04 GBytes 891 Mbits/sec