How fast is my network really? Not just ping - actual throughput.

Quick Linux Tip #34:

Try: iperf3 -c 192.168.1.100

Info: iperf3 measures real TCP/UDP throughput. Run iperf3 -s on the server and iperf3 -c <SERVER_IP> on the client.

Examples:

  • $ iperf3 -s  # Server mode (run first)
  • $ iperf3 -c server -u -b 1G  # UDP test at 1 Gbps
  • $ iperf3 -c server -R  # Reverse mode (test download speed)

Note: Install via apt install iperf3. Ensure port 5201 is open. A non-zero Retr column indicates packet loss/congestion.




LinuxTeck.com
linuxteck@ubuntu:~$ iperf3 -c 192.168.1.100
Connecting to host 192.168.1.100, port 5201
[  5] local 192.168.1.50 port 54321 connected to 192.168.1.100 port 5201
[ ID] Interval       Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  112 MBytes   940 Mbits/sec    0   1.05 MBytes
[  5]   1.00-2.00   sec  111 MBytes   931 Mbits/sec    0   1.05 MBytes
[  5]   2.00-3.00   sec  112 MBytes   940 Mbits/sec    0   1.05 MBytes
[  5]   3.00-4.00   sec  111 MBytes   931 Mbits/sec    0   1.05 MBytes
-----------------------------------------------------------
[ ID] Interval       Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-10.00  sec  1.09 GBytes   937 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   935 Mbits/sec                  receiver
linuxteck@ubuntu:~$

PREVIOUS ARTICLE Quick Linux Tip #33: How do I encrypt a sensitive file with just a password? NEXT ARTICLE Quick Linux Tip #35: My SSH key uses old RSA. How do I switch to a modern strong algorithm?
About John Britto

John Britto Founder & Chief-Editor @LinuxTeck. A Computer Geek and Linux Intellectual having more than 20+ years of experience in Linux and Open Source technologies.

View all posts by John Britto →

Leave a Reply

Your email address will not be published.