Deploy Google BBR on Rocky Linux 9

Google BBR (Bottleneck Bandwidth and Round-trip propagation time) is a modern congestion control algorithm developed by Google. It aims to improve the throughput and latency of Internet traffic in various conditions. Deploying BBR on Rocky Linux 9 can significantly enhance the performance of your server’s network connections. Here’s how you can easily set it up.

📝 Prerequisites

Before proceeding, ensure that you:

  • Have administrative access (root) to your Rocky Linux 9 server.
  • Your kernel version is 4.9 or later (BBR is supported natively from this version).

🚀 Steps to Deploy BBR

📊 Check Your Current Kernel Version

First, verify your kernel version to ensure it supports BBR:

uname -r

⬆️ Upgrade Your Kernel (if necessary)

If your kernel version is below 4.9, consider upgrading it:

🛠 Enable BBR

Execute the following commands to enable Google BBR:

echo 'net.core.default_qdisc=fq' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv4.tcp_congestion_control=bbr' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

📑 Verify BBR is Active

After applying the changes, verify that BBR has been successfully enabled:

sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr

You should see bbr as the output, which indicates that BBR is actively controlling TCP traffic.

🎉 Conclusion

Congratulations! 🎊 You have successfully deployed Google BBRon your Rocky Linux 9 server. This setup should provide enhanced speed and stability to your server’s network communications under various network conditions.

By using Google BBR, you’re leveraging one of the most advanced congestion control algorithms, which should help in maintaining smoother and more reliable network traffic. Enjoy the improved performance!

Scroll to Top