From nobody Sat Nov 18 18:35:16 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 4SXjBQ6tXXz51S6S; Sat, 18 Nov 2023 18:35:26 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXjBQ6PSdz3cMB; Sat, 18 Nov 2023 18:35:26 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700332526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Nm5hXl77sQqNNSlm4+XGZ7JYr8GOwZJC3kEyC3oFaFk=; b=okZ1BkSGOPZxpzLyn7PY99ezlYFHWQV8tx4FzVmvt2uq+G6avlqKgn1v6B2xzC6HENyTUF U0PWDOXv4I0UIHIoIqFbZ7LyZHdqyrIV4iFjvIeB5iI9qsPVpv6Ray5FDQVk5/wW56vT+u beJFHri4O+iZPHKy6JsMyWvy1R8RqaYbBzvR+k+n8qRLPRl8jkJpDPpIDdfUBgbBmeXifc zbdHdE5g7nYRlxwNJfg2CdMnxeAYKs9b+7NNJji4tYVfqQXptX4+TXOU1E0DB7IJc5+2il ExdFagDF6xJiphK8CEpW9Grrg1ZIIOye6fOre4pfdGbTECTvftbUWYU/E/vg5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700332526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Nm5hXl77sQqNNSlm4+XGZ7JYr8GOwZJC3kEyC3oFaFk=; b=ZyrewlmDvOSg2CzNoCNBxgYtlLgADhiLGguCHhn/gKgnZEgMPpb+pN6n7/taGzJ0v5umQI fdullKUElO0DpYqgGRxSHhbQmPlPUObCYuJNkeWrvK3UVkKAgUWKISPwFxaKat3AJUDeQz nUjuNNcjltwfT+evu0oRjF3mOHaHALhObakzaBjalNxCdM1FaXB+/XfAV64tFFNm5OBwvQ Jx1UfZyWCcQK+9wYX8SfaXCE7oK1vFERDDO3lF9V30XglPnb+LZHYQGQpDL5bHw7l7HdqK jwuGTZ1pgdgnbQ7l0DgMz48mcDQ7CYC+a3P4jzLP2RYczpDZTdfXa1uxPvV3zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700332526; a=rsa-sha256; cv=none; b=Tpg6AGzNQUbwiqJ45fspgZS4t8GJDeRnQlIK7+RPkpnm1NapZy+mVj9KIUHEHZXSyG0DJZ pwMqcuRn08h1YG5VC6em2nXKGc2fR06L+/shFBa2PGMC/GroYhbpYSOGOfWoGFv5LRm8fT 4wrMrKmB68+z5UxTkZuFfyiCDYMGeqdabdQTDug//4AG1IGnWm2D//LDfB65nh1KO2ZkC6 UHKaAg7s6amjl+DvJxTLVex+CKmcOt1XeU9wJXWrP+PMtaSR+DpldjtuO5GH0AYFFSpRSL V3QRbCb4FcB/aP/vBeSn9NtBpySmzUYGTD4chGj5avBtJwdzovwmdbvEqYcdPg== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SXjBP4rKVz10tK; Sat, 18 Nov 2023 18:35:25 +0000 (UTC) (envelope-from zlei@FreeBSD.org) 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 \(3696.120.41.1.4\)) Subject: Re: Request for Testing: TCP RACK From: Zhenlei Huang In-Reply-To: <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> Date: Sun, 19 Nov 2023 02:35:16 +0800 Cc: current@freebsd.org, net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <941203D6-3A72-48A4-8C2C-F59C964199A9@FreeBSD.org> References: <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> To: tuexen@freebsd.org X-Mailer: Apple Mail (2.3696.120.41.1.4) > On Nov 16, 2023, at 5:13 PM, 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. I see some performance regression with the rack stack. This is iperf3 test on local host (bare metal, an old i5 2 cores 4 = threads MBP). freebsd: 16.1 Gbits/sec rack: 12.3 Gbits/sec The congestion control algorithm is cubic. Note this is a quick test with DEBUG options enabled. I'll try with no debug options and report later. >=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 > Best regards > Michael >=20 >=20 >=20 Best regards, Zhenlei