walldrill

Windows Scaling heuristics 的坑

  •  
  •   walldrill · Jul 31, 2018 · 3943 views
    This topic created in 2865 days ago, the information mentioned may be changed or developed.
    之前我发过一个帖子,讲的是我从搬瓦工 cn2 vps 上拉一个文件时单个连接不可能超过 300kB/s 的问题。进行了一番搜索后,在 https://www.duckware.com/blog/how-windows-is-killing-internet-download-speeds/index.html 这个网站上发现了原因。。原来是 windows scaling heuristics 自动把 tcp window scale 给关了,导致我每个套接字的接收窗口一直是最开始的大小。
    按照原文教程把这个东西关了后立马见效。。搬瓦工 cn2 可以跑到 2.2MB/s。更让我惊喜的是 DO 新加坡的 vps 在用上了 bbr 并把 tcp slow start 关掉后都可以在我的电信家宽上立马跑出 3MB/s,瞬间让性价比暴涨
    3 replies    2018-08-01 12:31:39 +08:00
    ripe
        1
    ripe  
       Aug 1, 2018 via Android
    第一次知道有这种东西,回头试一下再来回复。
    iX
        2
    iX  
       Aug 1, 2018
    这篇文章作者好有意思,声称自己是原创,google 扒了一下,12 年就有人提这个事情了。。
    yksoft1
        3
    yksoft1  
       Aug 1, 2018
    C:\BaiduYunDownload\adb>netsh interface tcp show heuristics
    TCP 窗口缩放启发参数
    ----------------------------------------------
    窗口缩放启发 : disabled
    合格目标阈值 : 3
    配置文件类型 unknown : normal
    配置文件类型 public : normal
    配置文件类型 private : normal
    配置文件类型 domain : normal


    C:\BaiduYunDownload\adb>
    问题是我这里明明是 disabled,还是没有感觉有任何影响。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1034 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 18:40 · PVG 02:40 · LAX 11:40 · JFK 14:40
    ♥ Do have faith in what you're doing.