Skip to content

Instantly share code, notes, and snippets.

@arcayi
Forked from epyonavenger/arch_enable_bbr.md
Last active July 11, 2024 01:39
Show Gist options
  • Save arcayi/3bbbda26d4b99e6a853ffe4c20948f56 to your computer and use it in GitHub Desktop.
Save arcayi/3bbbda26d4b99e6a853ffe4c20948f56 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 manually

modprobe tcp_bbr

Load Config From File

sysctl -p /etc/sysctl.d/bbr.conf

Load the BBR kernel module while booting

echo "tcp_bbr" > /etc/modules-load.d/modules.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment