ArticleslgStudy

science

M/M/c queue

M/M/c queue is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand M/M/c queue rather than just read about it. In short: In queueing theory, a discipline within the mathematical theory of probability, the M/M/c queue (or Erlang–C model) is a multi-server queueing model. In Kendall's notation it describes a system where arrivals form a single queue and are governed by a Poisson process, there are c servers, and job service times are exponentially distributed.

M/M/c queue — main illustration
M/M/c queue — illustration

Key takeaways

  • M/M/c queue belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect M/M/c queue to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of M/M/c queue from memory before moving on to harder problems.

Reference excerpt

In queueing theory, a discipline within the mathematical theory of probability, the M/M/c queue (or Erlang–C model) is a multi-server queueing model. In Kendall's notation it describes a system where arrivals form a single queue and are governed by a Poisson process, there are c servers, and job service times are exponentially distributed. It is a generalisation of the M/M/1 queue which considers only a single server. The model with infinitely many servers is the M/M/∞ queue.

Model definition An M/M/c queue is a stochastic process whose state space is the set {0, 1, 2, 3, ...} where the value corresponds to the number of customers in the system, including any currently in service.

Arrivals occur at rate λ according to a Poisson process and move the process from state i to i+1. Service times have an exponential distribution with parameter μ. If there are fewer than c jobs, some of the servers will be idle. If there are more than c jobs, the jobs queue in a buffer. The buffer is of infinite size, so there is no limit on the number of customers it can contain. The model can be described as a continuous time Markov chain with transition rate matrix

on the state space {0, 1, 2, 3, ...}. The model is a type of birth–death process. We write ρ = λ/(c μ) for the server utilization and require ρ < 1 for the queue to be stable. ρ represents the average proportion of time which each of the servers is occupied (assuming jobs finding more than one vacant server choose their servers randomly). The state space diagram for this chain is as below.

Stationary analysis

Number of customers in the system If the traffic intensity is greater than one then the queue will grow without bound but if server utilization ρ=λcμ<1 then the system has a stationary distribution with probability mass function

where πk is the probability that the system contains k customers. The probability that an arriving customer is forced to join the queue (all servers are occupied) is given by

which is referred to as Erlang's C formula and is often denoted C(c, λ/μ) or E2,c(λ/μ). The average number of customers in the system (in service and in the queue) is given by

Busy period of server The busy period of the M/M/c queue can either refer to:

full busy period: the time period between an arrival which finds c−1 customers in the system until a departure which leaves the system with c−1 customers partial busy period: the time period between an arrival which finds the system empty until a departure which leaves the system again empty. Write Tk = min( t: k jobs in the system at time 0+ and k − 1 jobs in the system at time t) and ηk(s) for the Laplace–Stieltjes transform of the distribution of Tk. Then

For k > c, Tk has the same distribution as Tc. For k = c, For k < c,

Response time The response time is the total amount of time a customer spends in both the queue and in service. The average response time is the same for all work conserving service disciplines and is

Customers in first-come, first-served discipline The customer either experiences an immediate exponential service, or must wait for k customers to be served before their own service, thus experiencing an Erlang distribution with shape parameter k + 1.

Customers in processor sharing discipline In a processor sharing queue the service capacity of the queue is split equally between the jobs in the queue. In the M/M/c queue this means that when there are c or fewer jobs in the system, each job is serviced at rate μ. However, when there are more than c jobs in the system the service rate of each job decreases and is cμn where n is the number of jobs in the system. This means that arrivals after a job of interest can impact the service time of the job of interest. The Laplace–Stieltjes transform of the response time distribution has been shown to be a solution to a Volterra integral equation from which moments can be computed. An approximation has been offered for the response time distribution.

Finite capacity In an M/M/c/K queue only K customers can queue at any one time (including those in service). Any further arrivals to the queue are considered "lost". We assume that K ≥ c. The model has transition rate matrix

on the state space {0, 1, 2, ..., c, ..., K}. In the case where c = K, the M/M/c/c queue is also known as the Erlang-B model.

Transient analysis See Takács for a transient solution and Stadje for busy period results.

Stationary analysis Stationary probabilities are given by

The average number of customers in the system is

and the average time in the system for a customer is

The average time in the queue for a customer is

The average number of customers in the queue can be obtained by using the effective arrival rate. The effective arrival rate is calculated by

Thus we can obtain the average number of customers in the queue by

Heavy-traffic limits Writing X(t) for the number of customers in the system at time t, it can be shown that under three different conditions the process

converges to a diffusion process.

Fix μ and c, increase λ and scale by n = 1/(1 − ρ)2. Fix μ and ρ, increase λ and c, and scale by n = c. Fix as a constant β where and increase λ and c using the scale n = c or n = 1/(1 − ρ)2. This case is called the Halfin–Whitt regime.

See also Spectral expansion solution M/G/k queue

References

Worked examples

Example 1 — a first encounter with M/M/c queue

Start with the simplest possible case. Write down what M/M/c queue claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to M/M/c queue before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about M/M/c queue ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of M/M/c queue

In research
M/M/c queue appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses M/M/c queue in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
M/M/c queue is common in secondary-school and first-year university syllabi. It links to neighbouring topics Single queueing nodes, so understanding it makes those chapters shorter.
In everyday life
Look for M/M/c queue outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “M/M/c queue” →

How to study M/M/c queue in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what M/M/c queue means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain M/M/c queue out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is M/M/c queue in simple terms?

In queueing theory, a discipline within the mathematical theory of probability, the M/M/c queue (or Erlang–C model) is a multi-server queueing model. In Kendall's notation it describes a system where arrivals form a single queue and are governed by a Poisson process, there are c servers, and job se…

Why does M/M/c queue matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study M/M/c queue?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on M/M/c queue.

Tags

  • Single queueing nodes

Keep exploring