From nobody Thu Nov 16 23:12:35 2023 X-Original-To: net@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 4SWbRD1wmXz51CgW; Thu, 16 Nov 2023 23:12:40 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWbRC3Pdhz3Fkm; Thu, 16 Nov 2023 23:12:39 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:69c4:8554:a779:b3aa]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id 18874721E280D; Fri, 17 Nov 2023 00:12:36 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: Request for Testing: TCP RACK From: tuexen@freebsd.org In-Reply-To: <87o7ftyhkp.wl-herbert@gojira.at> Date: Fri, 17 Nov 2023 00:12:35 +0100 Cc: current@freebsd.org, net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> <87pm09ykb8.wl-herbert@gojira.at> <87o7ftyhkp.wl-herbert@gojira.at> To: "Herbert J. Skuhra" X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Spamd-Bar: ---- 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:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Queue-Id: 4SWbRC3Pdhz3Fkm > On Nov 16, 2023, at 14:05, Herbert J. Skuhra = wrote: >=20 > On Thu, 16 Nov 2023 13:06:03 +0100, "Herbert J. Skuhra" wrote: >>=20 >> Hi, >>=20 >> On Thu, 16 Nov 2023 10:13:05 +0100, tuexen@freebsd.org wrote: >>>=20 >>> Dear all, >>>=20 >>> recently the main branch was changed to build the TCP RACK stack >>> which is a loadable kernel module, by default: >>> = https://cgit.FreeBSD.org/src/commit/?id=3D3a338c534154164504005beb00a3c6fe= b03756cc >>>=20 >>> As discussed on the bi-weekly transport call, it would be great if = people >>> could test the RACK stack for their workload. Please report any = problems to the >>> net@ mailing list or open an issue in the bug tracker and drop me a = note via email. >>> This includes regressions in CPU usage, regressions in performance = or any other >>> unexpected change you observe. >>>=20 >>> You can load the kernel module using >>> kldload tcp_rack >>>=20 >>> You can make the RACK stack the default stack using >>> sysctl net.inet.tcp.functions_default=3Drack >>>=20 >>> Based on the feedback we get, the default stack might be switched to = the >>> RACK stack. >>>=20 >>> Please let me know if you have any questions. >>=20 >> I am running main-n266450-a592812327de with a GENERIC-NODEBUG kernel. >>=20 >> # kldload tcp_rack >> kldload: an error occurred while loading module tcp_rack. Please = check >> dmesg(8) for more details. >>=20 >> In dmesg: >> KLD tcp_rack.ko: depends on tcphpts - not available or version = mismatch >> linker_load_file: /boot/kernel/tcp_rack.ko - unsupported file type >>=20 >> So you have to build a kernel with "options TCPHPTS" first? >=20 > OK, I am now running GENERIC-NODEBUG + "options TCPHPTS". >=20 > After setting "sysctl net.inet.tcp.functions_default=3Drack" git no > longer works: >=20 > # sysctl net.inet.tcp.functions_default=3Drack > $ git pull > client_loop: send disconnect: Broken pipe > fatal: the remote end hung up upon initial contact > # sysctl net.inet.tcp.functions_default=3Dfreebsd > $ git pull > Already up to date. Interesting. It works on my development system: tuexen@head:~/freebsd-src % sysctl net.inet.tcp.functions_default net.inet.tcp.functions_default: rack tuexen@head:~/freebsd-src % git pull Already up to date. tuexen@head:~/freebsd-src % Could you provide a .pcapng file covering the `git pull` command? Best regards Michael >=20 > -- > Herbert