From nobody Fri Dec 22 12:20:14 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 4SxRFs1FzVz558rN for ; Fri, 22 Dec 2023 12:20:17 +0000 (UTC) (envelope-from steve@copacetic.net) Received: from starlight.copacetic.net (starlight.copacetic.net [166.78.105.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SxRFr4mszz4bV5 for ; Fri, 22 Dec 2023 12:20:16 +0000 (UTC) (envelope-from steve@copacetic.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of steve@copacetic.net designates 166.78.105.238 as permitted sender) smtp.mailfrom=steve@copacetic.net; dmarc=none Received: from [172.16.200.151] (c-73-149-127-197.hsd1.ma.comcast.net [73.149.127.197]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by starlight.copacetic.net (Postfix) with ESMTPSA id 7EDC84AC09 for ; Fri, 22 Dec 2023 12:20:15 +0000 (UTC) Message-ID: <445940f7-e8f1-4dbc-87be-99bfd705141d@copacetic.net> Date: Fri, 22 Dec 2023 07:20:14 -0500 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 User-Agent: Mozilla Thunderbird To: freebsd-arm@FreeBSD.org Content-Language: en-US From: Steve Bernacki Subject: FreeBSD 14.0-RELEASE and Raspberry Pi CM4 4GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.71)[-0.714]; R_SPF_ALLOW(-0.20)[+ip4:166.78.105.238]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:19994, ipnet:166.78.64.0/18, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@FreeBSD.org]; ARC_NA(0.00)[]; DMARC_NA(0.00)[copacetic.net]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; FREEFALL_USER(0.00)[steve]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SxRFr4mszz4bV5 X-Spamd-Bar: -- 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