Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

iperf3

$ iperf3 Foundation Med Risk
ESnet · Browser & Web · BSD-3-Clause · macos / linux / windows

iperf3 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.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install iperf3
CLI vs MCP Decision CLI Only

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

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

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 -t test duration and -1 one-off server mode
Trust & Safety 19 / 25

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
Setup & Portability 14 / 15

Standard package across macOS (brew install iperf3), Linux distros, and Windows.

  • Widely packaged on macOS, Linux, and Windows
Utility & Efficiency 14 / 15

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
Maintenance & Lineage 9 / 10

Maintained by ESnet (Energy Sciences Network) at esnet/iperf under BSD-3-Clause.

  • Foundation-backed esnet/iperf repository
Docs & Verifiability 9 / 10

Authoritative ESnet invocation docs, man page, and iperf3 --help.

  • Official docs at software.es.net/iperf/

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

No credentials needed by default; optional RSA key pairs and authorized-users CSV files can guard -s server access.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, BSD-3-Clause open-source C tool maintained by ESnet.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect iperf3 version and supported flags
iperf3 --version && iperf3 --help

Prints iperf3 build info and client/server options without generating network traffic.

Controlled Writes & Previews

Run a bounded 5-second JSON throughput test
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

  • + -J emits rich JSON containing per-interval and summary throughput, retransmits, and CPU utilization.
  • + -1 (--one-off) lets agents spin up an iperf3 -s server that exits cleanly after one test.

Caveats & Pitfalls

  • ! Active throughput generation can saturate production links unless capped with -t and -b.
  • ! Client tests require a reachable iperf3 -s peer on the target network.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI