qqab 发表于 2019-1-15 21:43:19

debian 9.0 这样安装bbr 是不是有问题?

[*]root@debian:~# lsb_release -a
[*]No LSB modules are available.
[*]Distributor ID:      Debian
[*]Description:      Debian GNU/Linux 9.0 (stretch)
[*]Release:      9.0
[*]Codename:      stretch
[*]root@debian:~# echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
[*]root@debian:~# echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
[*]root@debian:~# sysctl -p
[*]net.ipv4.neigh.default.base_reachable_time_ms = 600000
[*]net.ipv4.neigh.default.mcast_solicit = 20
[*]net.ipv4.neigh.default.retrans_time_ms = 250
[*]sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
[*]sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
[*]sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
[*]sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
[*]sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
[*]sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
[*]net.core.default_qdisc = fq
[*]net.ipv4.tcp_congestion_control = bbr
[*]root@debian:~# sysctl net.ipv4.tcp_available_congestion_control
[*]net.ipv4.tcp_available_congestion_control = bbr cubic reno
[*]root@debian:~# lsmod | grep bbr
[*]tcp_bbr                163841
[*]root@debian:~#
[*]复制代码

ynuigv 发表于 2019-1-15 21:50:44

本帖最后由 ynuigv 于 2019-1-15 21:52 编辑

没问题,已经开启了
我也是这样开启的,简单,无毒

其实就是三条命令而已
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

bax 发表于 2019-1-15 21:51:53

没问题,不用暴力和魔改都这样开

qqab 发表于 2019-1-15 21:54:52


ynuigv 发表于 2019-1-15 21:50

没问题,已经开启了
我也是这样开启的,简单,无毒
谢谢
页: [1]
查看完整版本: debian 9.0 这样安装bbr 是不是有问题?