Ubuntu 或 Debian 开启 BBR

需要 Linux 内核 4.9 及以上版本

1.修改系统变量

1
2
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

2.保存生效

1
sysctl -p

3.查看是否已经开启

1
sysctl net.ipv4.tcp_available_congestion_control

如输出如下,含有 bbr 即可,无需在意顺序,则证明已开启

1
net.ipv4.tcp_available_congestion_control = reno cubic bbr

4.查看BBR是否启动

1
lsmod | grep bbr

显示以下即启动成功:

1
tcp_bbr                20480  20

Ubuntu 或 Debian 开启 BBR

https://339.im/articles/ubuntu-debian-bbr/

作者

339

发布于

2021-02-05

更新于

2021-06-24

许可协议

评论