Iperf

From XMission Wiki
Revision as of 16:07, 21 March 2023 by Jab (talk | contribs) (Created page with " Windows binaries can be downloaded via this link: [http://iperf.fr/[iperf.fr]] Iperf is a network testing tool that can create data streams used to measure the throughput of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Windows binaries can be downloaded via this link: [iperf.fr]

Iperf is a network testing tool that can create data streams used to measure the throughput of a network connection.

For Windows users

  • After you download Iperf click on Open File from your downloads manager. This should open up a window, in this windows you should see Extract all.
  • Next click on Extract
  • You can close all open windows for the next steps.
  1. Click on your Start Menu
  2. Type cmd - you should see Command Prompt show up in the list of available applications, then click on it.
  3. This will open up a window, it will have a black background and white letters and if you are using windows 10 it will say:
Microsoft Windows [Version 10.x.xxxx.xxxx]
(c) Microsoft Coperation. All Rights Reserved.

C:\Users\yourname>

Next change the directory to your Downloads folder by typing the following after the blinking cursor, then click enter:

cd Downloads

Your prompt will now look like this:

C:\Users\yourname\Downloads>

Next we will want to change the directory to the iperf download you just extracted, so type the following after the blinking cursor, then click enter:

cd iperf-3.1.1-win64\iperf-3.1.3-win64

NOTE: the current version is iperf-3.1.3-win64. If you downloaded a different version replace the version number with the one you downloaded. To make it easy you can type ip then hit your tab key and it will auto complete.

Your prompt will now look like this:

C:\Users\yourname\Downloads\iperf-3.1.3-win64\iperf-3.1.3-win64>

Next we will run the iperf test, type the following after the blinking cursor then click enter:

iperf3.exe -c 198.60.22.18


You will now see an output similar to the following:

------------------------------------------------------------
Client connecting to 198.60.22.18, TCP port 5201
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
Connecting to host 198.60.22.18, port 5201
[  5] local 192.168.1.13 port 50970 connected to 198.60.22.18 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd          RTT
[  5]   0.00-1.00   sec   116 MBytes   969 Mbits/sec  28960   2.21 MBytes   20ms
[  5]   1.00-2.00   sec   112 MBytes   940 Mbits/sec    0   2.32 MBytes   21ms
[  5]   2.00-3.00   sec   112 MBytes   940 Mbits/sec    0   2.40 MBytes   22ms
[  5]   3.00-4.00   sec   112 MBytes   940 Mbits/sec    0   2.46 MBytes   22ms
[  5]   4.00-5.00   sec   112 MBytes   940 Mbits/sec    0   2.50 MBytes   22ms
[  5]   5.00-6.00   sec   112 MBytes   940 Mbits/sec    0   2.52 MBytes   22ms
[  5]   6.00-7.00   sec   112 MBytes   940 Mbits/sec    0   2.54 MBytes   22ms
[  5]   7.00-8.00   sec   112 MBytes   940 Mbits/sec    0   2.55 MBytes   22ms
[  5]   8.00-9.00   sec   112 MBytes   940 Mbits/sec    0   2.55 MBytes   23ms
[  5]   9.00-10.00  sec   112 MBytes   940 Mbits/sec    0   2.55 MBytes   23ms
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.10 GBytes   943 Mbits/sec  28960             sender
[  5]   0.00-10.00  sec  1.09 GBytes   940 Mbits/sec                  receiver


The numbers in the Bitrate section is what we are looking for. In this case:

  • 943 Mbits/sec - sender
  • 940 Mbits/sec - receiver

This is a good indication that on your 1Gbps connection you are getting the speeds you signed up for.