Date: Fri, 24 Apr 2020 21:25:18 +0200 From: Michael Tuexen <tuexen@freebsd.org> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: "Herbert J. Skuhra" <herbert@gojira.at>, freebsd-current@freebsd.org Subject: Re: How to enable tcp bbr in FreeBSD??? Message-ID: <26592FE0-4649-47B1-91F4-4369775B90A8@freebsd.org> In-Reply-To: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net> References: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 24. Apr 2020, at 21:06, Rodney W. Grimes = <freebsd-rwg@gndrsh.dnsmgr.net> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26592FE0-4649-47B1-91F4-4369775B90A8>