Skip to content

Instantly share code, notes, and snippets.

@NoahDragon
Last active April 23, 2019 05:48
Show Gist options
  • Save NoahDragon/5c6f77a00647e76189c8a6f0865d950b to your computer and use it in GitHub Desktop.
Save NoahDragon/5c6f77a00647e76189c8a6f0865d950b to your computer and use it in GitHub Desktop.
Update Ubuntu Linux Kernel to 4.9 Which Includes the BBR Algorithm, It Can Significantly Improve the TCP Connection Performance. (Like ServerSpeeder)
#! /bin/sh
wget http://in4serv.com.br/backup/kernel-4.9-stable && sudo chmod +x ./kernel-4.9-stable && ./kernel-4.9-stable
# After reboot, turn on BBR
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p # Save the changes
sysctl net.ipv4.tcp_available_congestion_control # Check if BBR is turned on
lsmod | grep bbr # Check if BBR is running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment