转载于:https://moeclub.org/2017/06/24/278/ linux
BBR具体是什么,google去吧,这里简单说下,BBR就是个单边加速linux网络速度的一个算法。详细操做比较复杂,偷了个大佬的脚本,我长期也用这个很方便 很稳定,这里精简下吧。 算法
注意: bash
①openvz的虚拟机就不要尝试了!! 服务器
②有些人安装BBR加强版不成功,多是用了最新的内核,大佬的加强版bbr脚本还没适配。因此直接用如下的命令吧,用v4.11.9内核,很稳定。网络
wget --no-check-certificate -qO 'BBR.sh' 'https://moeclub.org/attachment/LinuxShell/BBR.sh' && chmod a+x BBR.sh && bash BBR.sh -f v4.11.9
wget --no-check-certificate -qO 'BBR_POWERED.sh' 'https://moeclub.org/attachment/LinuxShell/BBR_POWERED.sh' && chmod a+x BBR_POWERED.sh && bash BBR_POWERED.sh -f v4.11.9
lsmod|grep bbr
tcp_bbr_powered 16384 23
vi /etc/sysctl.conf