{"id":39163,"date":"2020-02-22T01:07:18","date_gmt":"2020-02-21T17:07:18","guid":{"rendered":"http:\/\/4563.org\/?p=39163"},"modified":"2020-02-22T01:07:18","modified_gmt":"2020-02-21T17:07:18","slug":"%e5%b7%b2%e6%9b%b4%e6%96%b05-4-0rc6-google-bbr2-centos-x64-%e5%86%85%e6%a0%b8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=39163","title":{"rendered":"[\u5df2\u66f4\u65b05.4.0rc6] Google BBR2 Centos x64 \u5185\u6838"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>shkong<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:21:54\t<\/p>\n<h3>[\u5df2\u66f4\u65b05.4.0rc6] Google BBR2 Centos x64 \u5185\u6838<\/h3>\n<p>  \t\t\u524d\u51e0\u5929\u770b\u5230\u5927\u4f6c\u7684BBR2\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff0c\u4e5f\u60f3\u7528\uff0c\u53ef\u662f\u5927\u4f6c\u7684Centos\u5185\u6838\u8fd8\u57285.2.0 \u4e8e\u662f\u5c31\u81ea\u5df1\u7f16\u8bd1\u4e86\u4e00\u4e2a5.4.0rc6\u7684\u5185\u6838<br \/>  \u6709\u9700\u8981\u7684\u5927\u4f6c\u81ea\u53d6\u5427<br \/>  \u4ee5\u4e0b\u662f\u4f7f\u7528\u65b9\u6cd5<br \/>  # \u5b89\u88c5\u5185\u6838<br \/>  yum -y install &quot;https:\/\/wget.es\/Kernel\/Centos\/kernel-5.4.0_rc6-1.x86_64.rpm&quot;<br \/>  # \u67e5\u770bGrub2\u83dc\u5355<br \/>  awk -F&#8217; &#8216;$1==&quot;menuentry &quot; {print i++ &quot; : &quot; $2}&#8217; \/etc\/grub2.cfg<br \/>  # \u9009\u62e9\u9ed8\u8ba4\u5f15\u5bfc\u9879<br \/>  grub2-set-default 0<br \/>  # \u542f\u7528BBR2<br \/>  sed -i &#8216;\/net.core.default_qdisc\/d&#8217; \/etc\/sysctl.conf<br \/>  echo &quot;net.core.default_qdisc=fq&quot; &gt;&gt; \/etc\/sysctl.conf<br \/>  sed -i &#8216;\/net.ipv4.tcp_congestion_control\/d&#8217; \/etc\/sysctl.conf<br \/>  echo &quot;net.ipv4.tcp_congestion_control=bbr2&quot; &gt;&gt; \/etc\/sysctl.conf<br \/>  # \u542f\u7528ECN\uff08\u4e0d\u60f3\u542f\u7528\u5c31\u4e0d\u8981\u6267\u884c\u8fd9\u4e00\u4e2a\uff09<br \/>  sed -i &#8216;\/net.ipv4.tcp_ecn\/d&#8217; \/etc\/sysctl.conf<br \/>  echo &quot;net.ipv4.tcp_ecn=1&quot; &gt;&gt; \/etc\/sysctl.conf<br \/>  # \u91cd\u542f<br \/>  reboot<br \/>  \u6709\u5174\u8da3\u60f3\u8981\u81ea\u884c\u7f16\u8bd1\u7684\u5927\u4f6c\u53ef\u4ee5\u53bb\u6211\u7684\u5c0f\u7ad9\u770b\u4e00\u4e0b\uff0c\u91cc\u9762\u6709\u624b\u52a8\u7f16\u8bd1\u7684\u8fc7\u7a0b<br \/>  https:\/\/www.shkong.com\/452.html\uff08\u6c42IP+1\uff09  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>tomcb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 13:39:39\t<\/p>\n<h3><\/h3>\n<p>  \t\topenos \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:22<br \/>  \u6548\u679c\u600e\u4e48\u6837?<br \/>  \u4e00\u76f4\u53ea\u6562\u7528\u539f\u7248\u7684bbr<\/p>\n<p> \u7528\u575b\u91ccMJJ\u7684\u811a\u672c\u5728AZURE\u548c\u4e00\u53f0NAT\u673a\u4e0a\u88c5\u8fc7\uff0c\u6162\u6210\u72d7\uff0c\u5ef6\u8fdf\u4e5f\u5f88\u9ad8\uff0c\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u95ee\u9898\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>meilinhost<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:22:43\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6ca1debian\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>openos<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:22:58\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6548\u679c\u600e\u4e48\u6837?<br \/>  \u4e00\u76f4\u53ea\u6562\u7528\u539f\u7248\u7684bbr\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>wangjy<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:23:25\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u751f\u4ea7\u73af\u5883\u88c5\u5b8c\u4f1a\u5931\u8054\u5417:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>chxin<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:24:02\t<\/p>\n<h3><\/h3>\n<p>  \t\tmeilinhost \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:22<br \/>  \u6ca1debian\uff1f<\/p>\n<p> debain\u6709\u4e00\u952e\u4e86\u554a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>adminw<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:24:05\t<\/p>\n<p>  \t\t\t\t\t<strong>fatal<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 12:13:13\t<\/p>\n<h3><\/h3>\n<p>  \t\topenos \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 11:22<br \/>  \u6548\u679c\u600e\u4e48\u6837?<br \/>  \u4e00\u76f4\u53ea\u6562\u7528\u539f\u7248\u7684bbr<\/p>\n<p> \u6211\u4e5f\u60f3\u77e5\u9053bbr2\u548c\u5176\u4ed6\u7248\u672c\u7684\u5bf9\u6bd4\u3002\u3002\u3002<br \/>  \u5426\u5219\u6ca1\u52a8\u529b\u53bb\u7f16\u8bd1\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>3gW7d7jizJS<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 12:47:10\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c \u6d4b\u8bd5\u4e00\u4e0b \u539f\u7248bbrbbrplus \u548cbbr2\u7684\u5dee\u8ddd\u628a:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hellfires<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 12:49:25\t<\/p>\n<h3><\/h3>\n<p>  \t\tfatal \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 12:13<br \/>  \u6211\u4e5f\u60f3\u77e5\u9053bbr2\u548c\u5176\u4ed6\u7248\u672c\u7684\u5bf9\u6bd4\u3002\u3002\u3002<br \/>  \u5426\u5219\u6ca1\u52a8\u529b\u53bb\u7f16\u8bd1<\/p>\n<p> \u65b0\u7248\u5185\u6838\u5373\u80fdbbr2\u53c8\u80fdbbr\u554a\u3002\u3002\u3002\u81ea\u5df1\u53bb\u8bd5\u8bd5\u5c31\u884c\u4e86\u6539\u4e2a\u6587\u4ef6\u7684\u4e8b\u60c5\u3002\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>pengit<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 12:52:15\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8ddf\u642c\u74e6\u5de5\u81ea\u5e26\u7684\u6bd4\u8d77\u6765\u600e\u4e48\u6837\uff0c\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>shkong \u5927\u4f6c\u6709\u8bdd\u8bf4 : 20&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/39163"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39163"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/39163\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39163"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}