How to Enable BBR on Rocky Linux 10
BBR (Bottleneck Bandwidth and RTT) is a modern TCP congestion control algorithm developed by Google. It improves network throughput and reduces latency compared to older algorithms like Reno or CUBIC. Enabling BBR on Rocky Linux 10 can significantly improve performance for network-intensive applications.
Requirements
- A system running Rocky Linux 10
- Root or sudo privileges
- Kernel version 4.9 or higher (Rocky Linux 10 ships with a compatible kernel)
Check Kernel Version
uname -r
Output:
[root@vps ~]# uname -r
6.12.0-55.14.1.el10_0.x86_64
If your version is 4.9 or above, BBR can be enabled.
Check Available TCP Congestion Control Algorithms
sysctl net.ipv4.tcp_available_congestion_control
Output:
net.ipv4.tcp_available_congestion_control = reno cubic
Check Current Algorithm in Use
sysctl net.ipv4.tcp_congestion_control
Output:
net.ipv4.tcp_congestion_control = cubic
If bbr
is not listed, it means it’s not enabled yet.
Enable BBR on Rocky Linux 10
Edit the sysctl Configuration
Open the sysctl config file:
vi /etc/sysctl.conf
Add the following lines at the bottom of the file:
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Save and exit.
Apply the New Settings
sysctl -p
Output:
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
Confirm BBR Is Active
sysctl net.ipv4.tcp_congestion_control
Output:
net.ipv4.tcp_congestion_control = bbr
Optional: Verify BBR Is in Use by System Sockets
lsmod | grep bbr
If the module is loaded, you’ll see something like:
tcp_bbr 20480 1
Conclusion
BBR is now enabled on your Rocky Linux 10 system. This can lead to better performance for many networking tasks, particularly for servers or services that handle high-latency or bandwidth-sensitive traffic.
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