jasontse
2017-03-23 10:52:15 +08:00
刚去 rpi-firmware 看了一眼,已经 4.9 了
直接无脑
apt-get update
apt-get upgrade
rpi-update
echo tcp_bbr >> /etc/modules-load.d/modules.conf
echo net.core.default_qdisc=fq >> /etc/sysctl.conf
echo net.ipv4.tcp_congestion_control=bbr >> /etc/sysctl.conf
reboot
检查一下
root@pi:~# lsmod | grep bbr
tcp_bbr 6366 35
root@pi:~# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = bbr cubic reno
root@pi:~# sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = bbr
好了