iperf3测带宽质量

2013-07-09

Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能。Iperf具有多种参数和UDP特性,可以根据需要调整。Iperf可以报告带宽,延迟抖动和数据包丢失。Iperf was developed as a modern alternative for measuring TCP and UDP bandwidth performance.

Iperf is a handy and reliable command line utility designed to measure bandwidth performance and to tweak various TCP related parameters, as well as UDP characteristics.

The application doesn’t need to be installed; the EXE file that it comes packed in is portable, which means it doesn’t affect your computer registry. Being a command line utility, it can only run from a command prompt window

1、iperf 分为,unix/linux/windows/android/mac等版,unix/linux版更新比较快

2、windows现在已经更新到了iperf3
iperf-3.1.3-win64
https://iperf.fr/iperf-download.php#windows

wget https://iperf.fr/download/windows/iperf-3.1.3-win64.zip

3、yum -y install iperf3

4、使用
./iperf3 -s 启动监听
./iperf -c host -i 1 -w 1M

下载
http://downloads.sourceforge.net/project/iperf/iperf-2.0.5.tar.gz

举例:
1)TCP测试
服务器执行:./iperf -s -i 1 -w 1M
客户端执行:./iperf -c host -i 1 -w 1M
其中-w表示TCP window size,host需替换成服务器地址。

2)UDP测试
服务器执行:./iperf -u -s
客户端执行:./iperf -u -c 10.255.255.251 -b 900M -i 1 -w 1M -t 60
其中-b表示使用多少带宽,1G的线路你可以使用900M进行测试。

参考:
http://sourceforge.net/projects/iperf/
http://code.google.com/p/iperf/
http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/Iperf.shtml

分类:操作系统网络 | 标签: |

相关日志

评论被关闭!