博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
用ping命令简单的测试 延时、抖动、丢包率
阅读量:5242 次
发布时间:2019-06-14

本文共 3175 字,大约阅读时间需要 10 分钟。

在DOS命令状态下输入 :

ping 202.105.135.211 -t (连续的对该IP地址执行Ping命令,直到被用户以Ctrl+C中断)
就会得到下面的结果:
Pinging 202.105.135.211 with 32 bytes of data:
Reply from 202.105.135.211: bytes=32 time=93ms TTL=42
Reply from 202.105.135.211: bytes=32 time=86ms TTL=42
Reply from 202.105.135.211: bytes=32 time=81ms TTL=42
Reply from 202.105.135.211: bytes=32 time=80ms TTL=42
Ping statistics for 202.105.135.211:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 80ms, Maximum = 93ms, Average = 85ms

这里面,丢包率0%,抖动是-5ms到+8ms,延时是 85ms(毫秒),测试另外两个IP地址,可以看到:

Pinging 221.221.23.7 with 32 bytes of data:

Reply from 221.221.23.7: bytes=32 time=28ms TTL=48
Reply from 221.221.23.7: bytes=32 time=26ms TTL=48
Reply from 221.221.23.7: bytes=32 time=26ms TTL=48
Reply from 221.221.23.7: bytes=32 time=26ms TTL=48
Reply from 221.221.23.7: bytes=32 time=28ms TTL=48
Reply from 221.221.23.7: bytes=32 time=28ms TTL=48
Reply from 221.221.23.7: bytes=32 time=27ms TTL=48
Reply from 221.221.23.7: bytes=32 time=60ms TTL=48
Reply from 221.221.23.7: bytes=32 time=113ms TTL=48
Reply from 221.221.23.7: bytes=32 time=27ms TTL=48
Reply from 221.221.23.7: bytes=32 time=52ms TTL=48
Reply from 221.221.23.7: bytes=32 time=58ms TTL=48
Reply from 221.221.23.7: bytes=32 time=27ms TTL=48
Reply from 221.221.23.7: bytes=32 time=112ms TTL=48
Reply from 221.221.23.7: bytes=32 time=76ms TTL=48
Reply from 221.221.23.7: bytes=32 time=154ms TTL=48
Ping statistics for 221.221.23.7:
Packets: Sent = 16, Received = 16, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 26ms, Maximum = 154ms, Average = 54ms

丢包率0%,抖动是-28ms到+100ms,延时是 54ms(毫秒)Pinging 221.221.23.209 with 32 bytes of data:

Reply from 221.221.23.209: bytes=32 time=885ms TTL=48
Reply from 221.221.23.209: bytes=32 time=688ms TTL=48
Reply from 221.221.23.209: bytes=32 time=482ms TTL=48
Reply from 221.221.23.209: bytes=32 time=119ms TTL=48
Reply from 221.221.23.209: bytes=32 time=61ms TTL=48
Reply from 221.221.23.209: bytes=32 time=456ms TTL=48
Reply from 221.221.23.209: bytes=32 time=962ms TTL=48
Reply from 221.221.23.209: bytes=32 time=890ms TTL=48
Reply from 221.221.23.209: bytes=32 time=939ms TTL=48
Reply from 221.221.23.209: bytes=32 time=891ms TTL=48
Reply from 221.221.23.209: bytes=32 time=141ms TTL=48
Reply from 221.221.23.209: bytes=32 time=420ms TTL=48
Reply from 221.221.23.209: bytes=32 time=517ms TTL=48
Reply from 221.221.23.209: bytes=32 time=463ms TTL=48
Reply from 221.221.23.209: bytes=32 time=798ms TTL=48
Reply from 221.221.23.209: bytes=32 time=451ms TTL=48
Reply from 221.221.23.209: bytes=32 time=604ms TTL=48
Ping statistics for 221.221.23.209:
Packets: Sent = 17, Received = 17, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 61ms, Maximum = 962ms, Average = 574ms

丢包率0%,抖动是-511ms到+488ms,延时是 574ms(毫秒)

  从上面3个结果看,第一组延时小,第三组延时大。丢包率为0%,只有第一组的网络可以正常使用安装网络电话或视频等保证通话质量,第二组抖动大不可用,第三组延时、抖动都大,也不可用。

根据经验,这3个指标中,任何一个超标,都不可以安装用户端,否则通话质量就没有保障:

  丢包率:小于8%

  延时:小于200ms
  抖动:正负不大于40ms

  安装网络电话时,严格把住这些基本指标。用户网络不能达到这些指标,安装以后必然出现话音不好的问题。不达标的IP网络,建议不要安装,等用户网络达标以后再安装,否则给用户和代理商带来许多麻烦。

转载于:https://www.cnblogs.com/chenxiaomeng/p/10064622.html

你可能感兴趣的文章
前端各种mate积累
查看>>
jQuery 1.7 发布了
查看>>
Python(软件目录结构规范)
查看>>
Windows多线程入门のCreateThread与_beginthreadex本质区别(转)
查看>>
Nginx配置文件(nginx.conf)配置详解1
查看>>
linux php编译安装
查看>>
name phone email正则表达式
查看>>
721. Accounts Merge
查看>>
「Unity」委托 将方法作为参数传递
查看>>
重置GNOME-TERMINAL
查看>>
redis哨兵集群、docker入门
查看>>
hihoCoder 1233 : Boxes(盒子)
查看>>
oracle中anyData数据类型的使用实例
查看>>
C++对vector里面的元素排序及取任意重叠区间
查看>>
软件测试——性能测试总结
查看>>
12.4站立会议
查看>>
Java Concurrentmodificationexception异常原因和解决方法
查看>>
客户端访问浏览器的流程
查看>>
codeforces水题100道 第二十二题 Codeforces Beta Round #89 (Div. 2) A. String Task (strings)
查看>>
c++||template
查看>>