How to Enable Google’s TCP BBR on a Linux VPS

How to enable Google's TCP BBR on a Linux VPS

This article was contributed by Dustin B. Cisneros of RackNerd – LowEndBox appreciates your contribution as always! Be sure to check out RackNerd’s latest LowEndBox specials if you are looking for a KVM VPS.

Google’s TCP BBR, or “Bottleneck Bandwidth and Round-trip propagation time,” is a congestion control system based on cutting-edge technology. It is the same system used for traffic through, as well as YouTube. It was the reason that YouTube’s network throughput was increased by 4% annually. Moreover, Google’s BBR also significantly reduces latency as the querying, and queuing delays are minimized.

We have written this guide for you so that you can enable Google’s BBR on your Linux virtual private server.

There would be two steps in the guide, where step 1 can be optional in some instances. Let us start!

Step 1. Check and upgrade your kernel

We need Linux kernel version 4.9.0 or higher to support Google’s BBR. We will guide you on how to update it for both CentOS 7 and Ubuntu. 

To check your current kernel version, run this command:

uname -r

If this command returns a kernel version higher than 4.9.0, then you can skip step 1.

CentOS 7 Based Systems:
1) Install Elrepo repo

To update the CentOS kernel, we need to install the Elrepo repo via the following commands:

sudo rpm –import

sudo rpm -Uvh

2) Update your kernel

To install the updated kernel, run the following two commands:

sudo yum –enablerepo=elrepo-kernel install kernel-ml -y

yum list installed kernel

3) Set default boot entry

Run this command to see the list of kernels:

sudo egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d ’

You should find your newly installed kernel at the top of the list. Then run the following command:

sudo grub2-set-default 0

4) Reboot and verify

Now reboot your VPS, and after it turns back on, rerun the following command to verify the install:

uname -r

Ubuntu 18.04 Based Systems

The kernel version should be compatible with Google’s BBR if you are running Ubuntu 18.04. However, you can still upgrade the kernel using the following commands.

cd /tmp/








sudo dpkg -i *.deb

After running the commands, reboot your VPS by running the “reboot” command.

Step 2. Enable Google’s TCP BBR

The instructions below are the same for both CentOS and Ubuntu.

To start, open “/etc/sysctl.conf” in any text editor, or run the command to open it in vim or nano (your preferred text editor):

sudo vim /etc/sysctl.conf

At the end of the config file, add the following lines:



Then save the file, and refresh your configuration using this command:

sudo sysctl -p

Google’s BBR congestion control system has now been enabled on your VPS, to verify this, run this command:

sysctl net.ipv4.tcp_congestion_control

If the enabling process were successful, the output would be:

net.ipv4.tcp_congestion_control = bbr

You have now successfully enabled Google’s TCP BBR on your VPS!

Have you enabled Google’s TCP BBR on your Linux VPS? Have you seen any performance benefits? Please leave your questions or feedback in the comments section below!

The post How to Enable Google’s TCP BBR on a Linux VPS appeared first on Low End Box.

Read more »