This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
2. Enabling TCP BBR
quintus edited this page Jan 16, 2021
·
1 revision
This tutorial shows you how to enable TCP BBR on Ubuntu. TCP BBR is a TCP congestion control algorithm developed by Google.
- Make sure the tcp_bbr module exists in that director
# ls /lib/modules/5.10.7-rockchip64/kernel/net/ipv4/tcp_bbr*
/lib/modules/5.10.7-rockchip64/kernel/net/ipv4/tcp_bbr.ko
- Check TCP Congestion Control Algorithms on system. By default, Linux uses the Reno and CUBIC congestion control algorithm.
# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = reno cubic
sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = cubic
- Enable bbr effected even reboot system
# modprobe tcp_bbr
# echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/12-tcp-bbr.conf
# echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/12-tcp-bbr.conf
# sysctl -p
- Check if bbr is enabled.
# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = reno cubic bbr
# sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = bbr
# lsmod | grep bbr
tcp_bbr 24576 6