very low performance tcp/rsh

Wojciech Puchar wojtek at puchar.net
Mon Apr 29 19:22:09 UTC 2019


create 32GB hole-file

dd if=/dev/zero of=test bs=32k seek=1m count=0

fetch -o /dev/null over ftp (proftpd) gives 1.4GB/s

proftpd consumed 100% of single core. much better.

tested with FreeBSD ftpd  - 1.7GB/s

seems like freebsd can saturate 10Gb/s ethernet with single core (Intel(R) 
Xeon(R) CPU E5-2620 v4 @ 2.10GHz)


Still where is the most overhead? one memcopy to packet buffers+creating 
packet headers (send).

reception is on separate process taking another core.


still - quite good. But compared to filesystem overhead - large.


More information about the freebsd-hackers mailing list