According to wikipedia Iperf “is a commonly used network testing tool that can create TCP and UDP data streams and measure the throughput of a network that is carrying them. Iperf is a modern tool for network performance measurement written in C++.”

This tool has to configure server side and client side to complete a test. It can test from client side to server side , also can test from both direction.

1. Download iperf 3

The main download site is from https://iperf.fr/iperf-download.php.

2. Start it as server

Running command ‘iperf -s’ from command line as iperf server (ip address 100.99.136.66).

C:\Tools>iperf -s  ————————————————————

Server listening on TCP port 5001

TCP window size: 8.00 KByte (default)

————————————————————

[188] local 100.99.136.66 port 5001 connected with 100.94.200.14 port 48410

[ ID] Interval       Transfer     Bandwidth

[188]  0.0-10.0 sec   121 MBytes   101 Mbits/sec


3. Run iperf as test client

User ‘ipef -c’ command to run from client test machine (ip adss 100.94.200.14)  to evaluate the network throughput based on TCP connection.

C:\tools>iperf -c 100.99.136.66

————————————————————

Client connecting to 100.99.136.66, TCP port 5001

TCP window size: 8.00 KByte (default)

————————————————————

[1912] local 100.94.200.14 port 48410 connected with 100.99.136.66 port 5001

[ ID] Interval       Transfer     Bandwidth

[1912]  0.0-10.0 sec   121 MBytes   101 Mbits/sec

4. Send 100MBytes data for testing

iperf -c 100.99.136.66 -n 100m

5. Bi-direction test

Simultaneous bi-directional bandwidth measurement: (-d argument)

To measure the bi-directional bandwidths simultaneousely, use the -d argument. If you want to test the bandwidths sequentially, use the -r argument (see previous test).

By default (ie: without the -r or -d arguments), only the bandwidth from the client to the server is measured.

C:\tools> iperf -c 100.99.136.66  -d

————————————————————

Server listening on TCP port 5001

TCP window size: 85.3 KByte (default)

————————————————————

————————————————————

Client connecting to 10.1.1.1, TCP port 5001

TCP window size: 16.0 KByte (default)

————————————————————

[ 5] local 10.6.2.5 port 60270 connected with 10.1.1.1 port 5001

[ 4] local 10.6.2.5 port 5001 connected with 10.1.1.1 port 2643

[ 4] 0.0-10.0 sec 76.3 MBytes 63.9 Mbits/sec

[ 5] 0.0-10.1 sec 1.55 MBytes 1.29 Mbits/sec

6. Parallel TCP connections

Parallel connections can be useful if you need to saturate the bandwidth of a link.  The bandwidth of a single TCP session can be greatly affected by the size of the receive window and the latency of the link.

iperf -s -i 1 (-i 1 means update terminal every second)

iperf -c 192.168.1.1 -t 30 -P 10

Add caption

7.  Other Parameters

iperf -c 12.12.12.12 -p 2233 -i 1 -t 60 -f M

Notes:

c:start iperf as client, followed ip address is remote server ip.

p:set specific server port, which should be same as server side’s settings.

i:reporting intervals

t:length of test

f:change number output format

Other parameters can be found from https://iperf.fr/iperf-doc.php.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • More
  • Click to print (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Skype (Opens in new window)

Like this:

Like Loading...

Related

Best Free Network Performance Test tool – Iperf相关推荐

  1. Orion Network Performance Monitor 软件在网络管理中的应用

    Orion Network Performance Monitor 软件在网络管理中的应用 Orion Network Performance Monitor是完全的带宽性能和故障管理软件,从路由器. ...

  2. 网络错误修复工具:Network Fault Repair Tool Build20160414

    网络错误修复工具:Network Fault Repair Tool Build20160414 1 ::请勿轻易修改此文件,以避免不可预知的错误 gwsbhqt@163.com 2 3 @echo ...

  3. Language-Directed Hardware Design for Network Performance Monitoring

    摘要 现在的网络性能监控能力受到现有的交换机对监控范围支持的限制,迫使运营商严重依赖于对网络核心设备可视性差的终端.交换机供应商对交换机增加了更多的监控功能,但是鉴于网络运营商的不断变化的需求,添加特 ...

  4. Language-Directed Hardware Design for Network Performance Monitoring——Marple

    网络监控困难 1.仅仅通过去增加特定的监控功能到交换机是不能满足运营商不断变化的需求的.(交换机需要支持网络性能问题的表达语言) 2.他们缺乏对网络深处的性能问题进行本地化的可见性,间接推断网络问题的 ...

  5. Network Stack Specialization for Performance

    最近在研究DPDK,这是sigcomm 2014的论文,纪录在此备忘 Ps:  文中关键词的概念: segment : 对应于tcp的PDU(协议传输单元),这里应该指tcp层的包,如果一个包太大tc ...

  6. Tips: Disk Performance On FreeBSD

    http://www.tagidea.com/reader/SA_Notes Disk I/O 读写性能: [9:42am] ~#diskinfo -c /dev/mfid0 /dev/mfid0 5 ...

  7. Paper:2020年3月30日何恺明团队最新算法RegNet—来自Facebook AI研究院《Designing Network Design Spaces》的翻译与解读

    Paper:2020年3月30日何恺明团队最新算法RegNet-来自Facebook AI研究院<Designing Network Design Spaces>的翻译与解读 导读: 卧槽 ...

  8. Paper之RegNet:《Designing Network Design Spaces》的翻译与解读—2020年3月30日来自Facebook AI研究院何恺明团队最新算法RegNet

    Paper之RegNet:<Designing Network Design Spaces>的翻译与解读-2020年3月30日来自Facebook AI研究院何恺明团队最新算法RegNet ...

  9. Linux网络性能评估工具iperf 、CHARIOT测试网络吞吐量

    目录 一. Iperf能做什么 1.TCP方面 2.UDP方面 二. Iperf的安装与使用 1.安装iperf 2.iperf参数介绍 三. Iperf应用实例 1.测试TCP吞吐量 2 . 测试U ...

最新文章

  1. python写web自动化_Web接口开发与自动化测试——基于Python语言
  2. 前端学习(2769):发送网络请求
  3. printf的格式控制的完整格式
  4. 中缀表达式转后缀表达式两位数_再见,正则表达式!
  5. 什么是冬至?冬至的由来?
  6. flask-文件上传/下载
  7. 编写高质量代码改善C#程序的157个建议——建议9: 习惯重载运算符
  8. 手机群控还有这种事半功倍的操作?快来看强大的Rest API脚本功能
  9. Incremental Learning of Object Detectors without Catastrophic Forgetting详解
  10. iOS播放器、Flutter高仿书旗小说、卡片动画、二维码扫码、菜单弹窗效果等源码
  11. c#把word文档转换为html页面
  12. 在线硬盘存储计算机,硬盘存储
  13. Mac:TexStudio 首行缩进
  14. opencv:图像轮廓检测-细胞轮廓
  15. java计算机毕业设计高校教学资源库设计与实现---源码+mysql数据库+系统+lw文档+部署
  16. VM 将宿主机文件夹 映射至 虚拟机以及vm tools【共享文件夹、复制粘贴、拖动上传下载】
  17. GPIO模块常用的一些方法
  18. PCL库官方教程01
  19. python十个评委打分表_评委评分表
  20. wxpython 事件驱动

热门文章

  1. 在INSTALL TINY时出现下面的问题怎么办?
  2. win7磁盘设置背景方法
  3. 全程软件测试之测试需求分析与计划(2)
  4. 八杯水微博程序演示及下载
  5. codesmith使用的一个小问题
  6. python 爬虫代码_python之路(一)_爬虫—爬一下网页代码输出到文件
  7. Hyperset(排序+二分)
  8. CCF之地铁修建(100分)
  9. 有关EMMC、Nandflash、SSD、HDD的科普类说明
  10. 服务器网口和虚拟服务器网口配置,Apache服务器使用不同端口配置多个虚拟主机站点...