Date: Fri, 24 Apr 2020 21:51:49 +0800 From: ykla <yklaxds@gmail.com> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: How to enable tcp bbr in FreeBSD??? Message-ID: <CA%2BPGaYDNm4wPKTgY5z1bdj5OVyfq9UYhKZjs%2BSq_1iD9Yw_8vQ@mail.gmail.com> In-Reply-To: <5ff3b794-671d-9ab8-2127-38cfb6602039@gmail.com> References: <20200424113135.GH39563@home.opsec.eu> <20200424115425.GA64056@mail.bsd4all.net> <20200424131837.GK39563@home.opsec.eu> <20200424.153055.531079989.sthaug@nethelp.no> <20200424133722.GL39563@home.opsec.eu> <5ff3b794-671d-9ab8-2127-38cfb6602039@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
WITH_EXTRA_TCP_STACKS=3D1 in make.conf ? And why not make it in kernel default? =E5=9C=A8 2020=E5=B9=B44=E6=9C=8824=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94=EF= =BC=8CJohan Hendriks <joh.hendriks@gmail.com> =E5=86=99=E9=81=93=EF=BC=9A > > Op 24-04-2020 om 15:37 schreef Kurt Jaeger: > >> Hi! >> >> 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=3D0 >>> sysctl net.inet.tcp.functions_default=3Dbbr >>> >> This fails on the box running 13.0: >> >> # kldload tcp_bbr >> kldload: can't load tcp_bbr: No such file or directory >> >> So it looks it has to be hooked to the build somehow ? >> >> And: man -k bbr has no results as well... >> >> The commit message says the following: > > > This commit adds BBR (Bottleneck Bandwidth and RTT) congestion control. > This > is a completely separate TCP stack (tcp_bbr.ko) that will be built only i= f > you add the make options WITH_EXTRA_TCP_STACKS=3D1 and also include the > option > TCPHPTS. You can also include the RATELIMIT option if you have a NIC > interface that > supports hardware pacing, BBR understands how to use such a feature. > > > So i think you need te rebuild with the following option set > WITH_EXTRA_TCP_STACKS=3D1 > > regards > Johan Hendriks > > _______________________________________________ > 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?CA%2BPGaYDNm4wPKTgY5z1bdj5OVyfq9UYhKZjs%2BSq_1iD9Yw_8vQ>