M-M-s queue 2026-10-06
Poisson arrivals of rate and independent exponential servers of rate give a birth-death chain with departure rate . The process is positive recurrent for , null recurrent at equality, and transient above capacity.
A birth-death chain on has generator entries , for , , , and zero elsewhere. Assume the usual conservative nonexplosive chain. The detailed balance for a birth-death process are .
If they hold, each incoming term cancels an outgoing term, giving and thus invariance. Conversely the invariance equation at zero gives . At state , write the stationarity equation as equality of the neighbouring probability currents
Induction from the zero boundary current gives detailed balance for a birth-death process for every edge. Thus invariant measures are exactly the detailed-balance measures in this standard birth–death setting. The argument is the generator characterization; a stationary probability law additionally needs finite normalization. For potentially explosive processes, formal generator balance alone would require additional boundary qualifications.
Write . The embedded birth-death chain moves upward with probability and downward with probability away from zero. The gambler's ruin formula, obtained by solving its two-point difference equation on and then letting , gives . Translation gives return probability from to . From the chain hits almost surely: before that hit it remains in a finite reflecting interval, from every state of which a uniformly positive finite-step chance of hitting is available. This also proves that starting at zero it hits each almost surely.
After departure from the return probability is therefore
The holding rate is , so the exponential occupation-time parameter is . Applying the Strong Markov property at the almost-sure first hit gives
At zero the holding rate is and return probability after departure is , again giving parameter . From initial state , the expected occupation time at zero is , since the time is zero unless zero is reached. Averaging over the initial law with probability generating function yields
For , the interpretation is , for , and ; the same formulas hold.
An M-M-1 queue has a Poisson arrival process of rate , independent exponential service times of rate , and one server, with an unlimited waiting room and the usual first-come-first-served discipline. Its number-in-system process is a continuous-time birth-death chain with and for . For , detailed balance gives
This sums to one and satisfies . The nonexplosive irreducible chain therefore has an invariant probability and is positive recurrent. Equivalently its negative drift above zero gives finite mean return cycles. Here queue length includes the customer in service.
In equilibrium, PASTA gives an arriving customer's number of predecessors the distribution . Conditional on predecessors, memoryless property makes its total waiting-plus-service time a sum of independent variables. Its Laplace transform is
Therefore
This is the sojourn time including service, not just the time until service begins.
The chain is a birth-death chain. Detailed balance between and gives
For , detailed balance between and gives
Consequently
The expected occupation time of the positive even states during a return cycle to state is therefore