Metrics and rules¶
The rules the analysis applies to every table. Each column is defined in
src/snap_benchmark_analysis/README_ASR_v2_4.txt, "Main metrics", and the
formulas are in src/snap_benchmark_analysis/ref/.
Rules¶
- Measured requests only. Warm-up rows stay in the stored data, tagged
run_phase, and are left out of every calculated table. - Success: a request succeeds only if it completed with no error and a 2xx status (or none). Failed requests are left out of every latency, time to first token, real-time factor, throughput and inter-token figure.
- Percentiles (p50, p95, p99) are pooled over requests, never averaged across runs.
- Groups: results are grouped by hardware (
<provider> | <target>), model, strategy, execution mode, chunk length, audio format, boundary and concurrency.benchmark_metrics.csvhas one row per group, pooled over the runs;run_summary.csvhas one per run within it. - Loads: a load is the streams of one configuration that ran together,
one
load_id(a log withoutload_idcounts each stream as its own load).load_summary.csvhas a row per load.
Metrics¶
- Latency and time to first token percentiles, per request: request sent to response complete, and request sent to the first content event. The network-adjusted versions subtract the measured network baseline.
- Real-time factor (RTF) per request: latency over the chunk's audio
length.
rtf_interior_p99andrtf_interior_maxleave out each stream's last chunk, which can be much shorter than the configured chunk, and runaway responses. Under 1 means every full chunk was answered faster than real time. - Throughput: output tokens per second and audio hours per wall-clock
hour (
audio_hours_per_wall_hour, the real-time factor RTFx), over each whole level. Thesteady_*versions cover only the stretch of each load while all its streams ran, from the last stream's first request to the first stream's last response. The whole-level figures include the ramp-up and the tail, so read a concurrency sweep from the steady ones. At one stream they're the same. - Cost: the target's reference hourly price over its throughput, per
million output tokens (
cost_per_million_tokens_usd, and the steady-statesteady_cost_per_million_tokens_usd). Prices come fromreference_pricing.csv(Run the analysis). - Decode speed and inter-token latency: tokens per second after the first content event, and the gap between content events, per event and per token.
- Late chunks, for
realtimestreams: the share more than 0.5 s behind. - Accelerator: utilisation, memory headroom, power and energy, from every sample taken while the group's loads ran, so they hold at any concurrency. trn2's monitor reports no power.
- Server-side latency: vLLM's own time to first token, queue, prefill, decode and end-to-end time, from the increase in its histograms over the run.
- Transcript agreement between targets: word edit distance, not word error rate.
Reliability flags¶
reliable is false, and reliability_notes says why, when a group has:
- fewer than 30 successful requests,
- a success rate under 95%,
- an incomplete log (a gap in
seq, or norun_end), - a warm-up that missed an engine,
- a run stopped by a signal before it finished (
stopped_runs, fromrun_end.stopped_by), - prefix caching on in a run (
prefix_caching_runs), which makes repeated requests faster than a live stream's (design decision 17), - or a busiest client process at 0.8 of a CPU or more (
client_bound, fromclient_cpu_max_fraction): the client, not the server, may have limited the load.
Runaway responses, greedy decodes cut off at the token limit (finish reason
length), get a note and a count (runaway_responses) but leave the group
reliable.
Columns to read first¶
| Columns | What they say |
|---|---|
output_tokens_per_second, audio_hours_per_wall_hour |
Throughput over each whole level, ramp-up and tail included. audio_hours_per_wall_hour is the real-time factor RTFx: hours of audio transcribed per hour. |
steady_output_tokens_per_second, steady_audio_hours_per_wall_hour |
The same over the steady state only, while all of a load's streams ran. Use these above concurrency 1. They're blank for a load whose streams were never all running at once, such as short clips at high concurrency. |
latency_p50_ms … latency_p99_ms, ttft_p50_ms … ttft_p99_ms |
End-to-end latency, and time to first token, per request |
rtf_interior_max, rtf_interior_p99 |
Whether every full chunk kept up with live audio (under 1). Don't judge real time by rtf_p99: a stream's last chunk can be a fraction of a second long. |
cost_per_million_tokens_usd, steady_cost_per_million_tokens_usd |
The reference price over the throughput. The runner hosts aren't included. |
gpu_util_mean_pct, gpu_memory_headroom_pct, gpu_power_mean_w, wh_per_audio_hour |
The accelerator, over every sample taken while the group's loads ran |
reliable, reliability_notes |
Whether to trust the group, and why not (Reliability flags) |
server_api_servers, server_engines, server_prefix_caching (run_summary.csv) |
What the vLLM server actually ran, from the log sidecar |
Known gaps¶
- Word error rate isn't computed. The analysis compares hardware, not
accuracy; score transcripts with
snap-asr-bench-score(Validate accuracy). - An empty transcript still counts as a success.
- Load events aren't read.
load_startandload_endaren't parsed, so theirclient_processesand loop-lag fields aren't in the analysis. Loads are rebuilt from the requests'load_idand the stream records instead. - Concurrency is inferred. Groups use concurrency inferred from
overlapping stream windows, not the requests'
configured_concurrency. - The workbook's Executive Summary averages all of a hardware configuration's rows, across concurrency levels. Read Benchmark Metrics for one row per setup.