轉載於: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