昨日当年

你一双澄澈眼眸 便使我颠沛中毕生富有

Boost TCP BBR in ubuntu


By default, Linux uses the Reno and CUBIC congestion control algorithm. To check available congestion control algorithms, run the following command.

sysctl net.ipv4.tcp_available_congestion_control

Output:

net.ipv4.tcp_available_congestion_control = cubic reno

To check the current congestion control algorithm in use, run

sysctl net.ipv4.tcp_congestion_control

Output:

net.ipv4.tcp_congestion_control = cubic

Enable TCP BBR in Ubuntu 16.04/Ubuntu 18.04

Once you have kernel 4.9 or above, edit sysctl.conf file.

sudo nano /etc/sysctl.conf

Add the following two line at the end of the file.

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

Save and close the file. Then reload sysctl configurations.

sudo sysctl -p

Now check the congestion control algorithm in use.

sysctl net.ipv4.tcp_congestion_control

Output:

net.ipv4.tcp_congestion_control = bbr

enjoy!

How to Boost Linux Server Internet Speed with TCP BBR: https://www.tecmint.com/increase-linux-server-internet-speed-with-tcp-bbr/

Easily Boost Ubuntu Network Performance by Enabling TCP BBR: https://www.linuxbabe.com/ubuntu/enable-google-tcp-bbr-ubuntu