IPerf
From Indie IT Wiki
Introduction
iPerf is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports the bandwidth, loss, and other parameters.
Installation
sudo apt-get install iperf
Usage
Server
sudo iperf -s
Client
iperf -c 192.168.0.252 -P 1 -i 1 -p 5201 -f m -t 10
Output
Across 2 Ubiquiti NanoStation locoM2 in a garden...
iperf -c 192.168.0.252 -P 1 -i 1 -p 5201 -f m -t 10 ------------------------------------------------------------ Client connecting to 192.168.0.252, TCP port 5201 TCP window size: 0.08 MByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.163 port 42296 connected with 192.168.0.252 port 5201 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 1.0 sec 7.62 MBytes 64.0 Mbits/sec [ 3] 1.0- 2.0 sec 9.38 MBytes 78.6 Mbits/sec [ 3] 2.0- 3.0 sec 9.62 MBytes 80.7 Mbits/sec [ 3] 3.0- 4.0 sec 8.75 MBytes 73.4 Mbits/sec [ 3] 4.0- 5.0 sec 9.00 MBytes 75.5 Mbits/sec [ 3] 5.0- 6.0 sec 8.75 MBytes 73.4 Mbits/sec [ 3] 6.0- 7.0 sec 9.50 MBytes 79.7 Mbits/sec [ 3] 7.0- 8.0 sec 10.5 MBytes 88.1 Mbits/sec [ 3] 8.0- 9.0 sec 10.1 MBytes 84.9 Mbits/sec [ 3] 9.0-10.0 sec 8.62 MBytes 72.4 Mbits/sec [ 3] 0.0-10.0 sec 91.9 MBytes 77.0 Mbits/sec