Measure Network Throughput with iperf

You can follow the steps below to measure Network Throughput with iperf

  1. Download iperf

  2. Extract the downloaded folder to C:\Temp\iperf-3.1.3-win64 and open CMD with Administrator Right

  3. Select 1 of the Public iperf Server to test the Internet Throughtput

  4. Enter the command below in Windows 7 machines, and use the iperf public server (perf.he.net port 5201) to test the Internet Bandwidth

C:\Temp\iperf-3.1.3-win64>iperf3.exe -c iperf.he.net -p 5201 -i 1s
Connecting to host iperf.he.net, port 5201
[  4] local 10.3.3.248 port 56697 connected to 216.218.227.10 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   256 KBytes  2.10 Mbits/sec
[  4]   1.00-2.00   sec   128 KBytes  1.05 Mbits/sec
[  4]   2.00-3.00   sec   896 KBytes  7.34 Mbits/sec
[  4]   3.00-4.00   sec  1.00 MBytes  8.39 Mbits/sec
[  4]   4.00-5.00   sec  1.00 MBytes  8.39 Mbits/sec
[  4]   5.00-6.00   sec  1.00 MBytes  8.39 Mbits/sec
[  4]   6.00-7.00   sec   768 KBytes  6.29 Mbits/sec
[  4]   7.00-8.00   sec  1.00 MBytes  8.39 Mbits/sec
[  4]   8.00-9.00   sec  1.00 MBytes  8.39 Mbits/sec
[  4]   9.00-10.00  sec  1.00 MBytes  8.39 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  8.00 MBytes  6.71 Mbits/sec                  sender
[  4]   0.00-10.00  sec  8.00 MBytes  6.71 Mbits/sec                  receive

iperf Done.

Network Throughput test within LAN

  1. Run the iperf on target machine (10.3.3.12) as Server with default listening port of 5201
C:\temp\iperf-3.1.3-win64>iperf3.exe -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
  1. Run iperf on workstation and connect to server (10.3.3.12)
C:\Temp\iperf-3.1.3-win64>iperf3.exe -c 10.3.3.12 -p 5201 -i 1s
Connecting to host 10.3.3.12, port 5201
[  4] local 10.3.3.248 port 57365 connected to 10.3.3.12 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  90.6 MBytes   759 Mbits/sec
[  4]   1.00-2.00   sec  92.5 MBytes   777 Mbits/sec
[  4]   2.00-3.00   sec  93.5 MBytes   784 Mbits/sec
[  4]   3.00-4.00   sec   108 MBytes   903 Mbits/sec
[  4]   4.00-5.00   sec   110 MBytes   925 Mbits/sec
[  4]   5.00-6.00   sec   109 MBytes   914 Mbits/sec
[  4]   6.00-7.00   sec   110 MBytes   922 Mbits/sec
[  4]   7.00-8.00   sec   111 MBytes   930 Mbits/sec
[  4]   8.00-9.00   sec   110 MBytes   924 Mbits/sec
[  4]   9.00-10.00  sec   111 MBytes   929 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  1.02 GBytes   877 Mbits/sec                  sender
[  4]   0.00-10.00  sec  1.02 GBytes   877 Mbits/sec                  receiver

iperf Done.

You can refer to iperf documentation for all the parameters used by server and client mode

Jperf (JAVA GUI for iperf)

You can download Jperf if you would like to run iperf in GUI Mode

  1. Ensure that JAVA is installed
  2. Extract the downloaded jperf and double click iperf.bat to start

iperf-jperf-01

  1. Select Server on the target machine adn click Run iperf

iperf-jperf-02

  1. Run jperf on workstation and connect to iperf server with default port = 5001

iperf-jperf-03

You can refer to the iperf commands displayed to understand further on the parameters being used.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top