From the previous lesson, W = L/λ with L = ρ/(1 − ρ) gives W = 1/(μ − λ), and dividing numerator and denominator by μ turns that into W = S/(1 − ρ) with S = 1/μ. It is the same quantity in the units a designer thinks in: multiples of how long the work itself takes.
Definition · The response-time factorW/S = 1/(1 − ρ) is how many service times a request spends in the system. It is 1 at ρ = 0 — the work and nothing else — and it is unbounded as ρ approaches 1. The knee is not a particular point on this curve; it is the fact that the curve has no particular point, and that the interesting region is always the last few percent.
S = 10 ms
ρ = 1/2 W/S = 2 W = 20 ms
ρ = 9/10 W/S = 10 W = 100 ms
ρ = 99/100 W/S = 100 W = 1000 ms
50% → 90% 10 ÷ 2 = 5 five times the wait
90% → 99% 100 ÷ 10 = 10 ten times again
Notice what those two multipliers have in common: the first covers forty points of utilisation and the second covers nine, and the second is the more expensive. The utilisation axis is the wrong axis to reason on. The headroom axis — 1 − ρ, going 1/2, 1/10, 1/100 — is the one the response time is actually a function of.
Reading it backwards: the target utilisation
Set W = kS and solve. 1/(1 − ρ) = k gives ρ = (k − 1)/k, so the headroom you must keep is exactly 1/k. Tolerating twice the service time means running at 1/2; four times means 3/4; ten times means 9/10; a hundred times means 99/100, which is the point at which a single machine failure in a pool is an outage rather than an event.
Example · Where a capacity plan's target comes fromCapacity Estimation divided an offered rate by a target utilisation rather than by μ, and took the target on trust. This is where it is earned: the target is (k − 1)/k for whatever k multiple of the service time the design is willing to pay. A plan that names 80% has chosen k = 5, whether or not anybody said so.
The curve also explains a familiar and confusing incident shape. A service at ρ = 1/2 absorbs a doubling of traffic and moves from 2S to 4S, which nobody notices. The same doubling at ρ = 9/10 is not survivable at all: ρ would be 9/5, above one, and there is no response time to quote — only the growth rate of “λ, μ and ρ”. Two systems, the same relative traffic change, and entirely different outcomes.
Two honest caveats. The constant in W = S/(1 − ρ) is M/M/1's: the 1/(1 − ρ) shape is general and the multiplier in front of it depends on how variable the arrivals and the service times are, which the next lesson prices. And W is a mean; the percentiles that Latency and the Tail measured sit further out still, because the number in the system is geometrically distributed rather than concentrated around its average.