Last active
January 6, 2018 07:23
-
-
Save sorasoras/c349a749b1e698d97e8787dc13924102 to your computer and use it in GitHub Desktop.
Update linux kernel and enable google bbr on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# update kernel | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc6/linux-image-4.15.0-041500rc6-generic_4.15.0-041500rc6.201712312330_amd64.deb | |
dpkg -i linux-image-4.15.0*.deb | |
update-grub | |
# check kernel | |
uname -a | |
# enable bbr | |
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf | |
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf | |
sysctl -p | |
# check bbr | |
sysctl net.ipv4.tcp_available_congestion_control | |
lsmod | grep bbr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment