none
windows server 2012 r2 http 链接延迟9秒 RRS feed

  • 问题

  • windows server 2012 r2标准版 ,每次从服务器访问网络,总是会有9秒钟的延迟时间,下面是抓包工具的信息,我关闭了防火墙和IPSEC服务还是不行,修改了tcp注册表的一些参数也没用。

    抓包信息:

    Bytes Sent:      76 (headers:76; body:0)
    Bytes Received:  750,199 (headers:366; body:749,833)

    ACTUAL PERFORMANCE
    --------------
    ClientConnected: 11:43:40.147
    ClientBeginRequest: 11:43:40.147
    GotRequestHeaders: 11:43:40.147
    ClientDoneRequest: 11:43:40.147
    Determine Gateway: 0ms
    DNS Lookup: 4ms
    TCP/IP Connect: 9026ms
    HTTPS Handshake: 0ms
    ServerConnected: 11:43:49.179
    FiddlerBeginRequest: 11:43:49.179
    ServerGotRequest: 11:43:49.179
    ServerBeginResponse: 11:43:49.210
    GotResponseHeaders: 11:43:49.210
    ServerDoneResponse: 11:43:49.741
    ClientBeginResponse: 11:43:49.741
    ClientDoneResponse: 11:43:49.741

    Overall Elapsed: 0:00:09.593

    RESPONSE BYTES (by Content-Type)
    --------------
    text/html: 749,833
    ~headers~: 366


    ESTIMATED WORLDWIDE PERFORMANCE
    --------------
    The following are VERY rough estimates of download times when hitting servers based in Seattle.

    US West Coast (Modem - 6KB/sec)
    RTT: 0.10s
    Elapsed: 125.10s

    Japan / Northern Europe (Modem)
    RTT: 0.15s
    Elapsed: 125.15s

    China (Modem)
    RTT: 0.45s
    Elapsed: 125.45s

    US West Coast (DSL - 30KB/sec)
    RTT: 0.10s
    Elapsed: 25.10s

    Japan / Northern Europe (DSL)
    RTT: 0.15s
    Elapsed: 25.15s

    China (DSL)
    RTT: 0.45s

    2015年12月16日 3:45

答案

  • 你好,

    据我所知, ClientDoneRequest 和ServerConnected之间存在一定的时间差可能是由于客户端试图采用“连接重用”导致的,http连接重用是指用同一个TCP连接发送多个request/response。但是在你的环境中可能刚开始客户端试图“连接重用”使用原来tcp连接,但是失败了,所以只能重新申请一个新的tcp连接。


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    2015年12月17日 8:05