Skip to content

Instantly share code, notes, and snippets.

@QuiteZeal
Last active April 23, 2020 12:39
Show Gist options
  • Save QuiteZeal/05991e4b2e8070afbd5c5554c0d506f2 to your computer and use it in GitHub Desktop.
Save QuiteZeal/05991e4b2e8070afbd5c5554c0d506f2 to your computer and use it in GitHub Desktop.
Turn on the Google BBR on CentOS8

Turn on the Google BBR on CentOS8

there is an easy way if you have kernel version above 4.9.0 type this to display the current version: uname -R

Just three steps to turn on BBR

Line by line to input:

echo 'net.core.default_qdisc=fq' | sudo tee -a /etc/sysctl.conf

echo 'net.ipv4.tcp_congestion_control=bbr' | sudo tee -a /etc/sysctl.conf

sudo sysctl -p

and then, to check if BBR works:

sudo sysctl net.ipv4.tcp_available_congestion_control

get answer will be: net.ipv4.tcp_available_congestion_control = bbr cubic reno

Next, input:

sudo sysctl -n net.ipv4.tcp_congestion_control

get answer: bbr

Finally:

lsmod | grep bbr

get an answer like: tcp_bbr 16384 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment