<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bbr &#8211; 就爱分享</title>
	<atom:link href="https://www.9host.org/tag/bbr/feed" rel="self" type="application/rss+xml" />
	<link>https://www.9host.org</link>
	<description>最爱分享各种资源的中文独立博客</description>
	<lastBuildDate>Mon, 12 Sep 2022 13:18:43 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>在VPS上一键安装最新Linux内核并开启Google BBR加速</title>
		<link>https://www.9host.org/1569.html</link>
					<comments>https://www.9host.org/1569.html#respond</comments>
		
		<dc:creator><![CDATA[河马大叔]]></dc:creator>
		<pubDate>Fri, 31 May 2019 08:42:45 +0000</pubDate>
				<category><![CDATA[新手教程]]></category>
		<category><![CDATA[bbr]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[加速]]></category>
		<guid isPermaLink="false">https://www.9host.org/?p=1569</guid>

					<description><![CDATA[TCP BBR 拥塞控制算法是 Google开源的&#8230;]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" src="https://www.9host.org/wp-content/uploads/2019/05/bbr.jpg" alt="" width="950" height="650" class="aligncenter size-full wp-image-1571" srcset="https://www.9host.org/wp-content/uploads/2019/05/bbr.jpg 950w, https://www.9host.org/wp-content/uploads/2019/05/bbr-800x547.jpg 800w, https://www.9host.org/wp-content/uploads/2019/05/bbr-220x150.jpg 220w" sizes="(max-width: 950px) 100vw, 950px" /><br />
TCP BBR 拥塞控制算法是 Google开源的一个项目，可以充分发挥服务器的带宽，大叔实测过阿里云、Vultr、Ramnode这几个服务器，开启与否BBR加速，网速的能相差好几个数量级！该算法已经提交到了 Linux 内核，从 Linux 4.9 开始已经默认安装编译了该算法。</p>
<div class="su-box su-box-style-default" id="" style="border-color:#0076a7;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#00a9da;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">本脚本适用环境</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">
操作系统：CentOS 6+，Debian 7+，Ubuntu 12+<br />
虚拟技术：KVM、Xen、VMware 等<br />
内存要求：≥128M<br />
</div></div>
<p>使用root用户登录，运行以下命令：</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">wget --no-check-certificate https://github.com/9hostorg/fuckgfw/raw/master/bbr.sh &amp;&amp; chmod +x bbr.sh &amp;&amp; ./bbr.sh</pre>
<p>安装完成后，脚本会提示需要重启 VPS，输入 y 并回车后重启。<br />
重启完成后，进入 VPS，验证一下是否成功安装最新内核并开启 TCP BBR，输入以下命令：</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">uname -r</pre>
<p>查看内核版本，显示为最新版就表示 OK 了</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">sysctl net.ipv4.tcp_available_congestion_control</pre>
<p>返回值一般为：<br />
net.ipv4.tcp_available_congestion_control = bbr cubic reno<br />
或者为：<br />
net.ipv4.tcp_available_congestion_control = reno cubic bbr<br />
</br></p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">sysctl net.ipv4.tcp_congestion_control</pre>
<p>返回值一般为：<br />
net.core.default_qdisc = fq</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">lsmod | grep bbr</pre>
<p>返回值有 tcp_bbr 模块即说明 bbr 已启动。注意：并不是所有的 VPS 都会有此返回值，若没有也属正常。</p>
<p>通过上述步骤，你的CentOS系统服务器，已成功安装并启动了BBR加速模块，可以享受BBR算法对网速的提升了。</p>
<div class="su-note"  style="border-color:#e5e5c6;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFFE0;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">
<b>参考资料</b><br />
https://github.com/google/bbr/blob/master/Documentation/bbr-quick-start.md<br />
http://teddysun.com/489.htm<br />
</div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.9host.org/1569.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
