From nobody Fri Dec 22 14:23:24 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SxV050RT4z55HLs for ; Fri, 22 Dec 2023 14:23:33 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SxV045kx7z3H5R for ; Fri, 22 Dec 2023 14:23:32 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3BMENOoS065162; Fri, 22 Dec 2023 08:23:24 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1703255005; bh=exqEm6Crde07DlNt0oI87DcbeVuSEZFZ+kVWNC2SG0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qvneSc3Ffa9GcGRZls/kO7SSyA+0XAk4t57vSjFivftMB3IIkiYTPaOqDPv6TL7p2 xStcCN8+0nnL+32x1KVAT6SqTSOw8mwlhJNjOdkx/Gb6gG2+XgsTK64E2cqLGkC2Os 0homkSZd8kzIz+oq0nf0gCWnU615fw4YIA+wGpZGRs0K4jeZJqzp1m0qKKpYTuoPDv Nhje892dRK1TCQcn4ZP3QRHFQEszBaMsfMhm2KMGrKo1Rz5feJqWU9wCwSDUJ6tSZq qhjw8hjHf38nZ8LVJs+hWiTzKE5d6Vdd1iiLRafvMwJAPBbsYsRgKJQ98LmVkBrHnR UyvSIRk/4BP8g== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id DJNBNNybhWWI/gAAs/W3XQ (envelope-from ); Fri, 22 Dec 2023 08:23:24 -0600 From: Mike Karels To: Steve Bernacki Cc: freebsd-arm@FreeBSD.org Subject: Re: FreeBSD 14.0-RELEASE and Raspberry Pi CM4 4GB Date: Fri, 22 Dec 2023 08:23:24 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: <445940f7-e8f1-4dbc-87be-99bfd705141d@copacetic.net> References: <445940f7-e8f1-4dbc-87be-99bfd705141d@copacetic.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SxV045kx7z3H5R On 22 Dec 2023, at 6:20, Steve Bernacki wrote: > I recently purchased a RPI CM4 with 4GB and 32GB eMMC to replace my agi= ng FreeBSD firewall. I managed to install FreeBSD 14.0-RELEASE-p3 on it, = and both Ethernet devices (genet0 and ue0) were properly identified. Howe= ver, network throughput on my gigabit network is pretty bad; iperf3 repor= ts a maximum transfer speed of 291 Mbits/sec. Flashing OpenWRT on the sam= e hardware using the same ethernet port, I'm able to achieve 923 Mbits/se= c. > > Does anyone have any suggestions on how to improve throughput under Fre= eBSD? > > 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 pe= ers were fairly fast FreeBSD 13.2 and 15-current systems. Are you seeing retransm= issions? I'll try to look into this, but I'm not sure when I'll get to it. Mike