From owner-freebsd-current@freebsd.org Fri Apr 24 21:44:33 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 EA5072C3C90 for ; Fri, 24 Apr 2020 21:44:33 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (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 4987415kxBz4Bgw for ; Fri, 24 Apr 2020 21:44:33 +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 1C395722B8822; Fri, 24 Apr 2020 23:44:31 +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: Date: Fri, 24 Apr 2020 23:44:30 +0200 Cc: "Rodney W. Grimes" , "Herbert J. Skuhra" , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5845EA22-8BF3-4294-A8D6-7F21E1318F06@freebsd.org> References: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net> <26592FE0-4649-47B1-91F4-4369775B90A8@freebsd.org> To: Neel Chauhan 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: 4987415kxBz4Bgw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.82 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.83)[-0.833,0]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; ASN(0.00)[asn:680, ipnet:2001:638::/32, 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 21:44:34 -0000 > On 24. Apr 2020, at 23:41, Neel Chauhan wrote: >=20 > Not OP, but would BBR work with VNET, or is that a WIP? I would say it should work. At least, if not I would consider it a bug. I think most testing was not done with multiple VNETs. Best regards Michael >=20 > I'm sorry if none of you are familiar with VNET. >=20 > -Neel >=20 > =3D=3D=3D >=20 > https://www.neelc.org/ > BTW: Not neel@ the committer >=20 > On 2020-04-24 12:25, Michael Tuexen wrote: >>> On 24. Apr 2020, at 21:06, Rodney W. Grimes = wrote: >>>> On Fri, Apr 24, 2020 at 01:31:35PM +0200, Kurt Jaeger wrote: >>>>> Thanks. Is BBR active automatically or is there a sysctl or >>>>> socket option to activate it ? >>>> net.inet.tcp.cc.available: List available congestion control = algorithms >>>> net.inet.tcp.cc.algorithm: Default congestion control algorithm >>> 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 >>> -- >>> 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" >> _______________________________________________ >> 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"