关于Ping的延迟

时间:2009-04-21 10:56:19

标签: networking ping latency

ping返回的延迟是什么意思?

即。下面的“时间”

C:\Users\guest>ping -n 2 www.google.com

Pinging www.google.com [62.252.60.89] with 32 bytes of data: 
Reply from 62.252.60.89: bytes=32 time=11ms TTL=58 
Reply from 62.252.60.89: bytes=32 time=15ms TTL=58

Ping statistics for 62.252.60.89:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), 
Approximate round trip times in milli-seconds:
    Minimum = 11ms, Maximum = 15ms, Average = 13ms

2 个答案:

答案 0 :(得分:7)

这是发送请求和接收响应之间的时间(也称为“往返时间”)。通常,本地主机或本地网络只有几毫秒,但对于卫星传输而言,这可能非常大(相对)。

如果它可能超过一秒钟,您可能必须提高超时时间,以免将其检测为丢失的数据包。

下图显示了这个想法。

    SENDER               RECEIVER
                  |    |
    ping request  |\   |
             ^    | \  |
             |    |  \ |
    latency -+    |   \| ping received
             |    |   /| ping response
             |    |  / |
             v    | /  |
    ping response |/   |
    received      |    |

答案 1 :(得分:0)

Ping测量往返延迟,即网络数据包从发送主机A到目标主机B再返回的时间。