Iperf is a commonly used network testing tool that can createTCP and UDP data streams and measure the throughput of a network that is carrying them. Iperf is a tool for network performance measurement written inC++. Iperf was developed by the Distributed Applications Support Team (DAST) at the National Laboratory for Applied Network Research (NLANR).
Iperf allows the user to set various parameters that can be used for testing a network, or alternately for optimizing or tuning a network. Iperf has aclient and server functionality, and can measure the throughput between the two ends, either unidirectionally or bi-directionally. It isopen source software and runs on various platforms including Linux, Unix and Windows.
- UDP: When used for testing UDP capacity, Iperf allows the user to specify the datagram size and provides results for the datagram throughput and the packet loss.
- TCP: When used for testing TCP capacity, Iperf measures the throughput of the payload. One thing to note is that Iperf uses 1024*1024 formegabytes and 1000*1000 formegabits.
Typical Iperf output contains a timestamped report of the amount of data transferred and the throughput measured.
Iperf is significant as it is a cross-platform tool that can be run over any network and output standardized performance measurements. Thus it can be used for comparison of wired and wireless networking equipment and technologies in an unbiased way[citation needed]. Since it is also open source, the measurement methodology can be scrutinized by the user as weInstall Iperf
What can Iperf do for our testing?
It will help us the WiFi-AP 802.11 protocol performance, like the throughout and bandwidth.
Setup the environment:
Linux
1.you must have an internet connection to install
2.enter the root in terminal(su or sudo passwd root)
3.apt-get install iperf
4.apt-get install build-essential
5.wgethttp://jaist.dll.sourceorge.net/project/iperf/iperf-2.0.5.tar.gz
6. tar zxvf iperf.2.0.5.tar.gz
7../configure
8.make
9.make install clean
BTW, if you have already downloaded the iperf package, you can directly install it.
tar xvf iperf-2.0.5.tar.gz
cd iperf-2.0.5
./configure
make
make install
In this example I will use the linux iperf as server
Start server
iperf -s
Windows
download iper like:https://nocweboldcst.ucf.edu/files/iperf.exe
1.Open CMD
2.Go to the folder/disk iperf.exe located
In this example will use the windows iperf as client to send TCP/UDP message
3.iperf.exe <ip of the server> (Please try ifconfig to get the Linux IP)