V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
cmlz
V2EX  ›  问与答

debian 8.6 开启 BBR 失败,是不是内核加载的模块少了?

  •  
  •   cmlz · 2017-01-03 14:53:50 +08:00 · 4535 次点击
    这是一个创建于 2684 天前的主题,其中的信息可能已经有所发展或是发生改变。

    root@debian:~# cat /proc/version Linux version 4.9.0 (root@debian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Tue Jan 3 13:32:11 CST 2017 root@debian:~# sysctl -p fs.file-max = 65535 net.core.default_qdisc = fq sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory net.ipv4.tcp_congestion_control = bbr root@debian:~#

    4 条回复    2017-01-04 10:58:45 +08:00
    cmlz
        1
    cmlz  
    OP
       2017-01-03 14:56:10 +08:00
    排版怎么乱了。

    root@debian:~# cat /proc/version
    Linux version 4.9.0 (root@debian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Tue Jan 3 13:32:11 CST 2017
    root@debian:~# sysctl -p
    fs.file-max = 65535
    net.core.default_qdisc = fq
    sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
    net.ipv4.tcp_congestion_control = bbr
    root@debian:~#
    introom
        2
    introom  
       2017-01-03 14:59:23 +08:00 via Android
    sid 还没有 4.9, 你自己编译的时候选择 bbr 可么。 modprobe 看一下
    cmlz
        3
    cmlz  
    OP
       2017-01-03 17:34:40 +08:00
    @introom

    root@debian:/etc# lsmod
    Module Size Used by
    xt_tcpudp 16384 3
    nf_conntrack_ipv4 16384 1
    nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
    xt_conntrack 16384 1
    nf_conntrack 90112 2 nf_conntrack_ipv4,xt_conntrack
    iptable_filter 16384 1
    ip_tables 24576 1 iptable_filter
    x_tables 28672 4 ip_tables,iptable_filter,xt_tcpudp,xt_conntrack
    intel_rapl 20480 0
    x86_pkg_temp_thermal 16384 0
    intel_powerclamp 16384 0
    coretemp 16384 0
    kvm_intel 188416 0
    kvm 499712 1 kvm_intel
    irqbypass 16384 1 kvm
    crct10dif_pclmul 16384 0
    crc32_pclmul 16384 0
    mgag200 40960 1
    ttm 81920 1 mgag200
    hpwdt 16384 0
    ghash_clmulni_intel 16384 0
    drm_kms_helper 122880 1 mgag200
    drm 286720 4 mgag200,ttm,drm_kms_helper
    iTCO_wdt 16384 0
    aesni_intel 167936 0
    iTCO_vendor_support 16384 1 iTCO_wdt
    joydev 20480 0
    aes_x86_64 20480 1 aesni_intel
    lrw 16384 1 aesni_intel
    i2c_algo_bit 16384 1 mgag200
    i2c_core 53248 4 mgag200,i2c_algo_bit,drm_kms_helper,drm
    hpilo 20480 0
    snd_pcm 86016 0
    ie31200_edac 16384 0
    gf128mul 16384 1 lrw
    glue_helper 16384 1 aesni_intel
    evdev 24576 3
    lpc_ich 24576 0
    edac_core 45056 1 ie31200_edac
    shpchp 32768 0
    ablk_helper 16384 1 aesni_intel
    acpi_power_meter 20480 0
    mfd_core 16384 1 lpc_ich
    snd_timer 28672 1 snd_pcm
    ipmi_si 53248 0
    ipmi_msghandler 40960 1 ipmi_si
    serio_raw 16384 0
    snd 73728 2 snd_timer,snd_pcm
    soundcore 16384 1 snd
    button 16384 0
    cryptd 20480 3 ablk_helper,ghash_clmulni_intel,aesni_intel
    pcspkr 16384 0
    pcc_cpufreq 16384 0
    acpi_cpufreq 20480 0
    tpm_tis 16384 0
    tpm_tis_core 20480 1 tpm_tis
    tpm 36864 2 tpm_tis,tpm_tis_core
    sch_fq 20480 2
    autofs4 36864 2
    ext4 503808 1
    crc16 16384 1 ext4
    jbd2 86016 1 ext4
    mbcache 16384 2 ext4
    sg 32768 0
    sd_mod 40960 3
    hid_generic 16384 0
    usbhid 49152 0
    hid 106496 2 hid_generic,usbhid
    ahci 36864 2
    libahci 28672 1 ahci
    crc32c_intel 24576 0
    libata 204800 2 ahci,libahci
    psmouse 122880 0
    scsi_mod 188416 3 sd_mod,libata,sg
    tg3 159744 0
    xhci_pci 16384 0
    ptp 20480 1 tg3
    pps_core 16384 1 ptp
    xhci_hcd 167936 1 xhci_pci
    uhci_hcd 40960 0
    libphy 36864 1 tg3
    ehci_pci 16384 0
    ehci_hcd 77824 1 ehci_pci
    usbcore 204800 6 usbhid,ehci_hcd,uhci_hcd,xhci_pci,xhci_hcd,ehci_pci
    usb_common 16384 1 usbcore
    thermal 20480 0
    root@debian:/etc#
    cmlz
        4
    cmlz  
    OP
       2017-01-04 10:58:45 +08:00
    问题解决。
    第一次用 BBR ,掉坑里了。原来 kernel.org 下载的内核编译默认不是编译 BBR 模块进去的,得自已手动添加。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   977 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:08 · PVG 05:08 · LAX 14:08 · JFK 17:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.