How to quickly enable Google BBR in Debian 9/10 to achieve efficient unilateral acceleration

888u

Last update at :2024-01-26,Edit by888u

When Google BBR first came out, the one-click package was not released yet, so the kernel was manually changed to 4.9 or above to enable BBR acceleration. Since Debian 9 defaults to the 4.9 kernel and compiles the contents of TCP BBR, So it can be turned on directly through parameters. Here’s the tutorial!

Tips: The latest version of Debian 10 kernel is 4.19. You can also directly use this method to enable BBR.

1. Modify system variables

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

2. Save to take effect

sysctl -p

3. Check whether the kernel has enabled BBR

sysctl net.ipv4.tcp_available_congestion_control

It is enabled when the following is displayed:

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

4. Check whether BBR is started

lsmod | grep bbr

The startup is successful when the following is displayed:

# lsmod | grep bbr tcp_bbr 20480 14

Recommended site searches: cn domain name registration, dynamic ip dialer Hong Kong vps host, expired domain name query, me domain name, renting high-defense IP, registration-free jsp space, IP reverse domain name query, telecom hosting, domain name check,

How to quickly enable Google BBR in Debian 9/10 to achieve efficient unilateral acceleration

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码