|
本帖最后由 tspring 于 2019-1-3 16:02 编辑
Armbian_5.67_Aml-s9xxx_Debian_stretch_default_4.19.7_20181228.img应该是自带BBR,只需要一键开启就OK。验证如下:
root@aml:~# wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
--2019-01-03 07:58:59-- https://github.com/teddysun/across/raw/master/bbr.sh
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/teddysun/across/master/bbr.sh [following]
--2019-01-03 07:59:00-- https://raw.githubusercontent.com/teddysun/across/master/bbr.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.76.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13173 (13K) [text/plain]
Saving to: ‘bbr.sh’
bbr.sh 100%[==========================================================>] 12.86K --.-KB/s in 0.01s
2019-01-03 07:59:02 (1.13 MB/s) - ‘bbr.sh’ saved [13173/13173]
---------- System Information ----------
OS : Debian GNU/Linux 9
Arch : aarch64 (64 Bit)
Kernel : 4.19.7-aml-s9xxx
----------------------------------------
Auto install latest kernel for TCP BBR
URL: https://teddysun.com/489.html
----------------------------------------
Press any key to start...or Press Ctrl+C to cancel
Info: Your kernel version is greater than 4.9, directly setting TCP BBR...
Info: Setting TCP BBR completed...
root@aml:~# uname -r
4.19.7-aml-s9xxx
root@aml:~# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = reno cubic bbr
root@aml:~# sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = bbr
root@aml:~# sysctl net.core.default_qdisc
net.core.default_qdisc = fq
root@aml:~# lsmod | grep bbr
tcp_bbr 20480 1 |
|