scaleway / kernel-tools

:penguin: Kernels on Scaleway
http://devhub.scaleway.com/#/bootscripts
MIT License
104 stars 36 forks source link

Missing tcp bbr mod #344

Closed ghost closed 6 years ago

ghost commented 7 years ago

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

nullchinchilla commented 7 years ago

Bump; this is a pretty nice feature and there's no reason why TCP BBR could not be integrated.

turbohz commented 7 years ago

Would like to have that option available, if possible.

superseed commented 6 years ago

Hi, TCP_CONG_BBR is enabled as a module in all mainline bootscripts >= 4.9, i.e. right now:

ghost commented 6 years ago

Thanks you very much

iqyiqy commented 6 years ago

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

ghost commented 6 years ago

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