标签类目:BBR

Linux一键安装常见/最新内核脚本 BBR/锐速/BBRPLUS/BBR2

2023-01-25 | 浏览人数: 6,427次 | 分类:VPS优化 | 查看评论 发表评论

Google 开源了其 TCP BBR 拥塞控制算法,并提交到了 Linux 内核,从 4.9 开始,Linux 内核已经用上了该算法。根据以往的传统,Google 总是先在自家的生产环境上线运用后,才会将代码开源,此次也不例外。
根据实地测试,在部署了最新版内核并开启了 TCP BBR 的机器上,网速甚至可以提升好几个数量级。

预先准备

centos:yum install ca-certificates wget -y && update-ca-trust force-enable
debian/ubuntu:apt-get install ca-certificates wget -y && update-ca-certificates

不卸载内核版本

wget -O tcpx.sh “https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh” && chmod +x tcpx.sh && ./tcpx.sh