TCP BBR 拥塞控制算法

BBR是个好东西。众所周知,在TCP连接中,由于需要维持连接的可靠性,引入了拥塞控制和流量管理的方法。Google BBR就是谷歌公司提出的一个开源TCP拥塞控制的算法。

这里不详细介绍BBR的原理,仅放入部分质量较高的BBR资源,供索引参考。

Google BBR Github:https://github.com/google/bbr

BBR源码:https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/tree/net/ipv4/tcp_bbr.c

Google BBR Github PPT:https://github.com/google/bbr/blob/master/Presentations/bbr-2017-02-08-google-net-research-summit.pdf

CSDN大佬分析BBR原理:https://blog.csdn.net/dog250/article/details/52830576

VPS配置使用BBR教程:http://blog.leanote.com/post/quincyhuang/google-bbr

简易版配置BBR(需要Linux 4.9 +)

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

验证
输入sysctl net.ipv4.tcp_available_congestion_control,返回net.ipv4.tcp_available_congestion_control = bbr cubic reno;
输入sysctl net.ipv4.tcp_congestion_control,返回net.ipv4.tcp_congestion_control = bbr;
输入sysctl net.core.default_qdisc,返回net.core.default_qdisc = fq;
输入lsmod | grep bbr,返回有tcp_bbr则表示已启用BBR。

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据