M/M/1 queue
In queueing theory, a discipline within the mathematical theory of probability, an M/M/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 have an exponential distribution.[src] The model name is written in Kendall's notation.[src] The model is the most elementary of queueing models and an attractive object of study as closed-form expressions can be obtained for many metrics of interest in this model.[src] An extension of this model with more than one server is the M/M/c queue.[src]
In queueing theory, a discipline within the mathematical theory of probability, an M/M/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 have an exponential distribution.[src] The model name is written in Kendall's notation.[src] The model is the most elementary of queueing models and an attractive object of study as closed-form expressions can be obtained for many metrics of interest in this model.[src] An extension of this model with more than one server is the M/M/c queue.[src] ==Model definition== An M/M/1 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.[src] Arrivals occur at rate λ according to a Poisson process and move the process from state i to i + 1.[src] Service times have an exponential distribution with rate parameter μ in the M/M/1 queue, where 1/μ is the mean service time.[src] All arrival times and services times are (usually) assumed to be independent of one another.[src] A single server serves customers one at a time from the front of the queue, according to a first-come, first-served discipline.[src] When the service is complete the customer leaves the queue and the number of customers in the system reduces by one.[src] The buffer is of infinite size, so there is no limit on the number of customers it can contain.[src] The model can be described as a continuous time Markov chain with transition rate matrix Q=\begin{pmatrix} -\lambda & \lambda \\ \mu & -(\mu+\lambda) & \lambda \\ &\mu & -(\mu+\lambda) & \lambda \\ &&\mu & -(\mu+\lambda) & \lambda &\\ &&&&\ddots \end{pmatrix} on the state space {0,1,2,3,...}.[src] This is the same continuous time Markov chain as in a birth–death process.[src] The state space diagram for this chain is as below.[src] ==Stationary analysis== The model is considered stable only if λ \pi_i=(1-\rho)\rho^i.\, ===Average number of customers in the system=== We see that the number of customers in the system is geometrically distributed with parameter 1 − ρ.[src] Thus the average number of customers in the system is ρ/(1 − ρ) and the variance of number of customers in the system is ρ/(1 − ρ) 2 .[src] This result holds for any work conserving service regime, such as processor sharing.[src] ===Busy period of server=== The busy period is the time period measured between the instant a customer arrives to an empty system until the instant a customer departs leaving behind an empty system.[src] The busy period has probability density function f(t)=\begin{cases} \frac{1}{t\sqrt{\rho}}e^{-(\lambda+\mu)t}I_1(2t\sqrt{\lambda\mu}) & t>0\\ 0 & \text{otherwise}\end{cases} where I 1 is a modified Bessel function of the first kind, obtained by using Laplace transforms and inverting the solution.[src] The Laplace transform of the M/M/1 busy period is given by \mathbb E( e^{-s F} )= \frac{1}{2 \lambda}(\lambda + \mu + s - \sqrt{(\lambda + \mu + s)^2 - 4 \lambda \mu}) which gives the moments of the busy period, in particular the mean is 1/(μ − λ) and variance is given by \frac{1}{\mu^2(1-\rho)^2}.[src] ===Response time=== The average response time or sojourn time (total time a customer spends in the system) does not depend on scheduling discipline and can be computed using Little's law as 1/(μ − λ).[src] The average time spent waiting is 1/(μ − λ) − 1/μ = ρ/(μ − λ).[src] The distribution of response times experienced does depend on scheduling discipline.[src] ====First-come, first-served discipline==== For customers who arrive and find the queue as a stationary process, the response time they experience (the sum of both waiting time and service time) has Laplace transform (μ − λ)/(s + μ − λ) and therefore probability density function f(t)= \begin{cases} (\mu-\lambda)e^{-(\mu-\lambda)t} & t>0\\ 0 & \text{otherwise.} \end{cases} ====Processor sharing discipline==== In an M/M/1-PS queue there is no waiting line and all jobs receive an equal proportion of the service capacity.[src] Suppose the single server serves at rate 16 and there are 4 jobs in the system, each job will experience service at rate 4.[src] The rate at which jobs receive service changes each time a job arrives at or departs from the system.[src] For customers who arrive to find the queue as a stationary process, the Laplace transform of the distribution of response times experienced by customers was published in 1970, for which an integral representation is known.[src] The waiting time distribution (response time less service time) for a customer requiring x amount of service has transform W^\ast(s|x) = \frac{(1-\rho)(1-\rho r^2)e^{-[\lambda(1-r)+s]x}}{(1-\rho r^2)-\rho(1-r)^2e^{-(\mu/r-\lambda r)x}} where r is the smaller root of the equation \lambda r^2 - (\lambda + \mu + s)r + \mu = 0.[src] The mean response time for a job arriving and requiring amount x of service can therefore be computed as x μ/(μ − λ).[src] An alternative approach computes the same results using a spectral expansion method.[src] ==Transient solution== We can write a probability mass function dependent on t to describe the probability that the M/M/1 queue is in a particular state at a given time.[src] We assume that the queue is initially in state i and write p k (t) for the probability of being in state k at time t.[src] Then p_k(t)=e^{-(\lambda+\mu)t} \left[ \rho^{\frac{k-i}{2}} I_{k-i}(at) + \rho^{\frac{k-i-1}{2}} I_{k+i+1}(at) + (1-\rho) \rho^{k} \sum_{j=k+i+2}^{\infty} \rho^{-j/2}I_j(at) \right] where i is the initial number of customers in the station at time t=0 , \rho=\lambda/\mu , a=2\sqrt{\lambda\mu} and I_k is the modified Bessel function of the first kind.[src] Moments for the transient solution can be expressed as the sum of two monotone functions.[src] ==Diffusion approximation== When the utilization ρ is close to 1 the process can be approximated by a reflected Brownian motion with drift parameter λ – μ and variance parameter λ + μ.[src] This heavy traffic limit was first introduced by John Kingman.[src] ==References==[src]
41 sentences · 41 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"M/M/1 queue." encyclopegia.org, 2025, https://encyclopegia.org/wiki/m-m-1-queue. Accessed 01 December 2026.
Chicago
"M/M/1 queue." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/m-m-1-queue.
APA
encyclopegia.org. (2025). M/M/1 queue. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/m-m-1-queue
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 1970 | Wikipedia |