BBR 是由 Google 开发的 TCP 拥塞控制算法,可以起到单边加速 TCP 连接的效果。
Ubuntu / Debian
首先更新
apt-get update -y && apt-get install wget -y && apt-get install curl -y
然后在root用户下
sudo -i
最后使用一键脚本
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
出现以下的几面直接选择No
安装完了后 reboot
然后输入命令
./tcp.sh
然后输入对应的指令开启bbr即可
当然还可以设置虚拟内存为一般的两倍
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
如果对当前的加速效果不满意可以随时执行命令切换
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容