V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
fzinfz
V2EX  ›  Linux

Linux Kernel 4.6 中的 Kernel Connection Multiplexor (KCM)怎么用?比 KCP 效果好?

  •  
  •   fzinfz ·
    fzinfz · 2017-02-01 14:18:49 +08:00 · 3411 次点击
    这是一个创建于 2613 天前的主题,其中的信息可能已经有所发展或是发生改变。

    看到一句话: linux4.6 内核中加入 tcp 的更优特性的架构(KCM),可以更好的提升速度,所以..不会支持 kcp
    来源: https://git.io/vDqN6

    搜了下资料有点少。。。有正在用的V友么?

    4 条回复    2017-02-01 21:37:19 +08:00
    limhiaoing
        1
    limhiaoing  
       2017-02-01 14:35:28 +08:00
    似乎不太一样?
    KCM 是想实现类似于 UDP over TCP 的功能

    KCP 可以用于实现 TCP over UDP 的功能。
    htfy96
        2
    htfy96  
       2017-02-01 14:39:49 +08:00
    https://www.kernel.org/doc/Documentation/networking/kcm.txt 这里有文档……感觉和 KCP 是完全不同的一类东西
    limhiaoing
        3
    limhiaoing  
       2017-02-01 14:41:45 +08:00
    KCM 看起来更像是 kcptun 作者的这个项目 https://github.com/xtaci/smux
    fzinfz
        4
    fzinfz  
    OP
       2017-02-01 21:37:19 +08:00
    @limhiaoing #1
    @htfy96 #2

    感谢回复,文档看得云里雾里的。。。
    看起来貌似是可以利用多 IP 线路加速的技术。要编程实现,不会写底层,期待各位大神实现了~~

    https://lwn.net/Articles/657999/
    Thus, KCM can be thought of as implementing a sort of poor hacker's multipath TCP, where the application is charged with setting up the connections over the various paths.

    multipath TCP : https://lwn.net/Articles/544399/
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5434 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 08:47 · PVG 16:47 · LAX 01:47 · JFK 04:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.