说明
BBR
是Google
开源的TCP BBR
拥塞控制算法,用于提升网络连接速度,提升空间巨大,优化效果非常明显;
BBR
仅支持4.9以上内核Ubuntu 18.04/20.04
CentOS 8
Debian 9/10
均为4.9以上内核无需更换内核可以直接开启BBR。
方法
1、修改系统变量
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
2、保存生效
sysctl -p
3、查看内核是否已开启BBR
sysctl net.ipv4.tcp_available_congestion_control
显示以下即已开启:
# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_congestion_control = bbr
4、查看BBR是否启动
lsmod | grep bbr
显示以下即启动成功:
# lsmod | grep bbr
tcp_bbr 20480 14
留言
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.com/pt-PT/register?ref=T7KCZASX