Skip to content

Instantly share code, notes, and snippets.

@carry0987
Last active January 2, 2023 07:06
Show Gist options
  • Save carry0987/fe5a89741d1cbd0b24268b029277d802 to your computer and use it in GitHub Desktop.
Save carry0987/fe5a89741d1cbd0b24268b029277d802 to your computer and use it in GitHub Desktop.
Raspberry Pi 3B+ Using BBR Congestion Control

Raspberry Pi 3B+ Using BBR Congestion Control

Check Kernel

uname -r

The kernel version should >= 4.9.4, if isn't, please follow the script below to update kernel:

Update Kernel

  1. sudo rpi-update
  2. sudo reboot

Install BBR

  1. sudo bash -c 'echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf'

  2. sudo bash -c 'echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf'

  3. sudo sysctl -p

  4. sudo reboot

Check BBR

sysctl net.ipv4.tcp_available_congestion_control

It might display like this:

net.ipv4.tcp_available_congestion_control = bbr cubic reno

Then use lsmod to check if bbr is running

lsmod | grep bbr

It might display like this:

tcp_bbr 20480 3

Finish

@Sparklingx
Copy link

thanks. I was looking for some other variant though

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