说明:此方法只适用于KVM架构的,OpenVZ平台无法使用;

一:安装bbr服务;

 # wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
 # chmod +x bbr.sh 
 # ./bbr.sh

  (如果提示wget:command not fount,则输入命令 yum -y install wget) 

  然后,点击Y进行下一步下一步……

  安装后,需要重启服务器;

二:验证是否安装成功;

  重启后,执行命令:

uname -r

  查看内核版本,含有 4.13 就表示OK 了

sysctl net.ipv4.tcp_available_congestion_control
返回值一般为:
net.ipv4.tcp_available_congestion_control =bbr cubic reno

sysctl net.ipv4.tcp_congestion_control
返回值一般为:
net.ipv4.tcp_congestion_control = bbr

sysctl net.core.default_qdisc
返回值一般为:
net.core.default_qdisc = fq

三:查看bbr服务是否开启;

lsmod | grep bbr

返回值有 tcp_bbr 模块即说明bbr已启动。

 

相关文章:

  • 2021-08-27
  • 2021-07-10
  • 2021-05-01
  • 2022-02-08
  • 2022-01-04
  • 2021-09-19
  • 2022-02-03
  • 2022-12-23
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案