From owner-freebsd-current@freebsd.org Fri Apr 24 21:41:46 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 005842C3626 for ; Fri, 24 Apr 2020 21:41:46 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49870n1PtCz4B89; Fri, 24 Apr 2020 21:41:44 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id E6057B2D7F; Fri, 24 Apr 2020 14:41:35 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 24 Apr 2020 14:41:35 -0700 From: Neel Chauhan To: Michael Tuexen Cc: "Rodney W. Grimes" , "Herbert J. Skuhra" , freebsd-current@freebsd.org Subject: Re: How to enable tcp bbr in FreeBSD??? In-Reply-To: <26592FE0-4649-47B1-91F4-4369775B90A8@freebsd.org> References: <202004241906.03OJ62ZD086284@gndrsh.dnsmgr.net> <26592FE0-4649-47B1-91F4-4369775B90A8@freebsd.org> User-Agent: Roundcube Webmail/1.4.2 Message-ID: X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 49870n1PtCz4B89 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 2001:19f0:8001:fed:5400:2ff:fe73:c622 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-4.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a]; IP_SCORE(-3.19)[ip: (-9.70), ipnet: 2001:19f0:8000::/38(-4.85), asn: 20473(-1.34), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:8000::/38, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; 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 21:41:46 -0000 Not OP, but would BBR work with VNET, or is that a WIP? I'm sorry if none of you are familiar with VNET. -Neel === https://www.neelc.org/ BTW: Not neel@ the committer 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=bbr > 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=1 > 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"