linux:bbr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:bbr [2018/01/08 14:01] – percy | linux:bbr [2018/01/08 14:39] – percy | ||
---|---|---|---|
Line 10: | Line 10: | ||
==== Enable bbr ==== | ==== Enable bbr ==== | ||
+ | sysctl net.core.default_qdisc=fq | ||
+ | sysctl net.ipv4.tcp_congestion_control=bbr | ||
+ | |||
<code BASH> | <code BASH> | ||
pi@raspberrypi: | pi@raspberrypi: | ||
Line 54: | Line 57: | ||
| | ||
+ | ==== Some tips ==== | ||
+ | < | ||
+ | uname -r | ||
+ | #查看内核版本,含有4.9.0就表示OK了 | ||
+ | #------------ | ||
+ | sysctl net.ipv4.tcp_available_congestion_control | ||
+ | #返回值一般为: | ||
+ | #net.ipv4.tcp_available_congestion_control = bbr cubic reno | ||
+ | #------------ | ||
+ | sysctl net.ipv4.tcp_congestion_control | ||
+ | #返回值一般为: | ||
+ | #net.ipv4.tcp_congestion_control = bbr | ||
+ | #------------ | ||
+ | sysctl net.core.default_qdisc | ||
+ | #返回值一般为: | ||
+ | #net.core.default_qdisc = fq | ||
+ | #------------ | ||
+ | lsmod | grep bbr | ||
+ | #返回值有tcp_bbr模块即说明bbr已启动。 | ||
+ | </ | ||
+ | |||
+ | ==== Refer ==== | ||
+ | - https:// | ||
+ | - https:// | ||
/var/www/dokuwiki/wiki/data/pages/linux/bbr.txt · Last modified: 2018/01/08 14:40 by percy