Skip to content

Instantly share code, notes, and snippets.

@1a57danc3
Created November 15, 2018 03:52
Show Gist options
  • Save 1a57danc3/238f776382daa9091aa3ca0d1266dbf5 to your computer and use it in GitHub Desktop.
Save 1a57danc3/238f776382daa9091aa3ca0d1266dbf5 to your computer and use it in GitHub Desktop.
#!/bin/bash
modprobe tcp_bbr
echo "tcp_bbr" | sudo tee --append /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" | sudo tee --append /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee --append /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment