Abstract
We consider a state-dependent \(M_{n}\)/\(G_{n}\)/1 queueing system with both finite and infinite buffer sizes. We allow the arrival rate of customers to depend on the number of people in the system. Service times are also state dependent and service rates can be modified at both arrivals and departures of customers. We show that the steady-state solution of this system at arbitrary times can be derived using the supplementary variable method, and that the system’s state at arrival epochs can be analyzed using an embedded Markov chain. For the system with infinite buffer size, we first obtain an expression for the steady-state distribution of the number of customers in the system at both arbitrary and arrival times. Then, we derive the average service time of a customer observed at both arbitrary times and arrival epochs. We show that our state-dependent queueing system is equivalent to a Markovian birth-and-death process. This equivalency demonstrates our main insight that the \(M_{n}\)/\(G_{n}\)/1 system can be decomposed at any given state as a Markovian queue. Thus, many of the existing results for systems modeled as an M / M / 1 queue can be carried through to the much more practical M / G / 1 model with state-dependent arrival and service rates. Then, we extend the results to the \(M_{n}\)/\(G_{n}\)/1 queueing systems with finite buffer size.
Similar content being viewed by others
References
Abouee-Mehrizi, H., Balcioglu, B., Baron, O.: Strategies for a single product multi-class \(M/G/1\) queueing system. Oper. Res. 60, 803–812 (2012)
Asmussen, S.: Ladder heights and the Markov-modulated \(M/G/1\) queue. Stoch. Process. Appl. 37, 313–326 (1991)
Bekker, R., Borst, S.C., Boxma, O.J., Kella, O.: Queues with workload-dependent arrival and service rates. Queueing Syst. 46, 537–556 (2004)
Bekker, R., Boxma, O.J.: An M/G/1 queue with adaptable service speed. Stoch. Model 23, 373–396 (2007)
Bekker, R., Koole, G.M., Nielsen, B.F., Nielsen, T.B.: Queues with waiting time dependent service. Queueing Syst. 68, 61–78 (2011)
Bertsimas, D., Nakazato, D.: The distributional Little’s law and its applications. Oper. Res. 43, 298–310 (1995)
Buzacott, J.A., Shanthikumar, J.G.: Stochastic Models of Manufacturing Systems. Prentice Hall, Englewood Cliffs (1993)
Cohen, J.W.: The Single Server Queue. Publishing Company, North-Holland (1982)
Conway, R.W., Maxwell, W.L., Miller, L.W.: Theory of Scheduling. Dover Publications, New York (1967)
Cox, D.R.: A use of complex probabilities in the theory of stochastic processes. In: Proceedings of the Cambridge philosophical society vol. 51, pp. 313–319 (1955)
van Doorn, E.A., Regterschot, G.J.K.: Conditional PASTA. Oper. Res. Lett. 7, 229–232 (1988)
Gaver, D.P., Miller, R.G.: Limiting distributions for some storage problems. In: Studies in applied probability and management science, pp. 110–126, (1962)
Gross, D., Harris, C.M.: Fundamentals of Queueing Theory. Wiley, New York (2011)
Gupta, U.C., Srinivasa Rao, T.S.S.: On the analysis of single server finite queue with state dependent arrival and service processes: \(M_{n}\)/\(G_{n}\)/1/\(K\). Oper. Res. spektrum 20, 83–89 (1998)
Harris, C.M.: Queues with state-dependent stochastic service rates. Oper. Res. 15, 117–130 (1967)
Hokstad, P.: The G/M/m queue with finite waiting room. Scand. J. Stat. 12, 779–792 (1975a)
Hokstad, P.: A Supplementary Variable Technique Applied to the \(M/G/1\) Queue. Scand J Statist 2, 95–98 (1975b)
Kerner, Y.: The conditional distribution of the residual service time in the \(M_n/G/1\) queue. Stoch. Model 24, 364–375 (2008)
Kleinrock, L.: Queueing Systems. Wiley, New York (1975)
Medhi, J.: Stochastic Models in Queueing Theory. Academic Press, San Diego (2002)
Perry, D., Posner, M.J.M.: Control of input and demand rates in inventory systems of perishable commodities. Oper. Res. 37, 85–97 (1990)
Regterschot, G.J.K., de Smit, J.H.A.: The queue \(M/G\)/1 with Markov modulated arrivals and services. Math. Oper. Res. 11, 465–483 (1986)
Sigman, K., Yechiali, U.: Stationary remaining service time conditional on queue length. Oper. Res. Lett. 35, 581–583 (2007)
Shanthikumar, J.G.: On a single-server queue with state-dependent service. Naval Res. Log. 26, 305–309 (1979)
Takagi, H.: Queueing Analysis, vol. 2, Elsevier, North Holland (1993)
Tijms, H.C.: A First Course in Stochastic Models. Wiley, Chichester (2003)
Wang, P.P.: Queueing models with delayed state-dependent service times. Eur. J. Oper. Res. 88, 614–621 (1996)
Author information
Authors and Affiliations
Corresponding author
Appendix: Proofs
Appendix: Proofs
Proof
(Proof of Observation 2) Note that the auxiliary queue is defined as an \(M_{n}\)/\(M_{n}\)/1 queue with arrival rate \(\lambda _{\kappa +i}\) and service rate \(\mu _{\kappa +i}\) when there are i customers in this queue. Therefore, the steady-state distribution of the number of people in this queue can be obtained using (5) and (6). Using (5), the probability of having \(\kappa +i\) people in the original queue, \(P(\kappa +i)\), is
where \(P^{A}(0)\) denotes the probability of having no customers in the auxiliary queue.
We next prove that the first term in (55) is equal to \(\left( 1-F( \kappa -1)\right) \). Substituting \(P^{A}(0)\) given in (6) into the first term in (55), we get
Comparing the second term in (55) with (5), we find that the former is the probability of having i people in the auxiliary queue, \(P^{A}(i)\). Therefore, (55) is equivalent to (8);
\(\square \)
1.1 Supplementary result for proof of Theorem 2
Before we prove Theorem 2, we prove the following lemma. Let \(p_{j}(\eta )\) denote the steady-state density of the residual service time of the customer in service when there are j customers in the system, assuming that such steady-state density exists. Then,
Lemma 4
Proof
(Proof of Lemma 4)
As we assume that \(b_{j}(\cdot )\) are all absolutely continuous, a sufficient condition for \(p_{j}(\eta )\) to exist is that the \(M_{n}\)/\(G_{n}\)/1 system is stable. Dividing both sides of (12) and (13) by dt and rearranging them we get
Taking the limit as \(dt\rightarrow 0\), we get
Assuming that the steady-state exists and taking the limit \(t\rightarrow \infty \), we get:
Multiplying both sides of (59) and (60) by \(e^{- \lambda _j u}\) and taking the integral, we get (57) and (58).\(\square \)
Proof
(Proof of Theorem 2)
We note that \(p_{j}(\infty )=0\), \(p_{j}(0)\ge 0\) for \(j>0\), and \(P(0)>0\) because we assume that the system is stable. Also, \(\int _{0}^{\infty }p_{j}(\eta )d\eta =P(j)\) and similarly from (1), \(\int _{0}^{\infty }\alpha _{j} p_{j-1}(\alpha _{j} \eta )d\eta =P(j-1)\). Then, by setting \(\eta =\lambda _{j}=0\) in Lemma 4, from (57) and (58) we get
Therefore, for \(j\ge 1\)
Note that \(\lambda _{j-1}P(j-1)-p_{j}(0)\) is independent of j and must go to zero in the limit when \(j\rightarrow \infty \) if the system is stable (see, for example, [18]). Therefore,
Note that (61) can be explained using level crossing as well. Considering level j (number of customers in the system), \(\lambda _{j}P(j)\) is the rate of up-crossing this level and \(p(j+1, 0)\) is the rate of down-crossing (i.e., the rate at which a departure leaves j customers behind).
Recalling that \(h_{j}(\cdot )\) denotes the steady-state density of the residual service time observed by an arrival that sees j customers in the system, we have
Therefore,
Substituting (61) in (59) and (60), and multiplying both sides by \(e^{-\lambda _{j}\eta }\), we get, after some algebra,
Considering (63), Lemma 4, and recalling \(b_{j}(\infty )=0\) for \(j\ge 1\), we get
Substituting (61) in the above equations, we get for \(\eta =0\)
Solving the integrals on the right-hand sides of the above equations, we get
because from (63) we have
Finally, with \(\tilde{h}_{0}(\cdot )=\tilde{b}_{1}(\cdot )\) and \(\alpha _{1}=1\), after some algebra and using induction we get for each \(j\ge 1\)
Standard arguments establish the rest of the theorem.\(\square \)
Proof
(Proof of Theorem 3)
Setting \(\eta =0\) in Lemma 4, from (57) and (58) we get (similar to (66))
Substituting (61) in (67) and (68), we get
Now considering (69) we get
Substituting \(\lambda _{1}P(1)\) from (16) and recalling that \(\tilde{h}_{0}(\cdot )=\tilde{b}_{1}(\cdot )\), we get
Considering that \(\tilde{h}_{0}(\cdot )=\tilde{b}_{1}(\cdot )\) and \(\alpha _{1}=1\), we get
Similarly, we can obtain \(\tilde{h}_{j}(s)\) for \(j>1\) using (70):
\(\square \)
Proof
(Proof of Observation 3) From Theorem 2 we have
Multiplying both sides by \(\lambda _{i-1}\) and comparing the result with (3), we get \(\hat{\mu }_{i}\) as in (19).\(\square \)
Proof
(Proof of Observation 4) Consider the auxiliary queue. We define a continuous time MP for the auxiliary queue similar to the one expressed in (12) and (13) with states \((j,\eta )\), where j is the number of jobs in the auxiliary queue, while \(\eta \) denotes the remaining service time. We define \(g_{j}(\eta ,t)\) as the probability that there are j jobs in the auxiliary queue, and the remaining service time is \(\eta \) at time t. Therefore,
where \(b_{0}^{A}(\cdot )\) is the steady-state service time density of a job that finds 0 jobs in this queue.
Now consider the original system defined in (12) and (13). Given that there are more than \(\kappa -1\) customers in the system, (12) and (13) reduced to the same equations as given in (73) and (74), where \(b_{0}^{A}(\cdot )\) is the equilibrium service time densities of customers that find \(\kappa \) customers in the original system (Step 2 of the definition of the auxiliary queue). Thus, the steady-state distribution of the number of jobs in the auxiliary queue, \(P^{A}(i)\), is identical to the steady-state distribution of the number of customers in the original queue given that there are more than \(\kappa \) customers in the system, \(P(\kappa +i)\).\(\square \)
Proof
(Proof of Corollary 1)
The proof is similar to the proof of Theorem 2.2.2 in [18]. van Doorn and Regterschot [11] define the adapted LAA as the LAA conditioning on the state of the system, and show that under the adapted LAA PASTA holds. We next establish that the adapted LAA holds in our setting. Let X(t) denote the state of the system, and \(N_{s}\) be the Poisson process that generates the future arrivals when the state of the system is \(X(t)=s\). Then, for every s we have that \(\{N_{s}(t+u)-N_{s}(t), u\ge 0\}\) and X(t) are independent and the adaptive LAA holds. Therefore, Theorem 1 in [11] holds.\(\square \)
Proof
(Proof of Theorem 4)
We first obtain the transition probabilities \(p_{0k}\). Consider \(p_{00}\), the probability that the next departing customer leaves no customer behind given that the last departing customer left no customer behind, \(P\left( M_{n+1}=0|M_{n}=0\right) \). This probability is equal to the probability of having no arrivals during the next service time, i.e., it is \(\tilde{b}_{1}(\lambda _{1})\) (for example, [9], p. 171). Therefore,
Next consider \(p_{01}\), the probability that the next departing customer leaves one customer behind given that the last departing customer left no customer behind, \(P\left( M_{n+1}=1|M_{n}=0\right) \). This probability is equal to the probability of one arrival during the next service time. The only sample path that would lead to this event is that there is exactly one arrival during the sojourn time of the departing customer. Because this sojourn time is identical to the service time of this customer, the probability \(p_{01}\) is equal to the probability that (i) a customer arrives after the service time starts, \(\left( 1-\tilde{b}_{1}(\lambda _{1})\right) \) and (ii) no customers arrive during the remaining service time observed by this arrival. Noting that this arrival sees one customer in the system upon the arrival, the equilibrium remaining service time observed by this arrival is \(h_{1}(\cdot )\). Considering that the rate of the residual service time is modified by \(\alpha _{2}\) after this customer joins the queue, the probability that no customers arrive during the remaining service time observed by this arrival is \(\tilde{h}_{1}(\frac{\lambda _{2}}{\alpha _{2}})\). Therefore,
With similar logic, the probability that the next departing customer leaves k customers behind given that the last departing customer left no customer behind, \(P\left( M_{n+1}=k|M_{n}=0\right) \), is equal to the probability of k arrivals during the next service time. This probability is equal to the probability that a customer arrives after the first service time starts, \(\left( 1-\tilde{b}_{1}(\lambda _{1})\right) \), followed by a customer arrival during the remaining service times of all arrivals that see \(i<k\) customers in the system, each with probability \(\left( 1-\tilde{h}_{i}\Big (\frac{\lambda _{i+1}}{\alpha _{i+1}}\Big )\right) \), and no arrival during the remaining service time once there are k customers in the system, \(\tilde{h}_{k}\Big (\frac{\lambda _{k+1}}{\alpha _{k+1}}\Big )\). Recalling our definition \(\tilde{h}_{0}(\cdot )=\tilde{b}_{1}(\cdot )\), we have
Using the transition probabilities in (30) derived in the body of the paper and (77), we next derive the steady-state probabilities of the embedded MC. Considering (25), we need to derive the steady-state distribution of the number of customers in the system using the embedded MC. Note that the steady-state probability that a departure leaves k customers behind satisfies \(P_{d}(k)=\sum _{j=0}^{\infty }P_{d}(j)p_{jk}\).
First consider \(P_{d}(0)\):
Next consider \(P_{d}(1)\):
Substituting \(P_{d}(1)\) from (78) into (79), we get
The rest of the probabilities can be obtained similarly.\(\square \)
Proof
(Proof of Corollary 2)
Substituting (19) in (3) we get
Therefore,
which after some algebra leads to (44).\(\square \)
Proof
(Proof of Lemma 1) (35) is equivalent to
Using (83) we get P(0):
Using (83) and (84), we obtain P(i) as the function of P(0) given in (36).\(\square \)
Proof
(Proof of Observation 6)
The proof is based on Theorem 4 and similar to the proof of Observation 3.\(\square \)
Proof
(Proof of Lemma 2)
Noting that \(1/\mu _{b}=-\frac{d\tilde{h}_{\kappa }(s)}{ds}|_{s=0}\), by taking the derivative of (18) with respect to s and setting \(s=0\), we get
We prove the result by induction. For \(k=1\) we have \(\alpha _{1}=1\) so that
which with \(\tilde{h}_{0}(\cdot )=\tilde{b}_{1}(\cdot )\) is equivalent to (39) for \(k=1\). Now suppose (39) holds for \(\kappa =m-1\), i.e.,
We next show that it holds for \(k=m\).
Substituting (85) in (86), we get (39) for \(\kappa =m\), which completes the proof.\(\square \)
Proof
(Proof of Theorem 5) Based on Observation 4, we have
Substituting P(k) and \(F( k-1)\) from (16), we get
resulting in (40) after some algebra.\(\square \)
Proof
(Proof of Lemma 3) Let \(N^{a}\) denote the number of customers in the system seen by an arrival. Then,
By a level crossing argument for states \(i<K\), the frequency of transitions from state i to state \(i+1\) is equal to the frequency of transitions from state \(i+1\) to state i. Therefore, the probability that an arriving customer observes i people in the system given that she is accepted to the queue, \(P\left( N^{a}=i|{\textit{accepted}} \right) \), is identical to the probability that a departing customer leaves i people behind, \(\bar{P}_{F}^{d}(i)\). Moreover, for states \(i<K\), \(P\left( N^{a}=i|{\textit{not accepted}} \right) \) is zero. Therefore,
\(\square \)
Rights and permissions
About this article
Cite this article
Abouee-Mehrizi, H., Baron, O. State-dependent M/G/1 queueing systems. Queueing Syst 82, 121–148 (2016). https://doi.org/10.1007/s11134-015-9461-y
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11134-015-9461-y
Keywords
- \(M_{n}\)/\(G_{n}\)/1 queue
- Birth-and-death process
- State-dependent service times
- State-dependent arrivals