zoukankan      html  css  js  c++  java
  • Kernel 4.9的BBR拥塞控制算法与锐速

    重要的事情说三遍!

    BBR并不能突破带宽限制!!!

    BBR并不能突破带宽限制!!!

    BBR并不能突破带宽限制!!!

    它的功能如下:

    1、在高丢包率与低速率的网络中提升传输效果,充分利用带宽。

    2、降低网络链路上的buffer占用率,降低延时。

    BBR算法原理请自行google,什么?懒得弄?好吧,给你链接。

    http://blog.csdn.net/dog250/article/details/52879298

    https://www.zhihu.com/question/53559433

    给了你你也不一定能看懂,还是看你最关心的使用吧:)

    安装脚本如下:

    #升级内核
    rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
    #系统为Centos6时打开注释,并注释上一条。
    #rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
    yum install yum-plugin-fastestmirror -y
    yum --enablerepo=elrepo-kernel install kernel-ml -y
    #修改默认启动内核
    grub2-set-default 0
    #Centos6修改内核方式
    #vim /boot/grub/grub.conf
    #default=1改为default=0
    #保存即可
    开启BBR
    echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf reboot lsmod | grep tcp_bbr

    请注意

    安装完毕后会重启服务器,不建议直接在已有服务的服务器上使用。

    安装完毕后,测试你之前网络不好的链路吧!

    enjoy!

     转载请标明博客地址。

    补充,2017年5月16日

    若你是centos6系统,又不想升级内核,请使用网上封装好的锐速,效果一样,十分明显的加速效果。

    一建安装命令

    wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh

    一建卸载命令

    chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f

    使用安装脚本时,会有一些交互操作,比如选择内核什么的,而且系统网卡名必须为eth0,请注意。

    谢土豪

    如果有帮到你的话,请赞赏我吧!

     
  • 相关阅读:
    Codeforces 1265A Beautiful String
    1039 Course List for Student (25)
    1038 Recover the Smallest Number (30)
    1037 Magic Coupon (25)
    1024 Palindromic Number (25)
    1051 Pop Sequence (25)
    1019 General Palindromic Number (20)
    1031 Hello World for U (20)
    1012 The Best Rank (25)
    1011 World Cup Betting (20)
  • 原文地址:https://www.cnblogs.com/kerwinC/p/6265790.html
Copyright © 2011-2022 走看看