πŸ§ͺ iPerf3 Network Speed Testing Guide

πŸ§ͺ iPerf3 Network Speed Testing Guide

iPerf is an open-source network performance measurement tool developed by the Internet Performance Working Group. It allows users to test network throughput by creating TCP or UDP streams and sending traffic from one host (client) to another (server). The results show the maximum achievable bandwidth, helping diagnose network issues or validate performance.


🧩 TCP vs. UDP – What’s the Difference?

Protocol

Connection Type

Reliable?

Use Case

Protocol

Connection Type

Reliable?

Use Case

TCP

Connection-based

βœ… Yes

File transfers, web browsing

UDP

Connectionless

❌ No

Streaming, VoIP, gaming

  • TCP uses a three-way handshake to ensure reliable delivery.

  • UDP sends data without establishing a connection, making it faster but less reliable.


πŸ–₯️ Installing iPerf3

Linux (Debian-based systems)

  1. Log in to your Debian-based system.

  2. Run:

    sudo apt-get install iperf3
  3. Press Y when prompted to confirm installation.

image-20240526-205835.png

Windows

  1. Download iPerf3: https://files.budman.pw/

  2. Extract the zip file to a known location, e.g., Desktop.

image-20240526-212744.png

▢️ Running iPerf3

Step 1: Start iPerf3 Server on Debian

On the Debian machine:

iperf3 -s

This starts the server in listening mode, waiting for a client connection.

image-20240526-211320.png

Step 2: Run iPerf3 Client on Windows

  1. Open Command Prompt.

  2. Navigate to the extracted iPerf3 directory:

    cd C:\Users\YourUsername\Desktop\iperf3
image-20240526-211746.png
  1. Run the client test:

    iperf3.exe -c <Server_IP>
image-20240526-212014.png

To run a reverse test (measuring download on client):

iperf3.exe -c <Server_IP> -R

πŸ“Š Interpreting the Results

Sample Output

If you're testing from a remote client, the output will show:

  • Sender (Client): Measures upload from client to server.

  • Receiver (Server): Measures download from client to server.

You can swap directions using the -R flag on the client to test the opposite path.

image-20240526-212135.png
Results Interpretation (Server on left, client on right)

πŸŽ₯ Video Tutorial

iperf.webm

Β