admin 发表于 2022-1-10 16:00:27

CentOS、Debian 、Ubuntu系统一键安装Google BBR加速脚本

Google 开源了其 TCP BBR 拥塞控制算法,并提交到了 Linux 内核,从 4.9 开始,Linux 内核已经用上了该算法。
此为秋水开发的一键安装最新内核并开启 TCP BBR 脚本

系统环境要求:
系统支持:CentOS 6+,Debian 7+,Ubuntu 12+
虚拟技术:OpenVZ 以外的,比如 KVM、Xen、VMware 等
内存要求:≥128M

在root权限下执行以下自动化脚本
wget --no-check-certificate <a href="https://github.com/teddysun/across/raw/master/bbr.sh" target="_blank">https://github.com/teddysun/across/raw/master/bbr.sh</a> && chmod +x bbr.sh && ./bbr.sh
验证是否安装成功:
查看内核是否已成功升级
uname -r
使用以下命令再次验证
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
lsmod | grep bbr
返回值有 tcp_bbr 模块即说明 bbr 已启动。注意:并不是所有的 VPS 都会有此返回值,若没有也属正常。
页: [1]
查看完整版本: CentOS、Debian 、Ubuntu系统一键安装Google BBR加速脚本