RE: Very slow scp performance comparing to Linux [dd to /dev/null shows substantial FreeBSD vs. Ubuntu differences for bs=1k (or 1K) and bs=512]

From: Wojciech Puchar <wojtek_at_puchar.net>
Date: Sat, 02 Sep 2023 20:16:15 UTC
>>> All
>>>  Why not take scp out of the picture and try iperf? Why , we could be looking
>> at rss by default in Linux .
>
> Actually I did the iperf3 test as well and posted results a couple days ago.
> Pasting here:
>
> FreeBSD iperf3 to localhost, single stream: 30.9 Gb/s
> Linux iperf3 to localhost, single stream: 48.8 Gb/s
>
Yes linux have lower system call latency, and somewhat more optimized 
networking for special cases (like localhost).

For multiple processes using network results will be different.
But probably still be somewhat slower than linux. Just not 40% slower i 
think