15.10 Queuing Theory & Simple Queuing Models

Key Takeaways

  • Simple queuing models are named explicitly in the Operations Research bullet of the CIL Mechanical Paper-II syllabus.

  • Kendall's notation describes a queue as arrival distribution, service distribution, number of servers, system capacity, population and queue discipline, with M denoting the Markovian or exponential case.

  • Utilisation is the arrival rate divided by the product of the number of servers and the service rate, and the queue is stable only when it is less than one.

  • Queue length grows without bound as utilisation approaches one, which is why systems designed for full utilisation always congest.

Last updated: August 2026

Why Queues Form

A queue forms whenever demand for a service arrives faster than it can be served — but crucially, queues also form when average capacity exceeds average demand, purely because of variability in arrivals and service times. This is the central and counter-intuitive insight of queuing theory, and it explains why a workshop with nominally adequate capacity still has jobs waiting.

In a coal operation, queuing problems are everywhere: dumpers waiting at a shovel, wagons waiting at a loading silo, machines waiting for a fitter, and vehicles waiting at a weighbridge.

Kendall's Notation

A queuing system is described as

A/B/c : (K/N/D)A/B/c\,:\,(K/N/D)
PositionMeaning
AAArrival distribution
BBService time distribution
ccNumber of servers
KKSystem capacity
NNPopulation size
DDQueue discipline

Common symbols for AA and BB:

SymbolDistribution
MMarkovian — Poisson arrivals or exponential service times; memoryless
DDeterministic — constant
EkE_kErlang of order kk
GGeneral — any distribution

So M/M/1 means Poisson arrivals, exponential service, one server, infinite capacity and population, first come first served. M/M/c is the multi-server equivalent.

Queue disciplines: FCFS (first come first served), LCFS, SIRO (service in random order), and priority schemes.

The link between Poisson and exponential

If arrivals occur as a Poisson process with mean rate λ\lambda, then the time between successive arrivals is exponentially distributed with mean 1/λ1/\lambda. The two statements are equivalent descriptions of the same process, and the exponential distribution's memoryless property — the time already waited gives no information about the time still to wait — is what makes the mathematics tractable.

The M/M/1 Model

Let λ\lambda be the mean arrival rate and μ\mu the mean service rate of the single server. Define the traffic intensity or utilisation

ρ=λμ\rho = \frac{\lambda}{\mu}

The system is stable only if ρ<1\rho < 1. If ρ≥1\rho \geq 1, arrivals outpace service and the queue grows without limit.

Standard results

QuantityFormula
Probability the system is emptyP0=1−ρP_0 = 1 - \rho
Probability of exactly nn in systemPn=(1−ρ)ρnP_n = (1-\rho)\rho^{n}
Mean number in system LsL_sρ1−ρ=λμ−λ\dfrac{\rho}{1-\rho} = \dfrac{\lambda}{\mu - \lambda}
Mean number in queue LqL_qρ21−ρ=λ2μ(μ−λ)\dfrac{\rho^2}{1-\rho} = \dfrac{\lambda^2}{\mu(\mu-\lambda)}
Mean time in system WsW_s1μ−λ\dfrac{1}{\mu - \lambda}
Mean time in queue WqW_qλμ(μ−λ)=ρ Ws\dfrac{\lambda}{\mu(\mu-\lambda)} = \rho\,W_s

Useful identities: Ls=Lq+ρL_s = L_q + \rho and Ws=Wq+1/μW_s = W_q + 1/\mu. The difference between "in system" and "in queue" is exactly the one job being served.

Little's Law

L=λ W\boxed{L = \lambda\,W}

The average number in a system equals the arrival rate multiplied by the average time spent in it. Little's law is remarkably general — it holds for any queuing system regardless of the arrival or service distributions, the number of servers, or the discipline. It applies equally to LsL_s with WsW_s and to LqL_q with WqW_q.

Its practical use is that measuring any two of the three quantities gives the third. If a workshop has on average 12 jobs in progress and receives 3 jobs per day, the average throughput time is 4 days — no further data needed.

The Congestion Curve

The behaviour of LqL_q as ρ\rho rises is the most important qualitative result in the topic:

ρ\rhoLqL_q (jobs waiting)
0.500.50
0.701.63
0.803.20
0.908.10
0.9518.05
0.9998.01

Queue length rises hyperbolically, not linearly. Going from 80% to 90% utilisation adds ten percentage points of utilisation but more than doubles the queue; going from 90% to 95% doubles it again.

The managerial implication is direct and often resisted: a facility planned for 95% or higher utilisation of a variable process will congest. Buffer capacity is not waste; it is what buys acceptable waiting times. This is the quantitative justification for keeping standby capacity in a maintenance workshop or an extra dumper in a shovel fleet.

Worked Example: Workshop Repairs

Breakdowns arrive at a mine workshop at an average of 4 per day, Poisson distributed. A single fitting bay repairs them at an average of 6 per day, exponentially distributed.

ρ=46=0.667\rho = \frac{4}{6} = 0.667 Ls=46−4=2 machines in the systemL_s = \frac{4}{6-4} = 2 \text{ machines in the system} Lq=166×2=1.33 machines waitingL_q = \frac{16}{6\times2} = 1.33 \text{ machines waiting} Ws=16−4=0.5 days=12 hoursW_s = \frac{1}{6-4} = 0.5 \text{ days} = 12 \text{ hours} Wq=46×2=0.333 days=8 hoursW_q = \frac{4}{6\times 2} = 0.333 \text{ days} = 8 \text{ hours}

Check by Little's law: Ls=λWs=4×0.5=2L_s = \lambda W_s = 4\times0.5 = 2. Consistent.

The probability the bay is idle is P0=1−0.667=0.333P_0 = 1 - 0.667 = 0.333, so the fitter is idle a third of the time — and yet machines still wait 8 hours on average. That combination of visible idleness and visible waiting is precisely what variability produces, and it is why intuitive capacity planning by average load alone fails.

The M/M/c Multi-Server Model

With cc identical servers sharing one queue, utilisation becomes

ρ=λc μ\rho = \frac{\lambda}{c\,\mu}

and stability again requires ρ<1\rho < 1. The probability of an empty system is

P0=[∑n=0c−1(λ/μ)nn!+(λ/μ)cc! (1−ρ)]−1P_0 = \left[\sum_{n=0}^{c-1}\frac{(\lambda/\mu)^n}{n!} + \frac{(\lambda/\mu)^c}{c!\,(1-\rho)}\right]^{-1}

and the mean queue length is

Lq=P0 (λ/μ)c ρc! (1−ρ)2L_q = P_0\,\frac{(\lambda/\mu)^c\,\rho}{c!\,(1-\rho)^2}

with Wq=Lq/λW_q = L_q/\lambda, Ws=Wq+1/μW_s = W_q + 1/\mu and Ls=λWsL_s = \lambda W_s.

One queue or several?

A practically important result: a single queue feeding cc servers always outperforms cc separate queues each feeding one server, even though the total capacity is identical. The single queue never leaves a server idle while someone waits elsewhere. This is why banks, airports and well-run workshops use a single feeding line rather than one line per counter.

Other Models in Brief

ModelFeature
M/M/1/KFinite system capacity KK; arrivals are turned away when full, so the system is always stable
M/M/1/N (finite population)The machine repair model; as machines fail, fewer remain to fail, so the arrival rate depends on the state
M/D/1Constant service time; gives exactly half the queue length of M/M/1 at the same utilisation
M/G/1General service; the Pollaczek-Khinchine formula shows LqL_q rises with the variance of service time

The M/D/1 result deserves emphasis because of what it implies for practice: simply reducing variability in service times, with no increase in capacity at all, halves the queue. Standardising repair procedures, pre-kitting spares and using standard work packages are therefore direct queue-reduction measures, not merely tidiness.

Economic Analysis

The purpose of the analysis is normally to choose a service capacity. The total cost per unit time is

Ctotal=Cs c+Cw LsC_{\text{total}} = C_s\,c + C_w\,L_s

where CsC_s is the cost of providing one server and CwC_w the cost of one unit waiting. Service cost rises linearly with cc while waiting cost falls hyperbolically, so the total has a clear minimum — evaluated by computing the total for c=1,2,3…c = 1, 2, 3\ldots and selecting the lowest.

In a mine, CwC_w can be very large: a haul truck waiting is not merely an idle asset but lost production from the whole shovel-truck circuit. That high waiting cost is what justifies apparently generous workshop and standby capacity, and quantifying it is exactly what this model is for.

Test Your Knowledge

In Kendall's notation, the symbol M for the arrival process denotes:

A

A Markovian process, meaning Poisson arrivals with exponentially distributed inter-arrival times

B

A mixed distribution of arrivals

C

A manual service operation

D

Multiple servers

Test Your Knowledge

In an M/M/1 queue with an arrival rate of 4 per day and a service rate of 6 per day, the average number of items in the system is:

A

1.33

B

2

C

3

D

0.67

Test Your Knowledge

Little's law states that the average number in a queuing system equals:

A

The variance of service time divided by the arrival rate

B

The service rate multiplied by the utilisation

C

The arrival rate multiplied by the average time spent in the system

D

The number of servers divided by the utilisation

Test Your Knowledge

As utilisation rises from 0.8 to 0.9 in an M/M/1 queue, the average queue length:

A

Remains approximately constant

B

Falls, because the server is busier

C

Increases by about 12 percent, in proportion to utilisation

D

More than doubles

Sections you finish are checked off in the contents.