惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
罗磊的独立博客
The GitHub Blog
The GitHub Blog
L
LangChain Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
DataBreaches.Net
宝玉的分享
宝玉的分享
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
美团技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog

Rat's Blog - BBR

Ubuntu 18.04/18.10快速开启Google BBR的方法 - Rat's Blog CentOS 6/7手动安装BBR和魔改BBR教程 - Rat's Blog 超级暴力版魔改BBR一键脚本 for Debian - Rat's Blog Debian/Ubuntu开启超级暴力版魔改BBR教程 - Rat's Blog OpenVZ平台魔改BBR一键脚本之Rinetd方式 - Rat's Blog OpenVZ平台安装魔改BBR:LKL一键安装脚本 - Rat's Blog BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu - Rat's Blog 魔改BBR一键安装脚本 for Debian/CentOS - Rat's Blog OpenVZ平台Google BBR加速TCP之Rinetd方式 - Rat's Blog
Debian 9/10快速开启Google BBR的方法,实现高效单边加速 - R...
博主: Rat's · 2017-09-16 · via Rat's Blog - BBR

说明:Google BBR刚出来的时候,一键包都还没出来,都是手动把内核换到4.9以上,从而开启BBR加速,方法可参考:使用Google BBR拥塞算法加速TCP教程,由于 Debian 9默认的就是4.9的内核而且编译了TCP BBR的内容,所以可以直接通过参数开启。

提示:目前最新版Debian 10内核为4.19,也可以直接用该方法开启BBR。

方法

1、修改系统变量

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

2、保存生效

sysctl -p

3、查看内核是否已开启BBR

sysctl net.ipv4.tcp_available_congestion_control

显示以下即已开启:

# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = bbr cubic reno

4、查看BBR是否启动

lsmod | grep bbr

显示以下即启动成功:

# lsmod | grep bbr
tcp_bbr                20480  14

版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/297/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。