M/D/1 queue

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…

Uses your system voice; voice and rate in settings.

≈ 6 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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 19091, 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 λ P=\begin{pmatrix} a_0 & a_1 & a_2 & a_3 & ... \\ a_0 & a_1 & a_2 & a_3 & ...\\ 0 & a_0 & a_1 & a_2 & ...\\ 0&0 & a_0 & a_1 & ...\\... & ... &...&... &...\\\end{pmatrix} , a_n=\frac{\lambda^n}{n!}e^{-\lambda} , 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 =\lambda , service rate =\mu , and utilization =\rho=\frac{\lambda}{\mu} The average number of entities in the system, L is given by: L=\rho+\frac{1}{2}\left ( \frac{\rho^2}{1-\rho} \right ); The average number of entities in the queue (line), L Q is given by: L_Q=\frac{1}{2}\left ( \frac{\rho^2}{1-\rho} \right ); The average waiting time in the system, W is given by: W = \frac{1}{\mu}+\frac{\rho}{2\mu(1-\rho)}; The average waiting time in the queue (line), W_Q is given by: W_Q=\frac{\rho}{2\mu(1-\rho)} 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 L Q = 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.

E(W)=\frac{\rho\tau}{2(1-\rho)}\left(1+\frac{\sigma^2}{\tau^2}\right) where τ is the mean service time; σ 2 is the variance of service time; and ρ=λτ 2 = τ 2 and the mean waiting time in the queue denoted by W M is given by the following equation: {W_M}=\frac{\rho\tau}{1-\rho} 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 W D is given by the following equation: {W_D}=\frac{\rho\tau}{2(1-\rho)} 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 \begin{align}\pi_0 &= 1-\lambda \\ \pi_1 &= (1-\lambda)(e^\lambda - 1)\\ \pi_n &= (1-\lambda)\left( e^{n\lambda}+\sum_{k=1}^{n-1}e^{k\lambda}(-1)^{n-k}\left[\frac{(k\lambda)^{n-k}}{(n-k)!}+\frac{(k\lambda)^{n-k-1}}{(n-k-1)!}\right]\right) \quad (n \ge 2).\end{align}

Delay

Define ρ = λ/μ as the utilization; then the mean delay in the system in M/D/1 queue is \frac{1}{2\mu}\cdot\frac{2-\rho}{1-\rho} and in the queue: \frac{1}{2\mu}\cdot\frac{\rho}{1-\rho}. The distribution function of the waiting time W_Q is defined as P\{W_Q \le t\} for t \ge 0 . A numerically stable algorithm is described in .

First, denote the Poisson distribution with parameter \rho as P(k, \rho) = \frac{\rho^k}{k!} e^{- \rho}. We can write t = (K + \tau) D where K is the largest integer such that K D \le t and 0 is the remaining fraction of a service time. In the case where \tau = 0 , i.e., where t is an integer number of service times, we have P\{W_Q \le t\} = \sum_{k = 0}^K \pi_k .

If \tau > 0 , we have P\{W_Q \le t\} = e^{2 \rho \tau} \sum_{k=0}^K \left\{ \pi_k \sum_{j = 0}^{K-j} (-1)^j P(j, \rho \tau) \right\}.

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 ρ.

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.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1359423469 under CC BY-SA 4.0; modifications have been made.

Words in each sectionClassic performance met…Classic performance metricsClassic performance metrics: 318 words318DelayDelayDelay: 179 words179Model definitionModel definitionModel definition: 127 words127ApplicationApplicationApplication: 96 words96Stationary distributionStationary distributionStationary distribution: 87 words87Transition MatrixTransition MatrixTransition Matrix: 85 words85Busy periodBusy periodBusy period: 63 words63Transient solutionTransient solutionTransient solution: 27 words27Stationary distributionStationary distributionStationary distribution: 22 words22
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

References

  1. ↩Wikipedia “M/D/1 queue” revision 1359423469 · retrieved 2026-10-20 publication date (×1) · confidence 0.95 revision URL

Provenance

snapshot enwiki-001359423469 · captured 2026-06-15 · ledger · version history

Cite this page as: encyclopegia.org, “M/D/1 queue”, snapshot enwiki-001359423469. https://encyclopegia.org/a/m-d-1-queue