Command line
Every option, with examples.
DeepPerf has a command-line tool with iperf2-style options, for scripts and for servers without a desktop.
Setup installs it as
deepperf-cli.exenext to the app, inC:\Program Files\DeepPerf.For Windows Server Core and older servers there’s a separate download:
deepperf.exe, the command-line tool on its own. See Windows Server.
The options are the same in both. The examples below use deepperf-cli.
Free and Pro
The command line follows the same editions as the app. It reads the license you added in the app (Settings, License), so there’s nothing to set up for it.
Free: speed tests up to 24 hours (
-t 86400), path traces, DSCP marking (-S), servers (-s, also-s --stamp) and--machine-code.Pro adds the voice test (
--voice, with--capacityand--basic), the STAMP check (--stampas a client), whether the marking arrived, and tests up to 7 days.
Without Pro, a Pro option stops before the test starts, with one line such as “The voice test needs DeepPerf Pro. Add a license in the app (Settings, License).” The exit code is 2. See Licenses and editions.
Examples
What | Command |
Server, TCP |
|
Server, UDP (also for the voice test) |
|
TCP upload for 30 s |
|
TCP download, 4 streams |
|
UDP at 200 Mbit/s |
|
Against an iperf3 server |
|
Path trace for 60 s, TCP check on 443 |
|
10 voice calls for 60 s |
|
Multicast receiver |
|
Multicast sender, TTL 1 |
|
Per-second figures as CSV, for Excel |
|
List the network interfaces |
|
Options
Option | What it does |
| Run as a server. |
| Run a test against |
| UDP instead of TCP. |
| The server’s port (5001, or 5201 with |
| The server is an iperf3 server. Without it, DeepPerf talks to DeepPerf and iperf2 servers. |
| Test length in seconds (default 10; up to 24 hours, Pro 7 days). |
| Send this much instead of |
| Seconds between periodic reports. |
| Target rate in bits per second, such as |
| Buffer length (TCP) or datagram size (UDP), such as |
| Parallel streams (default 1). |
| The server sends, this PC receives. |
| Send and receive at the same time on one connection. |
| Both directions at once; the server connects back. |
| Upload, then download. |
| Port for |
| Client: the local address to send from. Server: the address or multicast group to receive on. Add |
| Server: the sender for source-specific multicast. |
| Multicast TTL in hops (default 1). |
| IP type-of-service byte, such as |
| Turn off Nagle’s algorithm. |
| Client: test over IPv6 (give an IPv6 address, or a name that has one; a link-local |
| The interface for test traffic. See Network interfaces. |
| The management interface, if not the automatic one. |
| List the network interfaces and their roles, then exit. |
| Print this PC’s code for a Pro license, then exit. |
| Trace the path to the server hop by hop for |
| A voice test instead of a speed test, against a DeepPerf server in UDP mode. Pro. See Voice test. |
| Voice test: calls at once (default 1). |
| Voice test: find how many calls fit. Runs 1, 5, 10, 25, 50, 100 and 200 calls in turn, the test length split between them, and stops after the first step below MOS 4.0. Not with |
| Voice test against an iperf2 server: voice-sized UDP at call rate one way ( |
| STAMP (RFC 8762 with the RFC 8972 DSCP report). Client: probe a STAMP reflector for |
| Server: handle one test, then exit. |
| Print results as JSON, one object per stream. |
| Speed test: print the test’s per-second figures as CSV, the same columns as the CSV report in the app (one row a second unless |
| Add diagnostics (timings, CPU time, errors) to this file. See Diagnostic log. |
| Show the options. |
| Show the version. |
TOS marking on Windows
Windows 11 puts the -S byte on the packets without any setting, also when DeepPerf runs without admin rights (checked on Windows 11 Pro, 2026-11-08). A QoS policy on the PC or on your network can still change it. -S takes the whole TOS byte: DSCP × 4, so voice (EF, DSCP 46) is 0xB8.
Did the marking arrive?
A marked UDP or voice test ends with one line per way that could be read, then any note:
The way to the server needs a DeepPerf server and interval reports: add -i 1 to an upload (the command line says so if you don’t). --full-duplex can’t carry that report; use -d -i 1. With --iperf3, only the way back is read. TCP isn’t checked.
STAMP: is the mark kept at a router or another reflector?
STAMP is a standard measurement protocol. A STAMP reflector that supports RFC 8972’s Class of Service field says which DSCP each probe arrived with, so DeepPerf can check the marking to the reflector and back without a DeepPerf server there and without admin rights:
It prints a line a second (probes sent and answered, round trip, the mark at the reflector and back here), then “Marking Voice (EF 46) at the reflector: Kept: arrived as Voice (EF 46)” and the same for the way back. A reflector that doesn’t support the DSCP report can’t help with the marking: it can’t say what arrived, and it doesn’t mark its replies as asked. DeepPerf says so instead of guessing. A reflector that answers without the report at all (TWAMP Light) still lets DeepPerf check the way back. DeepPerf’s STAMP works with stamp-suite, an open-source STAMP tool, both ways (checked 2026-11-11). Routers only answer if their STAMP reflector is turned on; no router maker documents the DSCP report yet, so test yours. Another PC can be the reflector: deepperf -s --stamp -p 8620.
Was this page helpful? Tell us what worked or what was missing.