how to enable bbr in rocky linux 9
To enable BBR (Bottleneck Bandwidth and Round-trip propagation time) in Rocky Linux 9, follow these steps:
-
Open a terminal or connect to your Rocky Linux 9 server via SSH.
-
Check if the BBR kernel module is already enabled by running the following command:
sysctl net.ipv4.tcp_available_congestion_controlIf BBR is already listed as one of the available congestion control algorithms, you can proceed to Step 4. Otherwise, continue to Step 3.
-
Edit the sysctl configuration file using a text editor such as nano or vi:
sudo nano /etc/sysctl.conf -
Add the following lines at the end of the file:
net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr -
Save the file and exit the text editor.
-
Apply the changes by running the following command:
sudo sysctl -p -
Verify that BBR is enabled by running the following command:
sysctl net.ipv4.tcp_congestion_controlThe output should show "bbr" as the value for the "net.ipv4.tcp_congestion_control" parameter.
BBR should now be enabled on your Rocky Linux 9 system
原文地址: https://www.cveoy.top/t/topic/hHDA 著作权归作者所有。请勿转载和采集!