Automotive Performance Metrics · Runtime metric
Throughput
Also known as inferences per second, queries per second, QPS, samples per second, processing rate
Throughput is the amount of work a system completes per unit time, such as inferences, frames or messages per second. It measures capacity, not responsiveness: a system can have high throughput and still long per-item latency.
Explanation
TensorRT defines throughput as inferences completed per unit time, and trtexec reports it as the number of inferences divided by total host wall time; if this is well below 1 / GPU compute time, host overhead or data transfers are leaving the GPU idle. MLPerf Inference's Offline scenario sends all samples at once with no latency constraint and reports maximum throughput, while its Server scenario reports the highest Poisson-distributed query rate that meets a latency bound.
Throughput and latency trade off: batching inputs, running more streams or deepening pipelines usually raises throughput but lengthens the time each item waits. NVIDIA suggests fixing a maximum acceptable latency and measuring throughput under that ceiling, which matches how vehicle functions are constrained.
In a vehicle, the useful question is usually whether the system sustains its input rate, for example every camera at its frame rate, with margin, rather than its peak offline figure. Values are only comparable with the same model, batch size, precision, hardware, power mode and counting point.
How it works
After warm-up, run the workload for a fixed duration, count completed units at the output, and divide by elapsed time. For latency-bounded throughput, raise the offered load step by step and record the highest rate at which the chosen latency percentile stays within its bound. Always state batch size and concurrency, since they define the operating point.
Automotive applications
- Sizing how many cameras one SoC can serve
- Choosing batch size for offline data processing
- Capacity planning for fleet data pipelines
- Comparing accelerators
Example
Offline reprocessing of recorded drives runs a detector at batch size 32 to maximise throughput, while the in-vehicle build uses batch size 1 per camera under a latency limit. The same GPU therefore shows very different throughput figures in the two deployments.
An illustrative example: any figures in it are worked numbers, not measurements.
References
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.