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