From owner-freebsd-current@freebsd.org Fri Apr 24 19:25:23 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C4502C05B9 for ; Fri, 24 Apr 2020 19:25:23 +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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4983zQ3SP1z42BW for ; Fri, 24 Apr 2020 19:25:21 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:6d65:7e3d:1339:bcbd] (unknown [IPv6:2a02:8109:1140:c3d:6d65:7e3d:1339:bcbd]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id A82A67213B004; Fri, 24 Apr 2020 21:25:18 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: How to enable tcp bbr in FreeBSD??? From: Michael Tuexen In-Reply-To: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net> Date: Fri, 24 Apr 2020 21:25:18 +0200 Cc: "Herbert J. Skuhra" , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <26592FE0-4649-47B1-91F4-4369775B90A8@freebsd.org> References: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net> To: "Rodney W. Grimes" X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4983zQ3SP1z42BW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.80 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.82)[-0.819,0]; NEURAL_HAM_LONG(-0.98)[-0.983,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2020 19:25:23 -0000 > On 24. Apr 2020, at 21:06, Rodney W. Grimes = wrote: >=20 >> On Fri, Apr 24, 2020 at 01:31:35PM +0200, Kurt Jaeger wrote: >>>=20 >>> Thanks. Is BBR active automatically or is there a sysctl or >>> socket option to activate it ? >>=20 >> net.inet.tcp.cc.available: List available congestion control = algorithms >> net.inet.tcp.cc.algorithm: Default congestion control algorithm >=20 > Start at: > man mod_cc BBR is conceptually a CC, but in FreeBSD it is NOT implemented as a CC = module. It is a TCP stack. You need to load it using kldload tcp_bbr and then either make it the default by sudo sysctl net.inet.tcp.functions_default=3Dbbr or use the IPPROTO_TCP level socket option TCP_FUNCTION_BLK to set the = stack to BBR. The uperf test tool allows to set the TCP stack for = measurements. Please note that you need to compile the kernel with makeoptions WITH_EXTRA_TCP_STACKS=3D1 options TCPHPTS Best regards Michael >=20 >=20 > --=20 > Rod Grimes = rgrimes@freebsd.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"