iperf3 Network Bandwidth Testing Tool

iperf3 is a command-line network testing tool used to measure maximum achievable bandwidth between two systems. It supports TCP, UDP, and SCTP protocols and is widely used for performance benchmarking, troubleshooting network bottlenecks, and validating connectivity across local and remote networks.

On RebootTools, iperf3 belongs to the network diagnostics and testing toolkit, alongside tools like Wireshark, Nmap, and VPN-related tools such as WireGuard and OpenVPN.

What This Tool Is

iperf3 is a client-server network performance testing tool. One system runs in server mode, while another runs as a client to generate traffic and measure throughput. The result is an accurate representation of the maximum bandwidth achievable between the two endpoints.

Unlike simple speed tests, iperf3 allows precise control over test parameters such as protocol, duration, number of streams, and packet size.

When and Why to Use iperf3

  • Network benchmarking: measure real throughput between two hosts
  • Troubleshooting slow connections: identify bottlenecks
  • Testing TCP vs UDP performance: compare reliability vs speed
  • Validating VPN performance: measure speed over tunnels
  • Infrastructure testing: verify network capacity in data centers or labs

iperf3 is often used together with tools like Wireshark to analyze traffic and Nmap to verify connectivity before testing.

Key Features

  • TCP and UDP testing: measure both reliable and high-speed transport
  • Client-server architecture: accurate end-to-end measurement
  • Multi-stream support: simulate parallel connections
  • Detailed metrics: throughput, jitter, packet loss
  • Automation-friendly: CLI-based for scripting and monitoring

How iperf3 Works

iperf3 requires two systems:

  • Server: listens for incoming test connections
  • Client: generates traffic and measures performance

The client sends data streams to the server, which measures throughput and returns results. Tests can be run over TCP (default) or UDP for different scenarios.

For example:

  • TCP tests show maximum reliable throughput
  • UDP tests show packet loss, jitter, and maximum speed limits

This makes iperf3 useful not only for speed testing but also for diagnosing network quality issues.

Real Usage Scenarios

1. Testing LAN performance
Measure actual bandwidth between two machines in the same network.

2. VPN performance testing
Test speed through WireGuard or OpenVPN tunnels.

3. Diagnosing slow internet
Identify whether the issue is local network or external connection.

4. Data center validation
Verify network capacity between servers.

5. Packet loss analysis
Use UDP mode to detect jitter and dropped packets.

Limitations and Risks

  • Requires two endpoints: cannot test alone
  • CLI-only: no graphical interface
  • Results depend on setup: incorrect configuration leads to misleading data
  • Not a general speed test: requires controlled environment

iperf3 is precise but requires understanding of networking concepts to interpret results correctly.

iperf3 vs Alternatives

iperf3 vs Speedtest
Speedtest measures internet speed via external servers. iperf3 measures controlled bandwidth between specific hosts.

iperf3 vs Wireshark
Wireshark analyzes packets, while iperf3 generates and measures traffic.

iperf3 vs Nmap
Nmap scans networks, while iperf3 measures performance.

Download Options

VersionPlatformTypeDownload
3.21LinuxSource (.tar.gz) Download

Usage / Best Practices

  • Always test in both directions (client ↔ server)
  • Use multiple streams for realistic scenarios
  • Test both TCP and UDP
  • Run tests on idle networks for accurate results
  • Use alongside monitoring tools for full analysis

License + Official Links