Closed ghost closed 6 years ago
Bump; this is a pretty nice feature and there's no reason why TCP BBR could not be integrated.
Would like to have that option available, if possible.
Hi, TCP_CONG_BBR is enabled as a module in all mainline bootscripts >= 4.9, i.e. right now:
Thanks you very much
I know It needs to be manually enabled. echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
Make sure you change your boot kernel to one of above, i choose 4.13.9 rev1.
[huzhifeng@scw-4df604 ~]$ cat /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv4.tcp_tw_reuse = 1
vm.swappiness = 1
vm.max_map_count = 262144
fs.inotify.max_user_watches = 262144
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
[huzhifeng@scw-4df604 ~]$ lsmod | grep bbr
tcp_bbr 20480 143
I choose upgrade to linux 4.10.8 docker kernel, but seems your kernel lacks tcp bbr module
net.core.default_qdisc = fq sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory net.ipv4.tcp_congestion_control = bbr