ArticleslgStudy

science

M/D/1 queue

M/D/1 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/D/1 queue rather than just read about it. In short: In queueing theory, a discipline within the mathematical theory of probability, an M/D/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times are fixed (deterministic). The model name is written in Kendall's notation.

Key takeaways

  • M/D/1 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/D/1 queue to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of M/D/1 queue from memory before moving on to harder problems.

Reference excerpt

In queueing theory, a discipline within the mathematical theory of probability, an M/D/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times are fixed (deterministic). The model name is written in Kendall's notation. Agner Krarup Erlang first published on this model in 1909, starting the subject of queueing theory. An extension of this model with more than one server is the M/D/c queue.

Model definition An M/D/1 queue is a stochastic process whose state space is the set {0,1,2,3,...} where the value corresponds to the number of entities 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 are deterministic time D (serving at rate μ = 1/D). A single server serves entities one at a time from the front of the queue, according to a first-come, first-served discipline. When the service is complete the entity leaves the queue and the number of entities in the system reduces by one. The buffer is of infinite size, so there is no limit on the number of entities it can contain.

Transition Matrix The transition probability matrix for an M/D/1 queue with arrival rate λ and service time 1, such that λ <1 (for stability of the queue) is given by P as below: P=(a0a1a2a3...a0a1a2a3...0a0a1a2...00a0a1..................) , an=λnn!e−λ, n = 0,1,....

Classic performance metrics The following expressions present the classic performance metrics of a single server queuing system such as M/D/1, with:

arrival rate =λ, service rate =μ, and utilization =ρ=λμ The average number of entities in the system, L is given by: L=ρ+12(ρ21−ρ); The average number of entities in the queue (line), LQ is given by: LQ=12(ρ21−ρ); The average waiting time in the system, W is given by: W=1μ+ρ2μ(1−ρ); The average waiting time in the queue (line), WQ is given by: WQ=ρ2μ(1−ρ)

Example Considering a system that has only one server, with an arrival rate of 20 entities per hour and the service rate is at a constant of 30 per hour. So the utilization of the server is: ρ=20/30=2/3. Using the metrics shown above, the results are as following: 1) Average number in line LQ= 0.6667; 2) Average number in system L =1.333; 3) Average time in line ωQ = 0.033 hour; 4) Average time in system ω = 0.067 hour.

Relations for Mean Waiting Time in M/M/1 and M/D/1 queues For an equilibrium M/G/1 queue, the expected value of the time W spent by a customer in the queue are given by Pollaczek-Khintchine formula as below: E(W)=ρτ2(1−ρ)(1+σ2τ2) where τ is the mean service time; σ2 is the variance of service time; and ρ=λτ < 1, λ being the arrival rate of the customers. For M/M/1 queue, the service times are exponentially distributed, then σ2 = τ2 and the mean waiting time in the queue denoted by WM is given by the following equation: WM=ρτ1−ρ Using this, the corresponding equation for M/D/1 queue can be derived, assuming constant service times. Then the variance of service time becomes zero, i.e. σ2 = 0. The mean waiting time in the M/D/1 queue denoted as WD is given by the following equation: WD=ρτ2(1−ρ) From the two equations above, we can infer that Mean queue length in M/M/1 queue is twice that in M/D/1 queue.

Stationary distribution The number of jobs in the queue can be written as M/G/1 type Markov chain and the stationary distribution found for state i (written πi) in the case D = 1 to be

π0=1−λπ1=(1−λ)(eλ−1)πn=(1−λ)(enλ+∑k=1n−1ekλ(−1)n−k[(kλ)n−k(n−k)!+(kλ)n−k−1(n−k−1)!])(n≥2).

Delay Define ρ = λ/μ as the utilization; then the mean delay in the system in M/D/1 queue is

12μ⋅2−ρ1−ρ and in the queue:

12μ⋅ρ1−ρ. The distribution function of the waiting time WQ is defined as P{WQ≤t} for t≥0. A numerically stable algorithm is described in. First, denote the Poisson distribution with parameter ρ as P(k,ρ)=ρkk!e−ρ. We can write t=(K+τ)D where K is the largest integer such that KD≤t and 0<τ<1 is the remaining fraction of a service time. In the case where τ=0, i.e., where t is an integer number of service times, we have P{WQ≤t}=∑k=0Kπk. If τ>0, we have P{WQ≤t}=e2ρτ∑k=0K{πk∑j=0K−j(−1)jP(j,ρτ)}.

Busy period The busy period is the time period measured from the instant a first customer arrives at an empty queue to the time when the queue is again empty. This time period is equal to D times the number of customers served. If ρ < 1, then the number of customers served during a busy period of the queue has a Borel distribution with parameter ρ.

Finite capacity

Stationary distribution A stationary distribution for the number of customers in the queue and mean queue length can be computed using probability generating functions.

Transient solution The transient solution of an M/D/1 queue of finite capacity N, often written M/D/1/N, was published by Garcia et al. in 2002.

Application Includes applications in wide area network design, where a single central processor to read the headers of the packets arriving in exponential fashion, then computes the next adapter to which each packet should go and dispatch the packets accordingly. Here the service time is the processing of the packet header and cyclic redundancy check, which are independent of the length of each arriving packets. Hence, it can be modeled as a M/D/1 queue.

References

Worked examples

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

Start with the simplest possible case. Write down what M/D/1 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/D/1 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/D/1 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/D/1 queue

In research
M/D/1 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/D/1 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/D/1 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/D/1 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/D/1 queue” →

How to study M/D/1 queue in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what M/D/1 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/D/1 queue out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is M/D/1 queue in simple terms?

In queueing theory, a discipline within the mathematical theory of probability, an M/D/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times are fixed (deterministic). The model name is written in Kendall's n…

Why does M/D/1 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/D/1 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/D/1 queue.

Tags

  • Single queueing nodes

Keep exploring