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 fixed. 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 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.
- 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 is given by P as below:,, 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 queue, LQ is given by:
The average waiting time in the system, ω is given by:
The average waiting time in the queue, ω Q is given by:
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: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:
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:
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 in the case D = 1 to beDelay
Define ρ = λ/''μ'' as the utilization; then the mean delay in the system in M/D/1 queue isand in the queue: