iperf3
$ iperf3 Foundation Med Riskiperf3 is ESnet's standard client/server tool for measuring maximum achievable IP bandwidth across TCP, UDP, and SCTP (iperf3 -c host -P 4 -J). Features native -J (--json) structured reports, bounded test duration (-t), bitrate capping (-b), and --one-off (-1) server mode.
brew install iperf3 Streams active high-speed TCP/UDP packets directly from the host NIC and emits JSON metrics (iperf3 -J); MCP servers cannot benchmark link bandwidth.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class -J/--json structured reports, finite -t duration, -1 one-off server exit, and zero interactive prompts.
- Native
-J(--json) structured client and server output - Bounded
-ttest duration and-1one-off server mode
Requires no root privileges or saved secrets, though unbounded TCP/UDP floods can saturate shared network links if -b or -t is omitted.
- Runs unprivileged; active throughput test can saturate links without
-t/-b
Standard package across macOS (brew install iperf3), Linux distros, and Windows.
- Widely packaged on macOS, Linux, and Windows
Industry-standard throughput, jitter, retransmit, and packet-loss benchmark with reverse (-R) and parallel (-P) modes.
- Measures TCP retransmits, UDP jitter/loss, and bidirectional throughput
Maintained by ESnet (Energy Sciences Network) at esnet/iperf under BSD-3-Clause.
- Foundation-backed
esnet/iperfrepository
Authoritative ESnet invocation docs, man page, and iperf3 --help.
- Official docs at software.es.net/iperf/
Security, Auth & Guardrails
No credentials needed by default; optional RSA key pairs and authorized-users CSV files can guard -s server access.
Free, BSD-3-Clause open-source C tool maintained by ESnet.
# iperf3 Agent Rules - Always pass `-J` (`--json`) and bound duration with `-t <seconds>` (e.g. `-t 5`) plus `-b` bitrate limits on shared production links. - Only test authorized `iperf3 -s` servers, and use `-1` (`--one-off`) when spinning up a temporary local test server.
Agent-Ready Command Recipes
Safe Read-Only Queries
iperf3 --version && iperf3 --help
Prints iperf3 build info and client/server options without generating network traffic.
Controlled Writes & Previews
iperf3 -c iperf.example.com -t 5 -P 4 -J
Benchmarks 4 parallel TCP streams (-P 4) for 5 seconds (-t 5) and prints structured JSON (-J).
Strengths for Agents
- +
-Jemits rich JSON containing per-interval and summary throughput, retransmits, and CPU utilization. - +
-1(--one-off) lets agents spin up aniperf3 -sserver that exits cleanly after one test.
Caveats & Pitfalls
- ! Active throughput generation can saturate production links unless capped with
-tand-b. - ! Client tests require a reachable
iperf3 -speer on the target network.