One queue, two questions
In this fictional queue, batching finishes twelve bulk requests in 18 milliseconds. Immediate processing takes 48 milliseconds. But send one request every four milliseconds, and the batching policy delivers only two of twelve responses within the eight-millisecond target by the observation cutoff. Immediate processing delivers all twelve on time.[3]
The program is a small deterministic worksheet, not a GPU test. It makes the arrival pattern, batching rule and denominator visible. Its twelve request identities are reused across four arms. The resulting 48 request slots are not 48 independent measurements.[3]
Make the service rule explicit
There is one FIFO server. Immediate processing takes four fictional milliseconds per request. The other policy batches up to four requests and waits at most twelve milliseconds from the oldest queued arrival. Its declared service times are four, five, six and six milliseconds for batch sizes one through four. Both policies see only work that has already arrived. They cannot look ahead to the next request.[4][3]
When all twelve requests are available at time zero, the batch policy finishes groups at 6, 12 and 18 milliseconds. Immediate processing finishes one request every four milliseconds, ending at 48. Divide twelve by each completion makespan and the batch policy has 8/3 times the rate. That is a specific denominator. At the common 48-millisecond cutoff, both have completed twelve requests, so their fixed-window completion rates are equal.[4][3]
Retain every request at the cutoff
Now space the same twelve arrivals four milliseconds apart. The batch policy starts its first group at 12 milliseconds and completes it at 18. Those four requests have response latencies of 18, 14, 10 and 6 milliseconds. Only the fourth meets the eight-millisecond target. The next group repeats that pattern. The third group has started but has not completed when observation stops at 48 milliseconds.[3]
That leaves eight completed requests and four in flight. Two requests met the target. Nine are known not to meet it: six completed late, and three unfinished requests have reached their deadlines. The last request has a deadline of 52 milliseconds, so its outcome is still undecidable at this cutoff. The worksheet retains it. It does not turn the model's possible later finish into an observed response.[3]
All four synthetic arms at the same 48 ms cutoff. Every target-state denominator is twelve planned requests. Full-finish time is unavailable for an unfinished arm.
| Arrivals | Policy | Completed / 12 | Full finish (ms) | Met ≤8 ms | Known not met | Undecidable |
|---|---|---|---|---|---|---|
| All at 0 | Immediate | 12 | 48 | 2 | 10 | 0 |
| All at 0 | Batch up to 4 | 12 | 18 | 4 | 8 | 0 |
| Every 4 ms | Immediate | 12 | 48 | 12 | 0 | 0 |
| Every 4 ms | Batch up to 4 | 8 | Incomplete | 2 | 9 | 1 |
- The bulk target counters are retained for completeness; the bulk throughput comparison uses completion makespan, not a serving-latency qualification.
- All completed primary-fixture outcomes were declared correct. Wrong/error cases appear in the retained controls, not in a measured model-quality evaluation.
Choose the denominator
This is why a completion-only denominator is incomplete. Two timely responses out of eight completed responses describes a selected subset. The planned cohort contains twelve requests. Report the two successes, nine known misses and one undecidable outcome together. Equality at the deadline counts as on time; a wrong or error response never counts as a successful request.[3]
- Choose the denominator: Completion-makespan rate and fixed-window completion rate answer different questions. Retain both when a result could be read either way.
- Keep the unfinished work: An elapsed deadline is a known miss. A future deadline is undecidable at the cutoff. Neither disappears from the planned cohort.
Scenario choice is part of the definition
MLCommons makes scenario choice part of the definition. Its inspected rules describe Server/Interactive arrivals using a Poisson distribution with benchmark-specific latency constraints, while Offline begins with a bulk query and reports throughput. LoadGen's run procedure also waits for submitted work to finish. Our fixed arrivals and censored window are deliberate teaching choices, not an implementation of those rules.[1][2]
What the saved proof establishes
The saved package contains the source, fixture, protocol, every request and event, and sixteen focused controls from one local standard-library invocation. All controls passed. They check boundaries, FIFO order, waiting while the server is busy, partial batches, future-arrival independence, malformed inputs and wrong/error outcomes. No model accuracy test or serving benchmark ran.[4][5]
The example does not show that batching is generally worse. These service costs and the twelve-millisecond wait cap were authored to expose the tradeoff. A real evaluation needs the actual workload, quality criterion, arrival process, batching policy, response boundary and treatment of unfinished requests. Twelve invented requests cannot establish a tail percentile, a sustainable rate or a production SLO.[4][5]
Define the evaluation first
For a serving evaluation, specify the arrival pattern, quality requirement and response target before comparing capacity.
Sources
- MLPerf Inference Rules, inspected revision github.com
- MLCommons Inference Datacenter overview mlcommons.org
- Exact saved result data.nodus-compute.ai
- Original program, fixture and proof package data.nodus-compute.ai
- Original material and saved-execution provenance data.nodus-compute.ai
