找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 26|回复: 3

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

[复制链接]

338

主题

2485

回帖

6150

积分

论坛元老

积分
6150
发表于 2019-1-15 21:43:19 | 显示全部楼层 |阅读模式
[ol]
  • 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                16384  1
  • root@debian:~#
  • [/ol]复制代码
  • 回复

    使用道具 举报

    26

    主题

    239

    回帖

    582

    积分

    高级会员

    积分
    582
    发表于 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
    回复

    使用道具 举报

    14

    主题

    902

    回帖

    1866

    积分

    金牌会员

    积分
    1866
    发表于 2019-1-15 21:51:53 | 显示全部楼层
    没问题,不用暴力和魔改都这样开
    回复

    使用道具 举报

    338

    主题

    2485

    回帖

    6150

    积分

    论坛元老

    积分
    6150
     楼主| 发表于 2019-1-15 21:54:52 | 显示全部楼层

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

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

    谢谢
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-4-23 01:01 , Processed in 0.015675 second(s), 4 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表