Re: FreeBSD 14.0-RELEASE and Raspberry Pi CM4 4GB

From: Mike Karels <mike_at_karels.net>
Date: Fri, 22 Dec 2023 14:23:24 UTC
On 22 Dec 2023, at 6:20, Steve Bernacki wrote:

> I recently purchased a RPI CM4 with 4GB and 32GB eMMC to replace my aging FreeBSD firewall. I managed to install FreeBSD 14.0-RELEASE-p3 on it, and both Ethernet devices (genet0 and ue0) were properly identified. However, network throughput on my gigabit network is pretty bad; iperf3 reports a maximum transfer speed of 291 Mbits/sec. Flashing OpenWRT on the same hardware using the same ethernet port, I'm able to achieve 923 Mbits/sec.
>
> Does anyone have any suggestions on how to improve throughput under FreeBSD?
>
> Thank you
> Steve

I just tested with an RPi4 (4 GB) and 14.0 using iperf3.  It looks like I'm getting
a rather variable number of retransmissions.  On my first run (client on RPi 4),
I got 460 Mb/s with a lot of retransmissions, but the next couple of runs, including
one receiving, I got about 940 Mb even with some retransmissions.  The peers were
fairly fast FreeBSD 13.2 and 15-current systems.  Are you seeing retransmissions?

I'll try to look into this, but I'm not sure when I'll get to it.

		Mike