How To Enable TCP BBR On Linux To Boost Internet Access Speed

TCP BBR congestion control algorithm is a google open source project that can make full use of server bandwidth. It is used in linux os. This article will tell you how to enable it in linux server.

1. How To Enable TCP BBR On Linux.

  1. TCP BBR is supported on linux version 4.9 or higher, so first you should upgrade your linux version to 4.9 or higher. You can read article How To Upgrade Bluehost CentOS Linux VPS Kernel to learn more.
  2. Edit file /etc/sysctl.conf with vim.
    vim /etc/sysctl.conf
  3. Add below code line at the end of /etc/sysctl.conf file.
  4. Reboot the linux server.
    # reboot
  5. Run command lsmod | grep bbr after Linux server rebooted. If you see the tcp_bbr in the first line, this means the tcp_bbr is opened successful.
    # lsmod | grep bbr
    tcp_bbr                20480  11
  6. Run below command to check tcp available congestion control algorithm and used tcp congestion control algorithm.
    # check available congestion control algorithm.
    # sysctl net.ipv4.tcp_available_congestion_control
    net.ipv4.tcp_available_congestion_control = reno cubic bbr lp
    # check tcp congestion control algorithm.
    # sysctl net.ipv4.tcp_congestion_control
    net.ipv4.tcp_congestion_control = bbr

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.