Little's law
Little's law relates time-averaged occupancy L to the operation rate lambda and mean residence time W within the same system boundary.
L = lambda x W uses a time average for occupancy, a count per unit time for rate and an arithmetic mean over items for residence time. [1] For a system observed over a finite interval that is empty at its start and end, the law is exact: the area under the occupancy curve is the total time spent by all items, so L is that area divided by the interval length and W is the same area divided by the item count. [2]
That finite-interval form needs neither a stationary arrival process nor a particular queue discipline, so it holds for first-in first-out, last-in first-out or priority service. When items are already present at the start or remain at the end, the identity must account for work crossing the window boundaries, which matters for benchmark windows that crop in-flight operations. [2]
With matching long-run averages, a fixed population of N clients alternating one request with mean think time Z obeys N = X x (R + Z), where X is achieved request-completion throughput and R is mean request response time. The request subsystem alone has mean occupancy L = X x R; clients that are thinking are outside that boundary. Thus N = X x R requires zero think time when R measures only the request, or R must explicitly include the whole cycle. [4]
As arithmetic, 10,000 operations per second at 2 ms mean residence imply 20 operations in flight on average. Holding 32 requests continuously outstanding at a 4 ms mean residence implies 8,000/s. In contrast, 32 clients with 2 ms mean response and 2 ms mean think time imply 8,000/s but only 16 outstanding requests on average. These are accounting examples, not device performance predictions.
Relations
- related
- Queue depth, IOPS, Storage latency, Open-loop load, Closed-loop load, Kyber I/O scheduler, Service time, Queueing delay
Advantages
- Measuring any two of the three averages at one boundary yields the third, which helps when one of them is hard or costly to observe. [2]
Limitations
- A tail percentile in place of the mean residence time, or a configured queue limit in place of average occupancy, is not a quantity in the law. [2]
Citations
- John D. C. Little. A Proof for the Queuing Formula: L = lambda W. Operations Research 9(3), 383-387 (1961). DOI: 10.1287/opre.9.3.383.
- John D. C. Little. Little's Law as Viewed on Its 50th Anniversary. Operations Research 59(3), 536-549 (2011), pp. 537-539. DOI: 10.1287/opre.1110.0940.
- Mor Harchol-Balter. Course notes, chapter 6: Little's Law and other operational laws. Carnegie Mellon University, fall 2025.
Further reading
Sources & caveats
- little2011 re-read 2026-10-23, pp. 537-539, for the empty-interval proof, nonstationarity, queue discipline and boundary extension.
- harchol-notes re-read 2026-11-02, PDF pages 6-7 and 9, distinguishing whole-cycle time T, request residence R and think time Z; the previous N = X x R wording omitted this boundary.
- The 20 in-flight, 8,000/s and 16-outstanding figures are arithmetic with assumed means, not hardware measurements or predictions.
- little1961 is cited unchanged for the original statement.
- The latency-storage entry links here because, with a fixed number of outstanding I/Os, mean storage latency and throughput are tied by the closed-system form stated here.
- A companion analysis on I/O accounting is listed but not used in prose.