Linux手动安装BBR加速器(TCP加速器)

Centos7.X

Centos内核原本不带BBR,需要安装并开启(需要重启)

​
yum install wget vim -yrpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgrpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpmyum --enablerepo=elrepo-kernel install kernel-ml -ygrub2-set-default 0echo "net.core.default_qdisc = fq" >> /etc/sysctl.confecho "net.ipv4.tcp_congestion_control = bbr" >> /etc/sysctl.confrm -f /root/Centos_BBR_install.shinit 6

​

Debian

Debian内核原本带有BBR,只需要开启即可(不需要重启)

echo "net.core.default_qdisc=fq" >> /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.confsysctl -p

你可能感兴趣的:(Linux,linux,服务器,测试工具)