centos7安装bbr

centos7安装bbr

安装

sudo wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
sysctl net.ipv4.tcp_available_congestion_control  # 查看内核是否已开启BBR
lsmod | grep bbr  # 查看BBR是否启动
# reboot 重启后生效

BBR关闭方法

vi /etc/sysctl.conf # 执行命令
#net.core.default_qdisc = fq 用#注释掉
#net.ipv4.tcp_congestion_control = bbr 用#注释掉
lsmod | grep bbr  # 查看BBR是否启动
#reboot # 重启服务器即可
posted @ 2018-11-17 18:41  程序媛李李李李蕾  阅读(3966)  评论(0编辑  收藏  举报