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.
- 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.
- Edit file /etc/sysctl.conf with vim.
- Add below code line at the end of /etc/sysctl.conf file.
- Reboot the linux server.
- 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
- 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