AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 397543
Accepted
Varda Elentári
Varda Elentári
Asked: 2012-06-12 03:11:51 +0800 CST2012-06-12 03:11:51 +0800 CST 2012-06-12 03:11:51 +0800 CST

iperf如何计算吞吐量和抖动?

  • 772

我读过 iperf 基本上尝试尽可能快地通过连接发送尽可能多的信息,报告所达到的吞吐量。该工具在确定两台机器之间的链接可以提供的数据量时特别有用。

是否可以通过发送常规数据来收集与不测试数据相同的结果?

我想做的是这个;在前台发送数据,在后台收集统计数据(吞吐量和抖动)。

那么谁能告诉我 iperf 如何计算这两个值?

iperf
  • 1 1 个回答
  • 2874 Views

1 个回答

  • Voted
  1. Best Answer
    Zoredache
    2012-06-12T08:22:49+08:002012-06-12T08:22:49+08:00

    是否可以通过发送常规数据来收集与不测试数据相同的结果?

    我不这么认为,至少不使用iperf。如果您可以使用 pcap/tcpdump/wireshark 捕获真实数据,那么您应该可以使用 wireshark 来确定抖动。

    我怀疑 iperf 使用RFC 3550中为 RTP 协议定义的公式来计算抖动。您可能需要深入研究源代码才能确定。

      If Si is the RTP timestamp from packet i, and Ri is the time of
      arrival in RTP timestamp units for packet i, then for two packets
      i and j, D may be expressed as
    
         D(i,j) = (Rj - Ri) - (Sj - Si) = (Rj - Sj) - (Ri - Si)
    
      The interarrival jitter SHOULD be calculated continuously as each
      data packet i is received from source SSRC_n, using this
      difference D for that packet and the previous packet i-1 in order
      of arrival (not necessarily in sequence), according to the formula
    
         J(i) = J(i-1) + (|D(i-1,i)| - J(i-1))/16
    
      Whenever a reception report is issued, the current value of J is
      sampled.
    
      The jitter calculation MUST conform to the formula specified here
      in order to allow profile-independent monitors to make valid
      interpretations of reports coming from different implementations.
    
    • 4

相关问题

  • 具有良好图形的吞吐量工具[关闭]

  • 基于命令行的 IP 流量生成器

  • 为 win32 预编译的 Iperf 2.x 二进制文件?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve