How to enable Google BBR in Debian 9 to achieve TCP acceleration

888u

Last update at :2024-07-03,Edit by888u

Since the default 4.9 kernel of Debian9 compiles the contents of TCP BBR, it can be turned on directly through parameters.

Enable BBR on Centos7, refer to: How to enable Google BBR on CentOS 7 to achieve TCP acceleration

The following are all operated under SSH, preferably the root user. 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

The following content is displayed to indicate that it is enabled:

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

4. BBR should have been started through the above operations. Check again to see if 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: website registration inquiry, Hong Kong virtual host space, domain name registration inquiry, registered international domain name virtual host space registration-free space, US vps host, vps server rental, how to check ip, windows virtual host,

How to enable Google BBR in Debian 9 to achieve TCP acceleration

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