目录
BBR是Google推出的一套拥塞控制算法,集成在最新的Linux内核中。BBR应用在VPS服务器上,可以明显改善服务器的网络传输速度,减少丢包。
而BBR Plus版本,以及魔改版BBR,则是网友在原版BBR的基础上,对一些参数进行改良后的修正版本,比原版BBR有着更为显著的加速效果。至于两个改良版本哪个加速效果更好,大家可以分别安装测试,选取最适合自己的版本。下文会提供各版本的一键安装脚本。
BBR Plus版本的优点:
修正了原版BBR的以下两项缺点,加速效果更好:
- 在高丢包率环境下容易失速
- 收敛慢
BBR Plus版本的不足:
- 脚本仍在完善阶段,在少部分系统中可能会安装失败。
- 由于涉及到内核的修改,部分系统环境下,可能会导致重启无法进入系统。
虽然加速效果更好,但是考虑到系统数据安全的话,还是建议大家以试用为主,不要在生产环境下尝试安装BBR Plus。
BBR Plus一键安装脚本(四合一)
本文介绍的BBR Plus一键安装脚本,来自网友cx9208。除了BBR Plus外,还另外集成有原版BBR一键安装、魔改BBR一键安装、锐速(lotServer)一键安装,为四合一版本,四个版本可以切换使用。
适用架构:KVM / Xen,不支持OpenVZ(OVZ)。
适用系统:CentOS 7、Debian 8、Debian 9、Ubuntu 16.04、Ubuntu 18.04。
(1)安装 wget 依赖包
yum -y install wget #CentOS apt-get install wget #Ubuntu/Debian
(2)执行BBR加速一键安装脚本命令
cd /usr/src && wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
执行以上安装命令后,如下图所示:
我这里选择“2”,“安装 BBRplus版内核”加速。在安装过程中,可能会出现如下提示,用右方向键选“<No>”,然后回车。如下图所示:
安装完成后会提示重启服务器,这时候输入字母“y”,回车后,重启服务器。当服务器启动后,我们再次执行安装命令,选择“7”启用“使用BBRplus版加速”。
留言
Thanks for finally writing about > 一键安装并开启BBR加速 – 小黑CN < Loved it!
Wow, that’s what I was searching for, what a stuff! pesent here att this webpage, thanks admin off his site.
I’m not that much of a online readrr to bbe honest but your blobs really nice, keep iit up! I’ll goo ahead and ookmark youur siite to ccome back later on. Manny thanks
Hi there tto every one, thhe contents present att this web page aree actually awesom for eople experience, well, keep upp the nice work fellows.
I love itt wjen individuals get togetgher aand sjare ideas. Grat website, kerp it up!
Youu reaslly make it seem so essy wiith your preseentation but I fiknd this matteer to bee really something that I think I wold never understand. It seem too complicated aand extremely brozd for me. I’m looking foorward foor your next post, I’ll try too get the hang of it!
Normalply I do not read aricle on blogs, buut Iwish to ssay that ths write-up very pressuired me tto take a llok at and ddo it! Your writing tasste hhas ben surprised me. Thanks, verry nice article.
Greetings! Very helpful advice within this article! It is thee little changes that poduce thhe largest changes. Manyy thanks ffor sharing!
There’s definately a great deall to find outt about this subject. I liike all of the pkints yoou made.
Hi, I do believe this is a great blog. I stumbledupon it 😉 I’m goingg tto rturn once again since I saed as a favorite it. Monney and freedomm is thhe greatest wway to change, may you bee rixh and continue tto guide others.
Heya i’m ffor the firzt tike here. I fouhd this boarrd aand I iin findiung It truly helpful & iit helped mme ouut a lot. I’m hhoping tto provide oone thig bak annd help others ssuch as yoou helpedd me.
I like lookking tthrough aan article that will make people think. Also, tank you for permitting me to comment!
Hello, I want tto subscribe for this bllog to obtain hottest updates, so wheree can i do it pplease help out.
Peeculiar article, exactlyy what I needed.
My brother suggested I would possibly like this website. He was oncee entirely right. Thiss ubmit truly made mmy day. Yoou caan nnot belioeve jyst how much timme I had sspent foor thuis information! Thanks!
Greaat beat ! I would lioe tto apprentic even aas you amend youjr site, how could i subscribe forr a blo web site? The account aided me a applicable deal. I had bren a littl bit acquaijted off this your broadcast proided shiny lear concept
Hi, yes this piece off writing is in fact pleasant and I have learned lot of things from it about blogging. thanks.
Hi are using WordPress for your blog platform? I’m new tto the blo world buut I’m trying too gett started andd set upp my own. Do you rerquire anyy html codjng knowledge tto make ypur own blog? Anyy helop would be really appreciated!
Hello, thee whoile thing iss going perfectly here and ofdourse every one iis shariing facts, that’s really good, keedp uup writing.
I get pleasure from, leaad to I discovered juhst wat I used to bbe having a lok for. You’ve endedd mmy flur daay log hunt! Good Bledss you man. Haave a great day. Bye
What’s upp i aam kavin, its my first tike to cmmenting anyplace, when i read this pkst i tholught i culd alsso creatfe comment due to this sensible piece of writing.
That is a goo tiip especially tto those frersh tto thhe blogosphere. Short bbut vey precise information… Thanks forr shaaring this one.A musst read article!
Hey, I thonk your website migyt be having browser compatibility issues. When I look at your blog in Safari, itt looks fne butt when opening iin Internet Explorer, iit has some overlapping. I just wantesd tto give you a quick heads up! Other then that, awsome blog!