Can you explain the ICMP ping test?

2023-05-16

As for the first part of your question, whether the continuous ping test affects bandwidth, data flow, etc. depends on the following:

 

  • A. The size of the ping packet;
  • B. The frequency with which you are pinging (in your case "continuous"); and
  • C. The number of hosts you are pinging.

    The following formula will help you determine the effective bandwidth being generated when using pings:

    (packet size (bytes) x 8 (converts to bits)) x 2 (because there is also a reply) x number of pings x number of hosts.

    Bytes 37
    Bits 296
    Including replies 592
    # of pings 100
    # of hosts 1

    Total kbits 59.2
    (592 x 100 x 1)/1000

    To confirm the above calculation, I ran...  a test on my corporate network with the following results. The test consisted of one hundred (100), 37-byte ICMP pings, run one after the other, from my Windows XP desktop computer (ping -n 100 espn.com). I'm sure ESPN will forgive me the extra traffic.

    The table below shows the results of the test and displays the number of packets and the kbits of traffic for both the REQUESTS (outbound) and the REPLIES (inbound). As you can see, there were 100 packets in each direction (since we received a reply for each request). The 100 pings generated 59.2 kbits of traffic. The entire test took 100 seconds, or an effective throughput of .592 kbits/sec. If you had an application that allowed you to do the same test on 100 different hosts, you would effectively fill up a 56k link (.592 x 100 = 59.2kbps).



     

    The affect on other network users depends on how latency-sensitive your applications are, and how large the bandwidth is between the users of those applications.

    As for the second part of your question regarding the best tool for monitoring the packet loss, let me state upfront that I have a personal bias because I am currently working for a company (Network Physics) that has a product which passively measures real-time packet loss by monitoring the actual TCP retransmissions on the network. A TCP retransmission is the byproduct of packets being lost or arriving too late at their destinations (just as bad as being lost). This retransmission represents the true impact of packet loss on TCP-based applications and users. Products like these infer that for each retransmitted packet, there has been a packet lost on the network. Given concerns about adding load to the network, I believe this passive methodology is superior, especially across large WANs.

    That said, under the right circumstances, pings can be used to create a barometer for packet loss on the network. Its effectiveness as a barometer will depend on how often you sample for packet loss across the various network paths taken to reach your users. The more frequently you measure, the better your barometer. Of course, this means introducing more load on the network, especially when you have a large WAN and therefore need to test many paths.

    I added the caveat "under the right circumstances" above. This is because there are certain risks in interpreting failures to receive a reply to a ping. Those risks are the following:

     

    1. Interpreting where the packet was lost. Because you have no idea whether the request ever made it to the host, or the reply got lost on the return, it is hard to pinpoint where on the network the packet loss occurred. You only know that the ping failed to get a response.
    2. Network queueing. ICMP pings usually have the lowest priority across a network end-to-end. Therefore, if any router along the path is saturated with packets, then the ICMP ping is likely to be the first to get dropped by that router. Regular applications may exhibit no packet loss; yet, the ping tests will show packet loss.
    3. ICMP filtering. Pings are often used as a method for producing denial of service (DoS) attacks or attempts to discover a network topology. For this reason, many firewalls are configured to block ICMP pings. Additionally, many desktop operating systems and routers have mechanisms for minimizing the number of ICMP pings they will respond to in a given time frame. Therefore, it's possible to get failures when, in fact, there is connectivity, leading to false positives with regards to packet loss.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Can you explain the ICMP ping test? 的相关文章

  • UAVDT:The Unmanned Aerial Vehicle Benchmark: Object Detection and Tracking数据集下载

    无人机数据集对于目标跟踪而言是一大挑战 xff0c 近年来 xff0c 正对无人机的数据集也越来越多 xff0c UAVDT是ICCV2018提出的一个数据集 xff0c 共包含80000帧图片 xff0c 不仅可以用于目标跟踪 xff0c
  • 树莓派spi转can通信之C编程实现(二)

    一 相关库的安装 wiringPi 链接网址 http wiringpi com 一个函数库 在编程时节省底层汇编以操作pi的功能引脚 对pi的引脚也进行了再次编号 BCM2835 C Library 链接网址 http www airsp
  • STMCubeMX5.10版本CAN使用loopback模式自测

    使用芯片 STM32F103C8T6 cube软件版本 5 10 软件包版本为 STM32Cube FW F1 V1 7 0 一 配置时钟为使用外部晶振 并配置为72M 二 使能 can 并配置参数 设置can波特率为500k 并设置为lo
  • CAN与CANOpen(一)

    CAN与CANOpen 一 基本概念 CAN与CANOpen 二 报文格式 CAN与CANOpen 三 错误处理 CAN与CANOpen 四 CANOpen对象字典 CAN与CANOpen 五 PDO和SDO CAN与CANOpen 六 网
  • MCP2515独立控制器

    1 简介 MCP2515 是一款独立控制器局域网络 Controller Area Network CAN 协议控制器 完全支持 CAN V2 0B 技术规范 该器件能发送和接收标准和扩展数据帧以及远程帧 MCP2515 自带的两个验收屏蔽
  • mysql中索引利用情况(explain用法)

    使用explain查看 如下 1 首先创建表test 语句如下 create table test a int b varchar 10 c varchar 10 2 在表中的a b都创建索引 先后顺序是a b create index i
  • CAN/CANFD 总线负载率及计算(源码和工具)

    CAN BUS的总线负载率是CAN总线架构协议设计时的一个重要的指标 一般建议负载率峰值不要高于80 平均负载率不要超过50 当然这只是一般建议 具体根据使用场景和系统设计而定 负载率定义 关于CAN负载率的定义和计算 很多文章写得不求甚解
  • STM32 CAN/CANFD软件快速配置(HAL库版本)

    STM32 CAN CANFD软件快速配置 HAL库版本 目录 STM32 CAN CANFD软件快速配置 HAL库版本 前言 1 软件编程 1 1 建立工程 1 2 初始化 1 2 1 引脚设置 1 2 2 CAN基本参数设置 1 2 3
  • mysql中explain用法和结果的含义

    sql view plain copy explain select from user sql view plain copy explain extended select from user id SELECT识别符 这是SELECT
  • STM32的CAN标识符过滤器超简单理解

    1 STM32中CAN1与CAN2的过滤器组 103系列14个过滤器组 104 107系列28个过滤器组 CAN FilterInitStructure CAN FilterNumber 0 0 13 2 每组过滤器组有两种工作模式 标识符
  • MySQL命令解释忽略LIMIT?

    我使用MySQL服务器版本5 5 14 现在我正在尝试使用Explain命令进行这个简单的SQL查询 EXPLAIN SELECT id name thumb FROM twitter profiles LIMIT 10 它向我显示了这个结
  • 如何使用 C 套接字进行 ping 操作

    编译器 代码 块 GNU GCC 平台 Windows x86 包括 winsock h Winsock2 h ws2 32 也已链接 我目前正在尝试编写一个程序 该程序将读取包含 IP 地址列表的文本文件并分别 ping 每个 IP 地址
  • 发送 ICMP ping

    对于 ICMP ping 请求 回显请求 我是否需要获取目的地的 MAC 地址 我正在尝试学习如何使用原始套接字在 C 中实现此功能 但无法理解如何获取目标的 MAC 地址 任何帮助表示赞赏 谢谢 我需要获取目的地的MAC地址吗 不 在大多
  • ICMP 回显数据包的最大合法大小

    有人可以解释一下为什么 ICMP 回显数据包的最大合法大小计算如下 65535 20 8 65507 Thanks 65535 字节是 IPv4 网络数据包允许的最大大小 而 20 和 8 是 IP 和 ICMP 标头的大小 最多为 ICM
  • pico示波器使用

    文章目录 Pico示波器保存波形 Pico示波器录制数据 Pico示波器解析CAN报文 Pico示波器保存波形 Pico示波器可以通过以下步骤保存波形 在示波器上选择要保存的波形 连接示波器到计算机上 可以使用USB或者Ethernet连接
  • 你能在 Java 中运行真正的 ping 吗?

    过去几周我做了相当多的研究 试图创建一个连接诊断工具 我不想只是检查连接是否可用 而是诊断是否存在抖动 数据包丢失等 到目前为止 Java 似乎不支持真正的 ICMP 请求 并且有一些解决方法 但没有一个能够实现我想要做的事情 有谁知道是否
  • pymongo 聚合不允许解释选项

    我成功运行 result my col aggregate my pipeline allowDiskUse True 现在当我尝试时 result my col aggregate my pipeline allowDiskUse Tru
  • WinRT 中的 ICMP Ping - 可能吗? [复制]

    这个问题在这里已经有答案了 如何在 WinRT 现代 UI 应用程序中执行 ICMP ping 目前 WinRT 中未实现 Ping 请参阅相关问题here https stackoverflow com questions 1095234
  • 为什么 Linux TAP 设备不处理 ARP 或 ICMPv6 数据包

    我正在使用以下命令打开 TAP 设备 p gt fd open dev net tun O RDWR skipping error handling code ifr ifr flags IFF TAP IFF ONE QUEUE IFF
  • PL/pgSQL 中的 EXPLAIN ANALYZE 给出错误:“查询没有结果数据的目的地”

    我试图理解 PL pgSQL 函数中 select 语句的查询计划 但我不断收到错误 我的问题 如何获取查询计划 以下是重现该问题的简单案例 相关表名为 test table CREATE TABLE test table name cha

随机推荐

  • 隐藏UITabBarController的tabBar

    隐藏UITabBarController的tabBar的时候 xff0c 如果不做处理那么下方会多处49pix的白条或者其他颜色的条 xff0c 解决这个问题的方法如下 void setTabBarHidden BOOL hidden se
  • 在线编译多文件c++,c,python等

    在线编译 最近在找在线编译c 43 43 的网站 网上有很多 大多数都是单个文件编译运行 无法建立工程 今天 发现一个比较好的网站 可以直接拉取git的代码进行调试 支持打断点单步调试 支持一键commit等 有些功能还没有试 1 网址 h
  • gtest教程(记录小白从0学习gtest的过程)

    gtest使用教程 1 简介 之前对gtest一无所知 最近 找了些相关的资料 学习了下 这里主要记录了学习过程和相关知识点 什么是gtest gtest测试框架是在不同平台上 xff08 Linux xff0c Mac OS X xff0
  • blender摄像机怎么绕物体旋转

    1 添加物体和摄像机运动路径 贝塞尔圆 2 添加摄像机3 摄像机清零 alt 43 G alt 43 r alt 43 s 4 相机 添加跟随路径 标准跟随
  • steam++下载(最新,2023年)

    steam 43 43 改名字了 下载 https steampp net
  • Arduino+Esp32-wroom32E开发环境搭建(2023)

    这两天开始在Arduino下安装esp32 xff0c 经历了从自动安装到手动安装的过程 自动安装 xff0c 三个字评价 xff1a 太慢了 xff0c 然后还每次100 失败 xff0c 无语 然后开始手动安装 最后成功了 1 ardu
  • gtest 死亡测试

    1 死亡测试 在许多应用程序中 xff0c 如果不满足条件 xff0c 断言可能会导致应用程序失败 这些一致性检查确保程序处于已知的良好状态 xff0c 在某些程序状态损坏后尽早失败 如果断言检查了错误的条件 xff0c 则程序可能会在错误
  • 编译动态库

    静态库命令 ar rcs span class token operator span span class token punctuation span o libxxx span class token punctuation span
  • c/c++ backtrace打印函数调用栈

    效果 解析动态库libtest so和可执行文件m 打印原始栈 include lt execinfo h gt span class token keyword void span span class token operator sp
  • windows自动更新变成灰色不能选择的原因

    现象 发现我的电脑 属性 自动更新里面所有的按钮都已经是灰色的了 xff0c 而且每次开机都会自动运行自动更新 xff0c 关闭进程也无法停止 xff0c 几秒钟后又会开始更新 xff0c 而且更新后会要求重新启动 解决 xff1a 控制面
  • 文章UVM and C – Perfect Together的解读与思考

    解读UVM and C Perfect Together 文章获取方式 xff1a 路科验证 gt 资源 gt DVCon2018 USA zip gt 08 3 http rockeric com resource paper 文章主要内
  • flex详解

    先看效果 xff1a http www runoob com try playit php f 61 playcss justify content amp preval 61 space around 布局的传统解决方案 xff0c 基于
  • OSI七层网络模型的详细讲解

    七层网络结构 xff1a 应用层 表示层 会话层 传输层 网络层 数据链路层 物理层 一般也作五层 应用层 传输层 网络层 数据链路层 物理层 xff08 实体层 xff09 引申问题 xff1a TCP IP协议与http协议的区别 xf
  • [原创]JAVA FFMPEG 绿幕 设置背景 添加图标

    在JAVA中使用FFMPEG编辑绿幕视频的背景 xff0c 添加图标 准备工作使用Maven引入FFMPEG相关依赖安装一个FFMPEG xff0c 用于调试命令编写FFMPEG命令替换绿幕背景 JAVA程序 准备工作 使用Maven引入F
  • c++中头文件的相互依赖引发的问题

    先上代码 xff1a 摘自essential c 43 43 Triangular h include 34 Triangular iterator h 34 class Triangular friend int Triangular i
  • MobileNet_ssd原理

    之前实习用过太多次mobilenet ssd xff0c 但是一直只是用 xff0c 没有去了解它的原理 今日参考了一位大神的博客 xff0c 写得很详细 xff0c 也很容易懂 xff0c 这里做一个自己的整理 xff0c 供自己理解 x
  • 面向对象分析方法

    1 根据问题需要 xff0c 选择所针对的 现实世界中的体 现实世界中的体 现实世界中的体 现实世界中的体 现实世界中的体 现实世界中的体 2 从实体中寻找解决问题相关的属性和功能 xff0c 这些就形成了 从实体中寻找解决问题相关的属性和
  • C++中的std::string_view在VS中报错(命名空间“std“没有成员“string_view“)

    一 报错的地方 1 报错的代码如下 xff1a span class token macro property span class token directive hash span span class token directive
  • freeswitch1.10.8 linux7.6搭建

    1 linux系统 CentOS7 6 2 Freeswitch环境搭建 2 1 安装git 命令 yum install git 解决github资源下载慢的 访问网址http github com ipaddress com 分别获取g
  • Can you explain the ICMP ping test?

    As for the first part of your question whether the continuous ping test affects bandwidth data flow etc depends on the f