-
Notifications
You must be signed in to change notification settings - Fork 7
How To Enable BBR On Ubuntu?
junwufan edited this page Feb 22, 2022
·
1 revision
- BBR requires Linux kernel version 4.9 or above. Since Ubuntu 20.04 comes with the 5.4.0 kernel, we can enable BBR right away.
Run the following command to check available congestion control algorithms,
sysctl net.ipv4.tcp_available_congestion_control
Run the below command to check the current congestion control algorithm used in your system,
sysctl net.ipv4.tcp_congestion_control
- Enabling TCP BBR in Ubuntu
Open the following configuration file vi /etc/sysctl.conf to enable enable TCP BBR.
vi /etc/sysctl.conf
At the end of the config file, add the following lines.
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Save the file, and refresh your configuration by using this command,
sysctl -p
Now, Verify if BBR is enabled in your system,
sysctl net.ipv4.tcp_congestion_control