Set BBR Congestion Control
Check Kernel
uname -r
The kernel version should >= 4.9.4, if isn't, please follow the script below to update kernel:
Update Kernel
sudo rpi-updatesudo reboot
Install 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 -psudo reboot
Check BBR
sysctl net.ipv4.tcp_available_congestion_control
It might display like this:
net.ipv4.tcp_available_congestion_control = bbr cubic reno
Then use lsmod to check if bbr is running
lsmod | grep bbr
It might display like this:
tcp_bbr 20480 3
Finish