How to Enable BBR on CentOS Stream 10

BBR (Bottleneck Bandwidth and RTT) is a congestion control algorithm developed by Google to optimize TCP performance. It improves network throughput and reduces latency by dynamically estimating available bandwidth and round-trip time (RTT). Unlike traditional algorithms like Reno or Cubic, BBR prevents bufferbloat and ensures efficient utilization of network capacity. It is widely used in Linux kernels and cloud environments for better performance in high-speed networks.

Check if BBR is Supported

To verify if your kernel supports BBR, run:

sysctl net.ipv4.tcp_available_congestion_control

Output:

net.ipv4.tcp_available_congestion_control = reno cubic

If bbr is listed, your kernel supports it.

Enable BBR

Edit the sysctl Configuration File If nano is not installed, install it using:

dnf install nano -y

Then, edit the sysctl configuration file:

nano /etc/sysctl.conf

Add the following lines at the bottom:

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

Save the file (Ctrl + X, then Y, and press Enter).

Apply the Changes

sysctl -p

Output:

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

Verify BBR is Enabled

To check if BBR is active, run:

sysctl net.ipv4.tcp_congestion_control

Output:

net.ipv4.tcp_congestion_control = bbr

To further confirm that BBR is loaded in the kernel:

lsmod | grep bbr

Output:

tcp_bbr                20480  0

If the output includes tcp_bbr, BBR is successfully enabled!

BBR should now be enabled and improving network performance on your CentOS Stream 10 server.

Conclusion

You have now enabled BBR on CentOS Stream 10. This should improve your system’s network performance, especially for high-bandwidth applications. If changes are not taking effect, double-check the configuration and ensure that the correct kernel version is running.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS