Last active
January 6, 2017 11:06
Revisions
-
chalos revised this gist
Dec 23, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ Set your Ubuntu Congestion Control to BBR ========================================= 1. Check if Ubuntu Linux Kernel version is 4.9 ```bash -
chalos revised this gist
Dec 23, 2016 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,27 +1,38 @@ 1. Check if Ubuntu Linux Kernel version is 4.9 ```bash $ uname -r ``` 2. If not, follow the link http://www.yourownlinux.com/2016/12/how-to-install-linux-kernel-4-9-0-in-linux.html instructions to update your Ubuntu Linux Kernel to 4.9 3. Check again the kernel version, make sure again kernel version is 4.9 ```bash $ uname -r ``` 4. Then confirm the bbr modules is included... ```bash $ ls -a /lib/modules/$(uname -r)/kernel/net/ipv4 | grep bbr tcp_bbr.ko ``` 5. Grep to see the congestion control currently using in Ubuntu, for me, my default is using cubic ```bash $ cat /proc/sys/net/ipv4/tcp_congestion_control cubic ``` 6. Change the setting of tcp_congestion_control by echo, i did that in root ```bash $ sudo -i $ echo "bbr" /proc/sys/net/ipv4/tcp_congestion_control $ cat /proc/sys/net/ipv4/tcp_congestion_control bbr ``` 7. You are now using bbr congestion control -
chalos renamed this gist
Dec 23, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
chalos created this gist
Dec 23, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ 1. Check if Ubuntu Linux Kernel version is 4.9 ```bash $ uname -r ``` 2. If not, follow the link http://www.yourownlinux.com/2016/12/how-to-install-linux-kernel-4-9-0-in-linux.html instructions to update your Ubuntu Linux Kernel to 4.9 3. Check again the kernel version, make sure again kernel version is 4.9 ```bash $ uname -r ``` 4. Then confirm the bbr modules is included... ```bash $ ls -a /lib/modules/$(uname -r)/kernel/net/ipv4 | grep bbr tcp_bbr.ko ``` 5. Grep to see the congestion control currently using in Ubuntu, for me, my default is using cubic ```bash $ cat /proc/sys/net/ipv4/tcp_congestion_control cubic ``` 6. Change the setting of tcp_congestion_control by echo, i did that in root ```bash $ sudo -i $ echo "bbr" /proc/sys/net/ipv4/tcp_congestion_control $ cat /proc/sys/net/ipv4/tcp_congestion_control bbr ``` 7. You are now using bbr congestion control