From owner-freebsd-current@freebsd.org Fri Apr 24 13:31:05 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 697EC2B4455 for ; Fri, 24 Apr 2020 13:31:05 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [IPv6:2001:8c0:9e04:500::1]) by mx1.freebsd.org (Postfix) with ESMTP id 497w6c392Yz4Ll0; Fri, 24 Apr 2020 13:31:04 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from localhost (bizet.nethelp.no [IPv6:2001:8c0:9e04:500::1]) by bizet.nethelp.no (Postfix) with ESMTP id 6D75EE6079; Fri, 24 Apr 2020 15:30:55 +0200 (CEST) Date: Fri, 24 Apr 2020 15:30:55 +0200 (CEST) Message-Id: <20200424.153055.531079989.sthaug@nethelp.no> To: pi@freebsd.org Cc: herbert@gojira.at, freebsd-current@freebsd.org Subject: Re: How to enable tcp bbr in FreeBSD??? From: sthaug@nethelp.no In-Reply-To: <20200424131837.GK39563@home.opsec.eu> References: <20200424113135.GH39563@home.opsec.eu> <20200424115425.GA64056@mail.bsd4all.net> <20200424131837.GK39563@home.opsec.eu> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 497w6c392Yz4Ll0 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sthaug@nethelp.no designates 2001:8c0:9e04:500::1 as permitted sender) smtp.mailfrom=sthaug@nethelp.no X-Spamd-Result: default: False [3.87 / 15.00]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[nethelp.no]; NEURAL_SPAM_MEDIUM(0.28)[0.284,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.94)[0.943,0]; FROM_NO_DN(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2116, ipnet:2001:8c0::/29, country:NO]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.24)[asn: 2116(1.23), country: NO(-0.02)]; ONCE_RECEIVED(0.10)[] 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 13:31:05 -0000 > On my FreeBSD 13.0-CURRENT amd64 r359631M system: > > $ sysctl -a | grep net.inet.tcp.cc > [...] > net.inet.tcp.cc.available: newreno > net.inet.tcp.cc.algorithm: newreno > > So it's more recent than the patch, but it does not offer anything > besides newreno ? Quoting an email here: You can enable the stack globally on new connections without restarting the box or daemons by running these commands: kldload tcp_bbr sysctl net.inet.tcp.functions_inherit_listen_socket_stack=0 sysctl net.inet.tcp.functions_default=bbr Steinar Haug, Nethelp consulting, sthaug@nethelp.no