Skip to content

Instantly share code, notes, and snippets.

@epyonavenger
Forked from sendya/ArchLinux_Kernel4.13_enable_BBR.sh
Last active February 10, 2024 14:31
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epyonavenger/a7d0bdcdb64169c4b0031391e10ff203 to your computer and use it in GitHub Desktop.
Save epyonavenger/a7d0bdcdb64169c4b0031391e10ff203 to your computer and use it in GitHub Desktop.
Arch Linux - Enable BBR

Enabling BBR On Arch Linux 6.5.5+

Become Root
  • sudo su
Set Up sysctl Config File
  • echo "net.core.default_qdisc=fq_codel" >> /etc/sysctl.d/bbr.conf
  • echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/bbr.conf
Load Module
  • modprobe tcp_bbr
Load Config From File
  • sysctl -p /etc/sysctl.d/bbr.conf
Check Running Config
  • sysctl net.ipv4.tcp_available_congestion_control
  • sysctl net.ipv4.tcp_congestion_control
(Optional) Reboot To Make Sure Settings Persisted
  • reboot
(Optional) Post-Reboot Check Module Is Loaded
  • lsmod | grep bbr
@Strykar
Copy link

Strykar commented Oct 1, 2023

Shouldn't the qdisc be fq_codel, I thought it supports pacing like fq did?

@epyonavenger
Copy link
Author

epyonavenger commented Oct 1, 2023

Uh...this is...very old. I ought to update or nix it honestly, I think some of this is enabled by default these days.

Edit: Decided to update.

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