Skip to content

Outputs

Each run of snap-benchmark-analysis rebuilds everything below from all the runs its analysis folder holds (Run the analysis):

<analysis folder>/
  snap_benchmark_report.xlsx   the workbook: the calculated tables
  csv/                         the calculated tables, and the source data as *_pkl.csv
  charts/                      PNG charts of the calculated tables
  pkl/                         the stored runs that new runs are added to

Every table is one CSV file. They're UTF-8 with a byte-order mark, so Excel opens them with the right encoding. The columns are defined in src/snap_benchmark_analysis/README_ASR_v2_4.txt, "Main metrics", and the rules behind them in Metrics and rules.

Calculated tables

The analysis's results. Warm-up requests are left out of every one of them.

File One row per Use it for
benchmark_metrics.csv Hardware configuration and test setup (model, strategy, chunk length, audio format, boundary and concurrency), pooled over the runs The headline numbers: latency and time to first token percentiles, throughput (whole level and steady state), real-time factor, cost, accelerator use and the reliability flags. Percentiles are pooled over requests, never averaged.
run_summary.csv Run, target and setup The same figures per run, to check that runs agree. Also warm-up coverage, network round-trip time, journal errors, client CPU, and what the vLLM server actually ran (server_argv, server_api_servers, server_engines, server_prefix_caching).
load_summary.csv Load: the streams of one configuration that ran together (one load_id) Each level of a concurrency sweep: its steady-state throughput and cost, its busiest client process's CPU share, its runaway responses, and its accelerator, power and energy figures.
normalized_requests.csv Measured request (chunk) Per-request detail: the request's own fields plus its calculated latency, time to first token, real-time factor and success. Large (about 150 MB for 66,750 requests): aggregate it rather than open it.
server_latency.csv Run and target Where the time goes inside vLLM: its own time to first token, queue, prefill, decode and end-to-end time, from its histograms, against the client's end-to-end time (client_minus_server_e2e_ms).
server_metrics_deltas.csv Run, target, vLLM metric and label set How much each of vLLM's counters and histograms rose during the run. A counter reset, such as a server restart, is counted the way Prometheus's increase counts it, and reported in counter_resets. server_latency.csv is built from these.
resource_summary.csv Stream, plus one row per run and target for samples outside every stream Accelerator use, memory headroom, power and energy per stream. sample_scope says whether the samples were the stream's alone, shared with other streams, or idle. For a concurrency sweep, read load_summary.csv instead.
data_quality.csv Check How complete the request data is: how many rows fill each column, missing values in key columns (priority_missing), and duplicate request IDs.

Source data

Copies of the stored runs (the pkl/ folder), one file per dataset, with no calculated columns. Use them to check a calculated figure against what the logs said. They hold warm-up records too, tagged in run_phase. A dataset with no records gets no file.

File One row per What it holds
requests_pkl.csv Request (chunk), measured and warm-up Each request's fields from events.jsonl: identity, setup, timestamps, status, tokens and transcript. List-valued cells are JSON text.
runs_pkl.csv Run and target Run context: dates, the host and its instance, client image, plan and its hash, options, jobs, manifests, warm-up settings and results, and what the vLLM server ran.
streams_pkl.csv Stream Each stream's start and end, its setup, load, input and speaker, its transcript and failures, and its client CPU.
resources_pkl.csv Accelerator sample nvidia-smi or neuron-monitor readings: utilisation, memory, power and temperature, with the stream each sample falls in and how many streams were active.
server_metrics_pkl.csv vLLM /metrics sample The counter, histogram and summary samples of each scrape. Gauges aren't kept: only counters get deltas, their only use.
network_baseline_pkl.csv Network probe at the start or end of a target Round-trip times to vLLM and the sidecar (tcp_connect, http_get and upload probes), which give the network floor.
diagnostics_pkl.csv Problem Warnings and errors from the client's events (failed requests, target and input errors), journal lines at error priority or worse, and gaps or duplicates in a log's sequence numbers.
raw_event_counts_pkl.csv Event name How many of each event the stored logs hold, including names the analysis doesn't read.

Workbook

snap_benchmark_report.xlsx holds the calculated tables, one sheet each: Executive Summary, Benchmark Metrics, Run Summary, Run Configuration, Resource Summary, Load Summary, Server Latency and Data Quality. Every sheet but the Executive Summary has a filter on its header row.

  • Executive Summary averages all of a hardware configuration's rows. For one row per setup, read Benchmark Metrics.
  • Run Configuration is runs_pkl.csv plus gpu_type, the accelerator name from the resource samples.
  • Per-request data and the source data are in the CSV files only.

Charts

PNG charts of the calculated tables, in charts/. A chart is written only when its data is there.

Chart Shows
latency.png End-to-end latency and time to first token, p50 to p99, per target
throughput.png Steady-state output tokens per second
cost.png Steady-state \$ per million output tokens and \$ per audio hour (needs reference prices)
latency_breakdown.png Mean time per request split into server time, network floor and the rest (needs vLLM's histograms; one concurrency level)
latency_distribution.png Cumulative distribution of end-to-end latency
accelerator.png Mean GPU or NeuronCore utilisation (needs resource samples)
concurrency.png Steady-state throughput and p95 latency against concurrent streams (needs a sweep)

latency.png, throughput.png, cost.png and accelerator.png have one bar per target, setup and concurrency level, the same rows as benchmark_metrics.csv, labelled with the streams when a target ran several levels. latency_distribution.png draws each target at its highest-throughput level, because a distribution pooled over levels describes none of them. When a row has no steady stretch (short clips at high concurrency), throughput.png and cost.png plot whole-level figures for every row instead, and their subtitles say so. Each target keeps one color in every chart.