I'm familiar with the steady-state behavior of an M/M/1 queue. For example, the arrival rate of $\lambda = 2$ per minute and servicing rate of $\mu = 3$ per minute means that utilization $\rho = \lambda / \mu = \frac{2}{3}$, and therefore the steady-state probability in each state $k$ is $(1-\rho)\rho^k$, or the following:
- $\mathrm{Pr}(k=0) = 1/3$
- $\mathrm{Pr}(k=1) = 2/9$
- $\mathrm{Pr}(k=2) = 4/27$
- $\mathrm{Pr}(k=3) = 8/81$
(etc.)
But what if I want to find the probability during some large time interval $T$ (in other words, $\lambda T \gg 1$ and $\mu T \gg 1$) that the queue length never exceeds some amount $k_{\max}$, given that I know nothing about the queue length ahead of time? (assuming probability is its steady-state distribution)
This seems like it should be a well-known problem, but I can't seem to find it in the basic tutorials/textbooks on queueing theory. For a fixed value of $k_{\max}$, the probability should decrease as $T$ increases, and I would expect this to be approximately equal to $e^{-T/T_0}$ as long as $\lambda T \gg 1$ and $\mu T \gg 1$ (and likely requiring $\rho^k \ll 1$ as well), where $T_0$ is some function of $\lambda, \mu,$ and $k_{\max}$, but I don't know how to calculate $T_0$.


The steady-state behaviour is described by the transition rate matrix
$$ \begin{pmatrix} -\lambda & \lambda \\ \mu & -(\mu+\lambda) & \lambda \\ &\mu & -(\mu+\lambda) & \lambda \\ &&\mu & -(\mu+\lambda) & \lambda &\\ &&&\mu&\ddots \end{pmatrix}\;. $$
To find the rate at which the probability not to exceed $k_\text{max}$ decays, replace all states above $k_\text{max}$ by an absorbing state. For instance, for $k_\text{max}=2$, the modified transition rate matrix is
$$ \begin{pmatrix} -\lambda & \lambda \\ \mu & -(\mu+\lambda) & \lambda \\ &\mu & -(\mu+\lambda) & \lambda \\ &&0& 0 \end{pmatrix}\;. $$
This matrix has an eigenvalue $0$, whose eigenvector has probability $1$ in the absorbing state, and $k_\text{max}+1$ negative eigenvalues, of which you want the one closest to zero. I don’t think there’s a closed form for this in general. For low absorption rates, you can approximate the probability remaining in the non-absorbing states by a multiple of the equilibrium distribution of the unmodified system, and then the absorption rate (and thus the decay rate $\frac1{T_0}$) is approximately the rate of transitions from $k_\text{max}$ to $k_\text{max}+1$, i.e. $\lambda(1-\rho)\rho^{k_\text{max}}$.
There’s a factor in front of $\mathrm e^{-\frac T{T_0}}$, though, which is the coefficient of the eigenvector corresponding to the eigenvalue $-\frac1{T_0}$ when the truncated equilibrium distribution of the unmodified system (with all states above $k_\text{max}$ combined into the absorbing state) is decomposed into the eigenvectors of the modified transition rate matrix.
I should add that I don’t know whether this is how this problem is usually treated in queueing theory; this is just how I’d approach it.