带宽测试工具-iPerf3

 
更多

工具名称:iPerf3

官网: https://iperf.fr/

简介:用于TCP,UDP和SCTP的终极速度测试工具;

功能:跨平台(Windows,Linux,Android,MacOS X,FreeBSD,OpenBSD,NetBSD,VxWorks,Solaris,…),其他详见官网

各平台下载地址: https://iperf.fr/iperf-download.php

命令使用帮助: https://iperf.fr/iperf-doc.php#3doc

====测试演示1开始===

环境说明1:window10下的客户端A 和 window10下的服务器B

环境准备1:在服务器B 下执行以下命令为启动成功

D:empiperf-3.1.3-win64

λ iperf3.exe -s

———————————————————–

Server listening on 5201

———————————————————–

测试过程1:在客户端A 下执行以下命令

D:empiperf-3.1.3-win64

λ iperf3.exe -c 192.168.1.105

Connecting to host 192.168.1.105, port 5201

[ 4] local 192.168.1.103 port 62191 connected to 192.168.1.105 port 5201

[ ID] Interval Transfer Bandwidth

[ 4] 0.00-1.00 sec 11.5 MBytes 96.4 Mbits/sec

[ 4] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec

[ 4] 2.00-3.00 sec 11.2 MBytes 94.4 Mbits/sec

[ 4] 3.00-4.00 sec 11.4 MBytes 95.4 Mbits/sec

[ 4] 4.00-5.00 sec 11.2 MBytes 94.3 Mbits/sec

[ 4] 5.00-6.00 sec 11.4 MBytes 95.3 Mbits/sec

[ 4] 6.00-7.00 sec 11.2 MBytes 94.4 Mbits/sec

[ 4] 7.00-8.00 sec 11.4 MBytes 95.4 Mbits/sec

[ 4] 8.00-9.00 sec 11.2 MBytes 94.4 Mbits/sec

[ 4] 9.00-10.00 sec 11.4 MBytes 95.4 Mbits/sec

– – – – – – – – – – – – – – – – – – – – – – – – –

[ ID] Interval Transfer Bandwidth

[ 4] 0.00-10.00 sec 113 MBytes 95.0 Mbits/sec sender

[ 4] 0.00-10.00 sec 113 MBytes 94.9 Mbits/sec receiver

iperf Done.

测试结论:95/8=11.875MB/s客户端A 和 服务器B(192.168.1.105)的带宽约为 11MB/秒;

===测试演示1结束===

===测试演示2开始===

环境说明1:window10下的客户端A 和 centerOS下的服务器B

环境准备1:在服务器B 下执行以下命令为启动成功

[root@cent7dev1-70 app]# rpm -ivh iperf3-3.1.3-1.fc24.x86_64.rpm

准备中… ################################# [100%]

正在升级/安装…

1:iperf3-3.1.3-1.fc24 ################################# [100%]

[root@cent7dev1-70 app]# iperf3 -s

———————————————————–

Server listening on 5201

———————————————————–

测试过程1:在客户端A 下执行以下命令

D:empiperf-3.1.3-win64

λ iperf3.exe -c 192.168.1.70

Connecting to host 192.168.1.70, port 5201

[ 4] local 192.168.1.103 port 63622 connected to 192.168.1.70 port 5201

[ ID] Interval Transfer Bandwidth

[ 4] 0.00-1.00 sec 113 MBytes 950 Mbits/sec

[ 4] 1.00-2.00 sec 113 MBytes 947 Mbits/sec

[ 4] 2.00-3.00 sec 113 MBytes 948 Mbits/sec

[ 4] 3.00-4.00 sec 111 MBytes 932 Mbits/sec

[ 4] 4.00-5.00 sec 111 MBytes 930 Mbits/sec

[ 4] 5.00-6.00 sec 113 MBytes 946 Mbits/sec

[ 4] 6.00-7.00 sec 113 MBytes 949 Mbits/sec

[ 4] 7.00-8.00 sec 113 MBytes 945 Mbits/sec

[ 4] 8.00-9.00 sec 111 MBytes 932 Mbits/sec

[ 4] 9.00-10.00 sec 113 MBytes 948 Mbits/sec

– – – – – – – – – – – – – – – – – – – – – – – – –

[ ID] Interval Transfer Bandwidth

[ 4] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec sender

[ 4] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec receiver

iperf Done.

测试结论:943/8=117.875MB/s客户端A 和 服务器B(192.168.1.70)的带宽约为 117MB/秒;

===测试演示2结束===

参考链接:

《netperf 与网络性能测量》https://www.ibm.com/developerworks/cn/linux/l-netperf/

《Linux下3种常用的网络测速工具》https://blog.csdn.net/g6U8W7p06dCO99fQ3/article/details/106030202

《局域网带宽测试工具——iperf》https://blog.csdn.net/xihuanyuye/article/details/85009816

《Mb(全称为Mbps)与MB(Mbytes)的区别》https://blog.csdn.net/joeyon1985/article/details/51513643

打赏

本文固定链接: https://www.cxy163.net/archives/2230 | 绝缘体

该日志由 绝缘体.. 于 2022年11月22日 发表在 首页 分类下,
原创文章转载请注明: 带宽测试工具-iPerf3 | 绝缘体

报歉!评论已关闭.