Assume independent stationary Compound Poisson process inputs, preemptive-resume priority for voice, first come first served within each class, capacity , a shared buffer of units of work, packet sizes bounded by , and voice delay gate . Write and . For flows with per-flow effective bandwidths , the continuous-time exponential workload bound gives
provided and . To prove this, couple with the unthinned infinite-buffer aggregate and voice queues driven by the same offered packets. Dropping work reduces both the total and voice workloads under this service discipline. A buffer-fit failure implies total workload greater than , and a voice-gate failure implies voice workload at least . Apply the two bounds and a union bound; Poisson arrivals see time averages converts stationary prearrival probabilities to offered-packet loss fractions. For target losses , choose and , then set
The two effective bandwidth constraints, together with strict aggregate mean-load stability, define a sufficient integer admission region. Voice loss includes the shared-buffer term, even though data packets have lower service priority.
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 gives
For 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 inequality
Define 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 satisfying
the stationary loss-event probabilities obey
The 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 budgets
For example, and also work; equality with is harmless. The required sufficient effective-bandwidth admission region with a voice delay gate is
It ensures and . A simple enumeration is
discarding 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.
A multiclass queue must specify its service discipline as well as its arrival and service rates. Here is an ordered-queue model that includes the usual class-independent exponential single-server queue. Let class- arrivals be independent Poisson processes of rates , and let a class- service requirement have the exponential distribution of rate . A state is a finite word of customer classes.
Choose service fractions with , and insertion probabilities with . The customer at position departs at rate ; a class- arrival is inserted at position at rate . All rates leading to the same word are added. For class-dependent , impose the symmetric service discipline . If all , arbitrary class-independent are permitted, including first come first served with insertion at the tail and service at the head.
Put and . For , the equilibrium word law is
For the symmetric service discipline, insertion and deletion satisfy detailed balance for a continuous-time Markov chain because
For the common-service-rate case, use time reversal of a continuous-time Markov chain instead: the reversed queue inserts with probabilities and serves with fractions . A forward insertion gives a reverse deletion rate , and a forward deletion gives a reverse insertion rate . Forward and reverse total rates both equal , proving global balance for a continuous-time Markov chain.
Summing the weights of all words of length gives , so the law is normalized. If counts class- customers and , the multinomial coefficient counting class orderings gives
For processor sharing, , the class-count vector itself is a Markov chain, with arrival rate and departure rate . Under first come first served, the ordered word is generally necessary. Class-dependent service rates combined with first come first served do not in general have the displayed simple equilibrium law; the discipline assumption matters.
A two-class queue has one total buffer but serves the high-priority class before the other. A preemptive-resume service discipline interrupts low-priority work immediately and later resumes it without wasting completed work. Under first come first served within the high-priority class, a new high-priority packet waits when is the high-priority workload immediately before its arrival. The total workload determines shared-buffer overflow, while determines the high-priority waiting time. An additional admission gate rejects high-priority packets when exceeds a prescribed delay limit. Finite packets require a fit test against the remaining buffer space, and nonpreemptive service adds residual low-priority service time.
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.
Workload of a queue 2026-10-14
The queue workload of a queue is the total remaining service work of all present customers, including residual work in service. With a work-conserving server of rate and stationary input , the stationary queue workload is represented by
This is the amount by which past offered work exceeds available service, maximized over possible starts of a busy period. It is the reflection of net input at zero. Under first come first served, an arriving infinitesimal customer waits ; a priority customer instead waits for the remaining work ahead of it under its service discipline.