背景:
阅读新闻
网络性能测试工具Iperf详细使用图文教程
[日期:2014-05-03] 来源:Linux社区 作者:hlz_2599 [字体:]
JPerf2.0测试举例:
测试内容(UDP):
UDP buffer size:默认,0.01M
UDP packet size:默认,1470 byte
端口:5001
TTL:1
测试网卡带宽:1000M
测试总时间:10 s
时间间隔:1 s
显示单位:M
测试流:1个
客户端:
bin/iperf.exe -c 10.0.115.82 -u -P 1 -i 1 -p 5001 -f M -b 1000M -t 10 -T 1 -F C:\Documents and Settings\Administrator\桌面\Clip2_CCTV5_NBA_3.75M_V3.3M_A160k.ts
Unable to open the file stream
Will use the default data stream
------------------------------------------------------------
Client connecting to 10.0.115.82, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 0.01 MByte (default)
------------------------------------------------------------
[1832] local 10.0.115.54 port 3297 connected with 10.0.115.82 port 5001
[ ID] Interval Transfer Bandwidth
[1832] 0.0- 1.0 sec 3.46 MBytes 3.46 MBytes/sec
[1832] 1.0- 2.0 sec 3.32 MBytes 3.32 MBytes/sec
[1832] 2.0- 3.0 sec 3.43 MBytes 3.43 MBytes/sec
[1832] 3.0- 4.0 sec 3.42 MBytes 3.42 MBytes/sec
[1832] 4.0- 5.0 sec 3.43 MBytes 3.43 MBytes/sec
[1832] 5.0- 6.0 sec 3.39 MBytes 3.39 MBytes/sec
[1832] 6.0- 7.0 sec 3.43 MBytes 3.43 MBytes/sec
[1832] 7.0- 8.0 sec 3.40 MBytes 3.40 MBytes/sec
[1832] 8.0- 9.0 sec 3.43 MBytes 3.43 MBytes/sec
[1832] 9.0-10.0 sec 3.47 MBytes 3.47 MBytes/sec
[1832] 0.0-10.0 sec 34.2 MBytes 3.41 MBytes/sec
[1832] Server Report:
[1832] 0.0-10.0 sec 34.2 MBytes 3.41 MBytes/sec 1.953 ms 13/24378 (0.053%)
[1832] Sent 24378 datagrams
bin\iperf.exe: ignoring extra argument -- and
bin\iperf.exe: ignoring extra argument -- Settings\Administrator\桌面\Clip2_CCTV5_NBA_3.75M_V3.3M_A160k.ts
Done.
服务端:
bin/iperf.exe -s -u -P 0 -i 1 -p 5001 -f M
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 0.01 MByte (default)
------------------------------------------------------------
[1928] local 10.0.115.82 port 5001 connected with 10.0.115.54 port 3297
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[1928] 0.0- 1.0 sec 3.45 MBytes 3.45 MBytes/sec 0.281 ms 1649892402/ 2462 (6.7e+007%)
[1928] 1.0- 2.0 sec 3.31 MBytes 3.31 MBytes/sec 0.264 ms 0/ 2358 (0%)
[1928] 2.0- 3.0 sec 3.43 MBytes 3.43 MBytes/sec 0.288 ms 6/ 2450 (0.24%)
[1928] 3.0- 4.0 sec 3.42 MBytes 3.42 MBytes/sec 0.271 ms 4/ 2445 (0.16%)
[1928] 4.0- 5.0 sec 3.43 MBytes 3.43 MBytes/sec 0.269 ms 0/ 2446 (0%)
[1928] 5.0- 6.0 sec 3.39 MBytes 3.39 MBytes/sec 0.662 ms 0/ 2417 (0%)
[1928] 6.0- 7.0 sec 3.43 MBytes 3.43 MBytes/sec 0.252 ms 0/ 2446 (0%)
[1928] 7.0- 8.0 sec 3.40 MBytes 3.40 MBytes/sec 0.232 ms 3/ 2429 (0.12%)
[1928] 8.0- 9.0 sec 3.43 MBytes 3.43 MBytes/sec 0.083 ms 0/ 2448 (0%)
[1928] 9.0-10.0 sec 3.47 MBytes 3.47 MBytes/sec 0.218 ms 0/ 2474 (0%)
[1928] 0.0-10.0 sec 34.2 MBytes 3.41 MBytes/sec 1.953 ms 13/24378 (0.053%)
测试结果
[1832] 0.0-10.0 sec 34.2 MBytes 3.41 MBytes/sec 1.953 ms 13/24378 (0.053%)
[1832] Sent 24378 datagrams
链路传输UDP速度:3.42MBytes/sec
总延时:1.953ms
丢包:13个 占0.053%
总传输:34.2MB
PXE+DHCP+NFS+KICKSTART无人值守安装RHEL6.4
本文评论 查看全部评论 (0)
尊重网上道德,遵守中华人民共和国的各项有关法律法规 承担一切因您的行为而直接或间接导致的民事或刑事法律责任 本站管理人员有权保留或删除其管辖留言中的任意内容 本站有权在网站内转载或引用您的评论 参与本评论即表明您已经阅读并接受上述条款
评论声明
最新资讯