Little's law 2026-10-14
For a stable queue with finite long-run averages, a positive finite admitted rate, and negligible initial and terminal contributions after division by observation time, Little's law statesHere is the time-average queue population, is the admitted rate through the chosen system, and is the customer-average customer sojourn time inside that same boundary. Without abandonment, admitted rate equals completed-service queue throughput in this stable regime. It may differ from the offered arrival rate because of blocking. When customers abandon, count their admissions and exits too, and average their actual time inside; using only service completions would mismatch the population being measured.
For the waiting area alone the matching identity iswhere is mean queueing delay. For one server with no abandonment, service in arrival order, and finite mean service time ,with the server utilization. Mixing total population with waiting-only duration would count different portions of each customer's visit. Customers who start service immediately contribute zero to , and must still be included in that customer average.
The strength of Little's law is that it does not require a Poisson process, an exponential distribution of service times, or service in arrival order. The sample-path area identity for Little's law explains why: counting customer-time across time slices or across customer visits gives the same area. A sufficient probabilistic setting is repeated independent and identically distributed empty-to-empty cycles with finite positive mean cycle duration, finite positive mean customer count, and finite mean population area; the renewal-reward theorem then supplies the long-run averages. Stability alone does not guarantee finite mean queueing delay: the Pollaczek-Khinchine mean formula shows why a finite second moment of service time matters for that mean in an M/G/1 queue.
For example, suppose a service desk receives six requests per hour but admits only four; measured mean customer sojourn time of admitted requests is half an hour. Its mean queue population is customers. Multiplying the offered rate by that duration would incorrectly give three. Conversely, counting two customers on average and measuring admitted queue throughput of four per hour gives hour. This lets one estimate a hard-to-track duration from occupancy and completed-job counts.
John D. C. Little published a rigorous proof in 1961 under finite-mean, strict stationarity, and ergodicity assumptions on the arrival process. Those were assumptions of that proof, rather than a requirement that every useful form of the identity have random arrivals. [ref]
https://pubsonline.informs.org/doi/10.1287/opre.9.3.383. Little, A Proof for the Queuing Formula: L = λW, Operations Research 9(3), 383-387
. [ref]https://fisherp.scripts.mit.edu/wordpress/wp-content/uploads/2015/11/ContentServer.pdf. Original paper, opening statement
. M/M/1 utilization and delay 2026-10-14
Consider an M/M/1 queue with an exogenous Poisson process of arrivals of rate , one server, unlimited waiting space, first come first served service, and independent and identically distributed service times with an exponential distribution of rate , independent of arrivals. There is no blocking or abandonment, so offered rate and admitted queue throughput coincide: . The memoryless property makes the queue population a birth-death process. For , the stationary distribution of an M-M-1 queue isThis is a geometric distribution on the nonnegative integers. Its mean, together with Little's law, givesHere count the whole system, and count only waiting. These distinctions and formulas are derived in MIT 2.854, M/M/1 Queue notes, pages 1-2.
Take customers per hour and customers per hour. The mean service time is hour, or 12 minutes, and the server utilization is . Computing each quantity explicitly,Thus Little's law checks both boundaries: and . The mean number in service is , rather than one, because the server is idle 20 percent of the time. By PASTA, an arriving customer sees four customers already in the system on average. Under first come first served, the memoryless property gives mean residual service time for the customer in service; clearing those four customers takes hour on average, independently confirming the mean queueing delay.
Holding per hour fixed, increasing arrivals from to per hour raises server utilization from to , but doubles mean customer sojourn time from one to two hours. At per hour, server utilization is , , hours, , and hours. Both mean population and mean duration diverge as approaches from below. The formula describes an explosive congestion penalty near capacity even though all arrivals still eventually receive service at every fixed subcritical rate. At or above capacity there is no stationary distribution for this unlimited M/M/1 queue, so these finite stationary formulas no longer apply.
The inverse dependence of mean customer sojourn time on spare capacity, , makes server utilization a poor standalone measure of service quality. Adding capacity at a nearly saturated M/M/1 queue can sharply reduce queueing delay. Stanley B. Gershwin develops this capacity interpretation in Markov Processes and Queues, MIT 2.854, 2016, slides 71-72.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 36 4 b Solution 2026-10-14
The capacity and quality targets alone do not determine flow counts: the per-flow traffic statistics must also be supplied. The following explicit model gives a computable sufficient region, with genuine upper bounds on both loss fractions.
Measure queue workload and buffer size in bits. Denote capacity by , shared buffer size by , voice delay limit by , target voice loss by , and target data loss by , with . Let there be voice flows and data flows. Model each class- flow, , by a stationary Compound Poisson process with packet rate and positive independent packet sizes , and assume independence across flows and marks. Use a work-conserving preemptive-resume priority queue with a shared buffer, with voice priority and first come first served within each class. This preemptive or fluid approximation makes the predicted voice waiting time exactly , where is the remaining voice queue workload just before arrival. Assume packet sizes are bounded by a known and interpret the buffer gate as a packet-fit test; rejecting packets which do not fit is the packet version of the full-buffer rule.
For one flow the Compound Poisson process formula givesFor fixed-size packets of size , substitute . Estimate the packet rate and size law from measurements or a declared traffic contract. Also require the strict stability inequalityDefine and . Couple the switch with an unthinned infinite-buffer aggregate queue and an unthinned infinite-buffer voice-only queue, both driven by the same offered packets and both served at rate . Under the preemptive service discipline, dropping arrivals can only decrease both the total queue workload and the voice queue workload. Thus total switch queue workload and voice queue workload satisfy and in the stationary coupling. A packet-fit loss implies , and a voice-delay rejection implies .
Apply the continuous-time exponential workload bound to the two comparison queues. For any positive satisfyingthe stationary loss-event probabilities obeyThe second inequality is a union bound: voice can be lost either at the shared buffer or at its delay gate. Data congestion therefore contributes to voice loss despite its lower service priority. Poisson arrivals see time averages applies to each offered packet stream, whose future arrivals are independent of the prearrival state; the stationary event bounds are consequently bounds on the offered-packet loss fractions. Voice packets that are admitted have queueing delay below , because later voice packets join behind them and data work cannot delay them in this model.
To turn the bounds into flow counts, allocate loss budgetsFor example, and also work; equality with is harmless. The required sufficient effective-bandwidth admission region with a voice delay gate isIt ensures and . A simple enumeration isdiscarding negative bounds and pairs failing strict mean-load stability. The formulas assume positive-rate nonzero-size flows. Optimize a chosen revenue or flow-count objective over these integer pairs. Searching over the budget split can enlarge the sufficient region. For a bit-fluid buffer gate with no packet-fit issue, can be replaced by .
Real nonpreemptive packet service needs an additional residual-service allowance or an explicit priority queue workload analysis: a voice packet may have to wait for the data packet already in service. Burst-correlated voice sources also require richer descriptors, such as measured finite-time effective bandwidths or a Markov-modulated source model. For such inputs, additivity still holds for independent flows, but the independent-increment supermartingale bound is not automatic; use a valid sample-path large deviation principle or a model-specific overflow bound, with prefactors or a safety margin when using asymptotics. If packet arrivals do not form a Poisson process, loss fractions must be assessed at arrival epochs rather than inferred solely from time-average queue workload probabilities. These qualifications explain both how to calculate an admission region from specified traffic statistics and why the five switch/QoS parameters by themselves cannot supply a numerical answer.
Queueing delay 2026-10-14
The queueing delay is the time between a customer's arrival and the start of its service, excluding its own service time. Under first come first served with service rate , its queueing delay is the queue workload ahead of it divided by . The customer sojourn time also includes the customer's own service. In a preemptive priority queue with a shared buffer, a voice customer's initial waiting time depends only on the voice queue workload already present.
Queueing theory Created 2026-09-24 Updated 2026-10-14
Queueing theory studies how jobs accumulate while waiting for limited service: customers at a desk, requests at a computer, or calls competing for a connection. A queue model specifies how jobs arrive, their service times, the number of servers, the buffer size of a queue, and the service discipline. Its practical questions include the queue population, queueing delay, customer sojourn time, queue throughput, and server utilization.
Average spare capacity does not guarantee short waits. Even when the service rate of a queue exceeds the arrival rate, bursts of arrivals and unusually long service times can leave work waiting. The M/M/1 utilization and delay example shows that an 80 percent server utilization can turn a 12-minute mean service time into a 60-minute mean customer sojourn time. As capacity is approached, congestion grows sharply; reserving spare capacity can be much more valuable than its idle fraction suggests.
Two complementary ideas make queueing theory especially useful. Little's law converts a measured queue population and queue throughput into a mean customer sojourn time, using a counting identity rather than a particular arrival law. Poisson arrivals see time averages answers a different question: when do arriving customers see the same state frequencies as an observer sampling over time? That requires an exogenous Poisson process and a system that cannot anticipate its future arrivals. Neither result by itself determines all queueing delays; detailed models such as the M/M/1 queue and M/G/1 queue supply the remaining information.
Sample-path area identity for Little's law 2026-10-14
Let customer enter a queue at and leave at , and count it in for . On a finite observation interval , the integral of the queue population is exactly the sum of the lengths of the overlaps of customer visits with that interval, as displayed above; is the positive part. This deterministic identity includes visits already in progress at time zero and visits still unfinished at time . It needs no probability distribution for arrivals or service times. The area argument is also developed in Richard C. Larson and Amedeo R. Odoni, Urban Operations Research, section 4.4.
For a fully computed example, start empty and observe through minutes. Three customers arrive at minutes, begin service at minutes, and depart at minutes. These times describe a single first come first served server with service times minutes. Their customer sojourn times are minutes, and their queueing delays are minutes. The queue population is respectively on the consecutive intervals , soThe same area is when counted by customer. Hence the finite-window averages satisfyThe waiting area is one customer-minute, giving and minute; . The server works for four minutes, so its server utilization is and . Repeating this six-minute pattern indefinitely makes all these values long-run averages, without a Poisson process of arrivals.
An observation window that cuts visits short requires the overlap terms, rather than full customer sojourn times. Starting empty, let count admissions before and write . ThenFor the example cut at minutes, the area is customer-minutes, whereas the full durations of the two admitted customers sum to ; the remaining half-minute of the second visit is . A precise sufficient sample path condition for the limiting Little's law is , , and . Dividing the identity by then gives . Equating admission and departure rates additionally uses , by the balance for an initially empty queue, where counts all departures.

