banner
ECSS11

Kita ☆ Kita ☆

试试 Xlog 做博客(并把好久之前写的老文章搬过来)之每年都要换一个网站,也不知道何时是个头。

Enable BBR on Linux Server

BBR is a new TCP congestion control algorithm commonly used to improve network connections such as proxies.

Prerequisites#

In Linux Kernel 4.9 and above, BBR is automatically integrated into the system, requiring no manual installation by the user.

Enter the following command to view the available TCP congestion control algorithms:

sysctl net.ipv4.tcp_available_congestion_control

Enable the Algorithm#

Open the /etc/sysctl.conf file with any editor and add the following two lines:

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

Some cloud service providers, such as DMIT, have BBR configured when initializing the server. You can use the following command to check:

sysctl net.ipv4.tcp_congestion_control

Finally, here is the result after successful configuration:

root@vmi819506:~# sysctl net.ipv4.tcp_congestion_control 
net.ipv4.tcp_congestion_control = bbr
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.