Centos7启用BBR

HTML  2021-09-15 21:24  123  

1.安装新版内核

    yum install -y https://github.com/zhangxiaoqiang1998/bbrplus/raw/master/centos7/x86_64/kernel-4.14.129-bbrplus.rpm

2.切换启动内核

    grub2-set-default 'CentOS Linux (4.14.129) 7 (Core)'

3.启用 fq bbrplus

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

    echo "net.ipv4.tcp_congestion_control=bbrplus" >> /etc/sysctl.conf

4.重启后检查, 如果显示为bbrplus则成功

    uname -r

5.查看查看内核是否已开启BBRpuls显示带有bbrplus则成功

    sysctl net.ipv4.tcp_available_congestion_control 

6.查看bbr是否启动

    lsmod | grep bbrplus 



转自:https://shagain.club/index.php/archives/205/


发布于 2021-09-15 21:24, 最后修改于2021-11-10 17:29