Skip to main content

SMVA: A Stable Mean Value Analysis Algorithm for Closed Systems with Load-Dependent Queues

  • Chapter
  • First Online:
Book cover Systems Modeling: Methodologies and Tools

Part of the book series: EAI/Springer Innovations in Communication and Computing ((EAISICC))

Abstract

The load-dependent Mean Value Analysis (MVA) algorithm suffers from numerical instability issues. Different techniques have been adopted to avoid these issues, however, they have either complexity problems or restrictive assumptions. In this paper, we introduce a numerically Stable MVA (SMVA) algorithm for closed product-form queueing networks that allows for load-dependent queues. The SMVA algorithm is inspired by Seidmann’s approximation for the numerical stability, and employs the Bard-Schweitzer approximation for the accuracy. The SMVA algorithm offers a numerically stable, efficient, and accurate approximate solution. We validate SMVA by comparing it to other MVA algorithms in concrete examples, and analyse its errors. We also extend it to a multi-class model.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Y. Bard, Some extensions to multiclass queueing network analysis, in Proceedings of the 3rd International Symposium on Modelling and Performance Evaluation of Computer Systems: Performance of Computer Systems (North-Holland Publishing Co., New York, 1979), pp. 51–62

    Google Scholar 

  2. F. Baskett, K.M. Chandy, R.R. Muntz, F.G. Palacios, Open, closed, and mixed networks of queues with different classes of customers. J. ACM 22(2), 248–260 (1975)

    Article  MathSciNet  Google Scholar 

  3. G. Casale, A note on stable flow-equivalent aggregation in closed networks. Queueing Syst. 60(3–4), 193–202 (2008)

    Article  MathSciNet  Google Scholar 

  4. G. Casale, G. Serazzi, Stabilization techniques for load-dependent queueing networks algorithms, in Communication Networks and Computer Systems: A Tribute to Professor Erol Gelenbe, Chap 8, ed. by J.A. Barria (Imperial College Press, London, 2006), pp. 127–141

    Chapter  Google Scholar 

  5. G. Casale , J.F. Pérez, W. Wang, QD-AMVA: evaluating systems with queue-dependent service requirements. Perform. Eval. 91, 80–98 (2015)

    Article  Google Scholar 

  6. K.M. Chandy, C.H. Sauer, Computational algorithms for product form queueing networks. Commun. ACM 23(10), 573–583 (1980)

    Article  MathSciNet  Google Scholar 

  7. K.M. Chandy, U. Herzog, L. Woo, Parametric analysis of queuing networks. IBM J. Res. Dev. 19(1), 36–42 (1975)

    Article  MathSciNet  Google Scholar 

  8. Y. Chen, S. Iyer, X. Liu, D. Milojicic, A. Sahai, SLA decomposition: translating service level objectives to system level thresholds, in Proceedings of the 4th International Conference on Autonomic Computing (IEEE, 2007), pp. 3–13

    Google Scholar 

  9. Y. Chen , S. Iyer , X. Liu , D. Milojicic , A. Sahai, Translating service level objectives to lower level policies for multi-tier services. Clust. Comput. 11(3), 299–311 (2008)

    Article  Google Scholar 

  10. T. Horvath, TPC-W J2EE implementation (2008). http://www.cs.virginia.edu/~th8k. Last accessed 27 Sept 2017

  11. K. Hoyme, S.C. Bruell, P. Afshari, R.Y. Kain, A tree-structured mean value analysis algorithm. ACM Trans. Comput. Syst. 4(2), 178–185 (1986)

    Article  Google Scholar 

  12. S.S. Lavenberg, M. Reiser, Stationary state probabilities at arrival instants for closed queueing networks with multiple types of customers. J. Appl. Probab. 17(4), 1048–1061 (1980)

    Article  MathSciNet  Google Scholar 

  13. X. Liu, J. Heo, L. Sha, Modeling 3-tiered web applications, in Proceedings of the 13th IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, 2005 (IEEE, 2005), pp. 307–310

    Google Scholar 

  14. D.A. Menascé, V.A. Almeida, L.W. Dowdy, L. Dowdy, Performance by Design: Computer Capacity Planning by Example (Prentice Hall PTR, Upper Saddle River, 2004)

    Google Scholar 

  15. M. Reiser, Mean-value analysis and convolution method for queue-dependent servers in closed queueing networks. Perform. Eval. 1(1), 7–18 (1981)

    Article  MathSciNet  Google Scholar 

  16. M. Reiser, S.S. Lavenberg, Mean-value analysis of closed multichain queuing networks. J. ACM 27(2), 313–322 (1980)

    Article  MathSciNet  Google Scholar 

  17. P. Schweitzer, Approximate analysis of multiclass closed networks of queues, in Proceedings of International Conference on Stochastic Control and Optimization (Free University, Amsterdam, 1979), pp. 25–29

    Google Scholar 

  18. A. Seidmann, J. Paul, S. Shalev-Oren, Computerized closed queueing network models of flexible manufacturing systems: a comparative evaluation. Large Scale Syst. 12, 91–107 (1987)

    MathSciNet  MATH  Google Scholar 

  19. K.C. Sevcik, I. Mitrani, The distribution of queuing network states at input and output instants. J. ACM 28(2), 358–371 (1981)

    Article  MathSciNet  Google Scholar 

  20. S. Tucci, C.H. Sauer, The tree MVA algorithm. Perform. Eval. 5(3), 187–196 (1985)

    Article  MathSciNet  Google Scholar 

  21. L. Zhang, D.G. Down, A stable mean value analysis algorithm for closed systems with load-dependent queues, in Proceedings of the 10th EAI International Conference on Performance Evaluation Methodologies and Tools (ACM, New York, 2016), pp. 178–181

    Google Scholar 

Download references

Acknowledgements

The work reported here was supported by the Natural Sciences and Engineering Research Council of Canada.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Douglas G. Down .

Editor information

Editors and Affiliations

Appendix

Appendix

Algorithm 2 The single-class A-SMVA algorithm

In Algorithm 1, we estimate the mean number of jobs at a delay centre, \(Q_m^e(n)\). In the same iteration, new values are calculated as \(Q_m^o(n)\). A natural thought would be to add a comparison between these two values, similar to a technique in the Bard-Schweitzer approximation. To accomplish this, we propose an alternative SMVA algorithm (A-SMVA) for a single-class system. The details of A-SMVA can be seen in Algorithm 2. Compared to SMVA, A-SMVA differs as follows:

  • Iterations over n = 1 → N are removed. Instead, we focus only on the performance metrics with N jobs in the system.

  • Initialize \(Q_m^e(n)\) with estimated values, e.g., N∕(M + 1).

  • Employ (2.4) to replace \(Q^a_m(N-1)\) by \(Q^q_m(N)\) in (2.3), which is \(Q^q_m(N)\times (N-1)/N\).

  • Choose an error criterion—𝜖, e.g., 0.01.

  • Compare the difference between \(Q_m^e(n)\) and \(Q_m^o(n)\), and compare the difference between \(Q^q_m(N)\) and \(Q^a_m(N)\). If the maximum difference is larger than 𝜖, replace \(Q_m^e(n)\) by \(Q_m^o(n)\), and \(Q^q_m(N)\) by \(Q^a_m(N)\). Otherwise, stop the iteration.

We set 𝜖 = 0.01, and compare the results of A-SMVA with the results of SMVA with the same input parameters in Sect. 2.5.1. The estimated mean response times from A-SMVA are slightly larger than the results from SMVA, but they have very similar trends.

When N is very large, A-SMVA can be efficient, because it avoids the iteration over n = 1 → N. However, we have two concerns about A-SMVA:

  • The initial values of \(Q_m^e(n)\) may significantly affect the outputs. For example, if they are too close to zero, the whole iteration will be skipped.

  • The chosen value of 𝜖 may have a significant effect on the outputs. If 𝜖 is too big, we have less iterations, but sacrifice accuracy. If 𝜖 is too small, it may not converge in some instances (although we have not observed this).

As a summary, we provide one more numerically stable approach to determine the performance metrics for closed queueing networks with load-dependent queues. One can adopt SMVA or A-SMVA depending on the requirements.

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer International Publishing AG, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Zhang, L., Down, D.G. (2019). SMVA: A Stable Mean Value Analysis Algorithm for Closed Systems with Load-Dependent Queues. In: Puliafito, A., Trivedi, K. (eds) Systems Modeling: Methodologies and Tools. EAI/Springer Innovations in Communication and Computing. Springer, Cham. https://doi.org/10.1007/978-3-319-92378-9_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-92378-9_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-92377-2

  • Online ISBN: 978-3-319-92378-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics