2016-12-16

Linux 4.9内核的bbr好爽啊

代理服务器升到了Linux 4.9内核,开启google的bbr算法, 上啥国外网站都是满速啦,真是太棒了。

大致记录下安装过程。

img

64位ubuntu设置:

#!/bin/sh
sudo apt-get update
sudo apt-get upgrade
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb
sudo dpkg -i *.deb
reboot

vi /etc/sysctl.conf
GA
net.core.default_qdisc=fq  
net.ipv4.tcp_congestion_control=bbr
#ESC wq
sysctl -p

回主页