Skip to content

Instantly share code, notes, and snippets.

@retzger
Forked from wynemo/bbr_on_vultr_debian_8.sh
Created December 9, 2019 07:02
Show Gist options
  • Save retzger/2e08a202162b7d6120efb38e92330c58 to your computer and use it in GitHub Desktop.
Save retzger/2e08a202162b7d6120efb38e92330c58 to your computer and use it in GitHub Desktop.
bbr vultr debian8
#debian 8 on vultr
# install kernel
sudo echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
sudo apt-get update
apt-get install -t jessie-backports linux-image-amd64
#reboot
update-grub
reboot
#load bbr
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
# check if bbr is loaded
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr
#optional install kernel 4.10.0
#wget -c http://mirrors.kernel.org/debian/pool/main/l/linux/linux-image-4.10.0-rc6-amd64-unsigned_4.10~rc6-1~exp2_amd64.deb
#sudo dpkg -i linux-image-4.10.0-rc6-amd64-unsigned_4.10~rc6-1~exp2_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment