Date: Sun, 20 Jun 2021 15:41:05 +0100 From: Denis Ovsienko <denis@ovsienko.info> To: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B and pitiful network speeds Message-ID: <20210620154105.0c83bbcc@basepc> In-Reply-To: <169baf0b-3f3c-f1dc-4a6f-b8a0ef863f51@denninger.net> References: <fcd91ac5-c807-3409-d1b6-a41ba6fdc362@gmail.com> <20210620144513.1f91a68f@basepc> <169baf0b-3f3c-f1dc-4a6f-b8a0ef863f51@denninger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Jun 2021 09:48:35 -0400 Karl Denninger <karl@denninger.net> wrote: > > In case you need another reference point, my RPI3B (revision A22082) > > sustains at about 50Mbit/s downloading from LAN over SFTP when it > > runs NetBSD 9.2. =20 >=20 > The Pi2 and 3 both run Ethernet through the USB controller, which=20 > significantly impacts performance.=C2=A0 IMHO it simply isn't capable of= =20 > being a high-performance network device due to architectural > considerations. I have just looked at the SFTP test closer. It looks like the bottleneck is not network, but something related to CPU and filesystem access: plain TCP download sustains at 100Mb/s (12.5MB/s) when done by nc reading from /dev/zero at my PC and writing to /dev/null at the RPI3B. The LAN between the two ends is a hardware switch plus a Linux bridge plus an OpenBSD bridge (FreeBSD/RPI is also a good part of this setup, but I am not ready to test it on the RPI3B right now). Notwithstanding your point, under right conditions NetBSD 9.2 can fully utilize the RPI3B's 100Mbit/s Ethernet interface, at least in one direction at a time. Hopefully that means it should be possible in FreeBSD too. --=20 Denis Ovsienko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210620154105.0c83bbcc>