To enable BBR (Bottleneck Bandwidth and Round-trip propagation time) in Rocky Linux 9, follow these steps:

  1. Open a terminal or connect to your Rocky Linux 9 server via SSH.

  2. Check if the BBR kernel module is already enabled by running the following command:

    sysctl net.ipv4.tcp_available_congestion_control
    

    If BBR is already listed as one of the available congestion control algorithms, you can proceed to Step 4. Otherwise, continue to Step 3.

  3. Edit the sysctl configuration file using a text editor such as nano or vi:

    sudo nano /etc/sysctl.conf
    
  4. Add the following lines at the end of the file:

    net.core.default_qdisc=fq
    net.ipv4.tcp_congestion_control=bbr
    
  5. Save the file and exit the text editor.

  6. Apply the changes by running the following command:

    sudo sysctl -p
    
  7. Verify that BBR is enabled by running the following command:

    sysctl net.ipv4.tcp_congestion_control
    

    The 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

how to enable bbr in rocky linux 9

原文地址: https://www.cveoy.top/t/topic/hHDA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录