[Turn] CentOS6 open BBR accelerates

1. Check the machine kernel

BBR algorithms need to Linux 4.9 and above kernel support, so I want to use this method need to upgrade the kernel version.

Linux kernel on Cent OS 7 is 3.10, using the  uname -r core edition

[root@iZ2ze83hhomw2zcf15c3qcZ ~]# uname -r
4.14.3-1.el7.elrepo.x86_64

2. Check whether to open bbr

# sysctl net.ipv4.tcp_available_congestion_control

To be output similar to the following, BBR in front 

net.ipv4.tcp_available_congestion_control = bbr cubic reno

3. Does the display bbr loaded system module

As shown below, the load proved successful

# lsmod | grep bbr
tcp_bbr                16384  0

4.bbr open method

Check the sudo wget --no-#-Certificate https://github.com/teddysun/across/raw/master/bbr.sh bbr.sh && && the chmod + X ./ bbr.sh 
# sysctl net.ipv4.tcp_available_congestion_control   # see if the kernel is on BBR 
# lsmod | grep BBR   # View BBR whether to start 
# take effect after reboot reboot

5.bbr close method

Vi /etc/sysctl.conf # # Run 
# net.core.default_qdisc = fq comment out with # 
# net.ipv4.tcp_congestion_control = BBR commented out with # 
# lsmod | grep BBR   # View BBR whether to start 
# reboot # reboot the server to

Guess you like

Origin www.cnblogs.com/HYanqing/p/11238290.html