打开BBR功能

命令:

# sudo modprobe tcp_bbr

启用BBR:

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

激活BBR:

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

检查BBR:

# lsmod | grep bbr

参考链接:https://blog.csdn.net/github_35957188/article/details/79339713