Goodput, SLOs & Failure Rates
A percentile grid is a description: metric by metric, tail by tail, it says what the system did over a window. It does not say whether any of it was good enough. That judgment needs an ingredient the grid cannot supply: a stated target. Attach one and measurement becomes an operating standard: requests either meet it or fail it, and the failures become something to count rather than something to trim away. This lesson is about the three pieces that do that: the target, the accounting of what failed, and a throughput recounted against the targets.
A target on a distribution
Start with the sentence a product team actually needs to say: over any hour of traffic, 95 percent of requests must show their first token within one second. The sentence has four parts. A metric users feel, TTFT. A percentile over its distribution, the 95th, chosen from the grid from percentiles and variance. A threshold, one second. And a window, any hour, over which the promise is evaluated. A stated target of this form is a service level objective, an SLO. Its contractual cousin is the service level agreement, SLA: the same sentence signed with a customer, with consequences attached when it breaks.
The percentile is doing the same work it did in percentiles and variance, now with stakes. Promising a mean would let a wide stutter hide behind a fine average; promising the maximum would let one straggler define the service. Promising the 95th percentile says something precise instead: at most one request in twenty may exceed the threshold inside the window. Read it per request and the sentence becomes countable, which matters later in this lesson: each request either got its first token inside a second or it did not.
The lesson on inference engineering said the discipline's deliverable is a latency target met at a cost the product can survive, and the practice map from the lesson on levels of inference engineering listed a service objective under load as the operate scope's evidence, deferring how the objective gets written. This is how: choose the metrics users feel, choose the percentile, and derive the threshold from product reality. The rest of the lesson does each on a napkin.
Thresholds from product reality
The threshold is the one part of an SLO a benchmark cannot supply, because it comes from humans. For the wait before the first token, the relevant research predates the web. Interfaces feel instantaneous up to about a tenth of a second; up to about one second a delay is noticed but the user's flow of thought survives; at about ten seconds attention breaks and people switch tasks. Jakob Nielsen set those three limits down in 1993, summarizing response-time research that goes back to the 1960s, and they have not moved since, because they describe people rather than machines. For a chat product, the first streamed token is the moment the interface visibly responds, so the flow-of-thought limit is the natural TTFT budget: first token inside a second, and the ten-second limit marks where users start leaving rather than waiting.
The rhythm after the first token has its own human bound: reading speed. Adults read English non-fiction silently at about 238 words per minute, just under four words per second, with most adults falling between 175 and 300; that is the estimate of a meta-analysis spanning 190 studies. Tokens are not words, so converting takes care. A widely quoted rule of thumb prices a token at about three quarters of an English word; measured on this course's own tokenizer over a technical paragraph, the ratio is gentler, 93 tokens for 80 words, or about 1.16 tokens per word, because a 128,256-entry vocabulary splits words less often.
Either conversion lands in the same place: keeping an average reader supplied takes roughly five tokens per second, an ITL of about 0.2 seconds. A target wants headroom over the average, for the 300-words-per-minute tail, for skimming, for code that is scanned rather than read, so set the gap budget at a tenth of a second: ten tokens per second, roughly twice typical reading pace. A non-streaming caller feels none of this rhythm and waits on E2E instead; the same construction applies to that distribution with a budget of its own.
Metrics, percentiles, thresholds: written down, the result is a sheet short enough to memorize, and the course capture from latency and throughput metrics supplies a system to hold it against.
The sheet's last two lines are the same threshold, and the system passes one and fails the other. The reason sits in the raw gaps: 71 of the steady capture's 2,985 exceed a tenth of a second, about 2.4 percent. A 95th-percentile promise tolerates five percent over the line, so it holds with room to spare; a 99th-percentile promise tolerates one percent, so it breaks. Nothing about the machine changed between S2 and S3. Only the strength of the promise did, which is the choice the grid from percentiles and variance was preparing you to make: the percentile sets how many of your users you are allowed to disappoint.
Counting the failures
The sheet could be checked against the capture only because every request finished: 199 of 199 in the steady window produced a first token and fifteen gaps. Real benchmarks are not so lucky. Under real load some requests time out, some return errors, and some are rejected at the door by a server protecting itself. The rule for all three is the same: they are results, not exclusions. A request that timed out at 30 seconds is a request whose latency is 30 seconds or worse; record it at the timeout value or count it against a separate failure line, but never delete the row.
Deleting the row has a specific, ugly consequence. Compute percentiles over successful requests only, and as the system degrades its slowest requests convert to timeouts, leave the population, and take the tail with them: the reported P99 improves precisely because the service is failing. This is the survivorship trap, and it is the coordinated omission from concurrency and arrival patterns by another route: both make the numbers gentlest exactly when the system is suffering most. The defense is one extra line, the success rate, reported beside the grid so that a shrinking denominator cannot hide. A tail computed over 94 percent of requests is a different claim from the same tail over 99.9 percent, which is why the sheet above carries its 199/199.
Goodput
Once the targets read per request, throughput can be recounted. The lesson on latency and throughput metrics counted every served token and request; count instead only the requests that met their targets, over the same clock, and the result has a name: goodput. The name was borrowed from networking, where it counts only the bits actually delivered, with lost and retransmitted bits excluded. LLM serving pinned its own version in the DistServe paper, which defines per-GPU goodput as the maximum request rate a GPU can serve while adhering to the SLO attainment goal, say 90 percent of requests inside both their TTFT and TPOT limits. The definition composes everything this module has built: a workload, a load model, per-request metrics, targets on them, and a count of what passed.
Counted that way on the steady capture, with S1 and S2 restated per request as first token inside a second and average gap at or under a tenth, 197 of 199 requests qualify; the two failures are the two whose average gap crossed the line, the worst at 0.1152 s per token. At this load, one request at a time, goodput and throughput are near enough the same number. The reason the field bothers with a second word is what happens when they part company.
The sketch is the argument against benchmarking with throughput alone: past the knee, the plateau reads the same whether the server is healthy or drowning, and goodput is the curve that tells the two apart, which makes it the headline number. Where your own system's curves bend is not something a sketch can tell you; measuring the boundary on real hardware is covered in saturation and failure boundaries, and engineering a server to hold an SLO once you know it is from SLO-safe configuration and headroom.
The full claim
Every piece of this module is now on the table, and together they define what the course means by a benchmark from here on. A complete claim states the workload (workload shapes), the load model and its knobs (concurrency and arrival patterns), the window and what was discarded from it (warm-up and steady-state measurement), the per-metric percentile grid (percentiles and variance), the success rate beside it, and goodput against stated SLOs. Anything less is a partial claim, usable but labeled as such. In production the same targets grow error budgets and alerting around them, which is covered in observability and reliability; a benchmark needs only the lines themselves.
Nobody assembles those lines by hand. The counting in this lesson took a script over one capture; against a live server under generated load it takes a purpose-built client, and the field has several, mature enough that their reports print every line of the standard above under their own column names. The next lesson reads those instruments.