2

Debian10/11 开启BBR 加速

 1 year ago
source link: https://yjyj.net/learn/6359.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Debian10/11 开启BBR 加速

linux自内核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

显示以下即已开启:
net.ipv4.tcp_available_congestion_control = reno cubic bbr

4、查看BBR是否启动

lsmod | grep bbr

显示返回值即启动成功:
root@yjyj:~# lsmod | grep bbr
tcp_bbr                20480  1

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK