How to open BBR to improve network transmission speed

Using TCP BBR on a network link with a certain packet loss rate can improve the transmission speed.

First uname -r to see if the kernel is >= 4.9 Enter the administrator terminal

su

run lsmod | grep bbr, if there is no tcp_bbr in the result, execute it first

modprobe tcp_bbr
echo "tcp_bbr" >> /etc/modules-load.d/modules.conf

run

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

Save

sysctl -p

run

sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control

If the result has bbr, it proves that your kernel has bbr enabled

run

lsmod | grep bbr

If you see the tcp_bbr module, it means that bbr has been started