Abstract
In this paper, we study the basic properties of last-in first-out (LIFO) preemptive-repeat single-server queues in which the server needs to start service from scratch whenever a preempted customer reaches the server. In particular, we study the question of when such queues are stable (in the sense that the equilibrium time-in-system is finite-valued with probability one) and show how moments of the equilibrium customer sojourn time can be computed when the system is stable. A complete analysis of stability is provided in the setting of Poisson arrivals and in that of the Markovian arrival process. The stability region depends upon the detailed structure of the interarrival and service time distributions and cannot be expressed purely in terms of expected values. This is connected to the fact that such preemptive-repeat queues are not work conserving.
Similar content being viewed by others
References
Abate, J., Whitt, W.: Limits and approximations for the M/G/1 LIFO waiting-time distribution. OR Lett. 20, 199–206 (1997)
Abhisek, Boon, M., Mandjes, M., Nunez Queija, R.: Congestion analysis of congested intersections. Working paper, 8 pp (2016)
Asmussen, S.: Applied Probability and Queues. Springer-Verlag, Berlin (2003)
Asmussen, S., Fiorini, P.M., Lipsky, L., Rolski, T., Sheahan, R.: Asymptotic behaviour of total times for jobs that must start over if a failure occurs. Math. Oper. Res. 33, 932–944 (2008)
Asmussen, S., Lipsky, L., Thompson, S.: Markov renewal methods in restart problems in complex systems. In: Podolskij, M. (ed.) The Fascination of Probability, Statistics and their Applications, Essays in Honour of Ole E. Barndorff-Nielsen, pp. 501–527. Springer-Verlag, Berlin (2016)
Avi-Itzhak, B.: Preemptive repeat priority queues as a special case of the multipurpose server problem I-II. Oper. Res. 11(597–609), 610–619 (1963)
Bini, D.A., Latouche, G., Meini, B.: Solving nonlinear matrix equations arising in tree-like stochastic processes. Linear Algebra Appl. 366, 39–64 (2003)
Chimento Jr., P.F., Trivedi, K.S.: The completion time of programs on processors subject to failure and repair. IEEE Trans. Comput. 42(1), 1184–1194 (1993)
Conway, R.W., Maxwell, W.L., Miller, L.W.: Theory of Scheduling. Addison-Wesley, Boston (1968)
Debicki, K., Mandjes, M.: Queues and Lévy Fluctuation Theory. Springer-Verlag, Berlin (2015)
Field, T.: An analysis of the preemptive repeat queueing discipline. Unpublished notes, 6 pp (2206)
Gaver Jr., D.P.: A waiting line with interrupted service, including priorities. J. R. Statist. Soc. B, 73–90 (1962)
Harchol-Balter, M.: Performance, Modeling and Design of Computer Systems. Cambridge University Press, Cambridge (2013)
Harris, T.E.: The Theory of Branching Processes. Springer-Verlag, Berlin (1963)
He, Q.-M., Alfa, A.S.: The MMAP[K]/PH[K]/1 queues with a last-come-first-served preemptive service discipline. Queueing Systems 29, 269–291 (1998)
Jaiswal, N.K.: Priority Queues. Elsevier, Amsterdam (1968)
Jelenković, Tan, J.: Characterizing heavy-tailed distributions induced by retransmissions. Adv. Appl. Probab. 45, 106–138 (2013)
Jelenković, P., Skiani, E.: Distribution of the number of retransmissions of bounded documents. Adv. Appl. Probab. 47, 425–44 (2015)
Kleinrock, L.: Queueing Systems. Computer Applications. Wiley, Hoboken (1976)
Kulkarni, V., Nicola, V., Trivedi, K.: On modeling the performance and reliability of multimode systems. J. Syst. Softw. 6, 175–183 (1986)
Kulkarni, V., Nicola, V., Trivedi, K.: The completion time of a job on a multimode system. Adv. Appl. Probab. 19, 932–954 (1987)
Latouche , G., Ramaswami, V.: Introduction to matrix analytic methods in stochastic modelling. SIAM 42, 577–604 (1999)
Limic, V.: A LIFO queue in heavy traffic. Ann. Appl. Probab. 11, 301–331 (2001)
Nair, J., Andreasson, M., Andrew, L., Low, S., Doyle, J.: On channel failures, file fragmentation policies, and heavy-tailed completion times. In: Proceedings of IEEE INFOCOM, 2010 (2010)
Neuts, M.F.: Structured Markov Chains of the \(M/G/1\) Type and Their Applications. Marcel Dekker, New York City (1989)
Sigman, K.: Queues under preemptive LIFO and ladder height distributions for risk processes: a duality. Stoch. Models 12, 725–735 (1996)
Van Houdt, B., Blondia, C.: Stability and performance of stack algorithms for random access communication modeled as a tree structured QBD Markov chain. Stoch. Models 17, 247–270 (2001)
Volkovich, Y., Litvak, N.: Asymptotic analysis for personalized web search. Adv. Appl. Probab. 42, 577–604 (2010)
Wolff, R.W.: Stochastic Modeling and the Theory of Queues. Prentice–Hall, Upper Saddle River (1989)
Walraevens, J., Flems, D., Bruneel, H.: The discrete-time preemptive repeat identical priority queue. QUESTA 53, 231–243 (2006)
Acknowledgements
We are grateful to Onno Boxma, Mor Harchol-Balter and V. Ramaswami for valuable remarks and references. Special thanks go to Jonathan Goodman for providing the differential equation argument in Remark 6 that provided the initial scientific impetus for this project. Patrick Laub supplied helpful answers to our programming queries.
Author information
Authors and Affiliations
Corresponding author
Appendix: Computational experience
Appendix: Computational experience
The computations of Sect. 3.1 were done in MATLAB, using the iterative scheme (3.3) to compute \(\varvec{P}\). In each step, \(\varPsi (\varvec{P}_k)\) was evaluated via (3.1) using matrix inversion, rather than the power series (3.2). Matrix exponentials and the infinite integral were evaluated via MATLAB’s routines expm, resp. integral (\(\cdot \),0,Inf,’ArrayValued’,true).
The deviation of \(\varvec{P}\) from being stochastic was measured via two criteria, the deficit \(\delta =\) \(1-\varvec{e}^\top \varvec{P}\varvec{e}/q\) of the average row sum from 1 and calculated values of \(\mathbb {E}D\). Ideally, one expects a change point at the critical point for stability, where \(\log _{10}\delta \) should jump from \(-\infty \) to finite negative values and \(\mathbb {E}D\) should go to \(\infty \).
An illustration of the procedure is given in Fig. 1 for the M/M/1 case where the critical value is known as \(\rho =0.50\) (cf. Remark 2). Three numbers \(K=100,\,500,\,5000\) of iterations were used. It shows that (1) a sufficiently large value of K is crucial for getting the desired sharp distinction between stability and non-stability. One also notes that (2) \(\log _{10}\delta \) is not \(-\infty \) in the numerics, but the wiggles for small \(\rho \) indicates the numerical precision on \(\delta \) is about \(10^{-15}\), (3) The algorithm does not produce \(\infty \) above the critical point, but some other number. This is no contradiction, since the expression \(\varvec{m}\,=\,(\varvec{I}-\varvec{A}_{21})^{-1}\varvec{A}_{2a}\) is only valid assuming stability. The entries beyond that do not give \(\mathbb {E}_i[D;\,D<\infty ]\) but rather the ratio of two integrals without any direct interpretation in terms of the queueing problem.
The numbers given in the E\(_p/\)M/1 and H\(_2/\)M/1 examples were visually assessed from plot similar to Fig. 1. A general feature was that for \(p\ge 2\) states the change at the critical value was somewhat less sharp than for \(p=1\) (as in M/M/1) with the same number K of iterations, so that sometimes up to \(K=20,000\) iterations were required around the critical value; note that the interpretation of \(\varvec{P}_k\) in terms of the tree depth indicates that particularly many iterations are needed here. Obviously, the iteration scheme is time-consuming since each step involves computing an infinite integral of a function involving a matrix inverse and matrix exponentials. Finite machine precisions set further limit. Nevertheless, the results look reliable to us up to the given number of digits. One of the most demanding examples is presented in Fig. 2.
Rights and permissions
About this article
Cite this article
Asmussen, S., Glynn, P.W. On preemptive-repeat LIFO queues. Queueing Syst 87, 1–22 (2017). https://doi.org/10.1007/s11134-017-9532-3
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11134-017-9532-3
Keywords
- Branching process
- Iterative scheme
- Markovian arrival process
- Random walk
- Sojourn time
- Stability
- Stochastic fixpoint equation