Linux-开启bbr加速

树莓派开启 bbr 加速

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 确保内核在4.9以上
sudo rpi-update

# 修改配置,开启 bbr 加速
sudo bash -c 'echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf'
sudo bash -c 'echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf'
sudo sysctl -p
sudo reboot

# 验证
sysctl net.ipv4.tcp_available_congestion_control
# 输出:net.ipv4.tcp_available_congestion_control = bbr cubic reno

lsmod | grep bbr
# 输出:tcp_bbr 20480 1

Linux-开启bbr加速
https://dnacore.github.io/post/8907fb3a-4e1a-48ac-a1f2-ecda4ad9a2c5.html
作者
DNACore
发布于
2021年2月25日
更新于
2023年11月29日
许可协议