Centos 6/7 x86_64 系统开启TCP-BBR拥塞控制一键安装脚本

 内核特点

1、使用自编译好的内核;

2、无需手动修改grub启动项;

3、已经默认设置拥塞算法为BBR,无需额外设置,重启即可用

    脚本一键安装

 
 
  1. wget -O- https://soft.alphabrock.cn/Linux/scripts/bbr_centos_6_7_x86_64.sh | bash

    安装完成重启

 
 
  1. reboot

    验证安装是否成功

 
 
  1. sysctl -a|grep tcp_congestion_control

正常情况会是这样:

 
 
  1. net.ipv4.tcp_congestion_control = bbr

Tips:若机子未开启IPV6,在验证步骤会出现以下错误,请忽略

 
 
  1. error: "Input/output error" reading key "net.ipv6.conf.all.stable_secret"
  2. error: "Input/output error" reading key "net.ipv6.conf.default.stable_secret"
  3. error: "Input/output error" reading key "net.ipv6.conf.eth0.stable_secret"
  4. error: "Input/output error" reading key "net.ipv6.conf.eth1.stable_secret"
  5. error: "Input/output error" reading key "net.ipv6.conf.lo.stable_secret"
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值