Skip to main content

SEH: Size Estimate Hedging for Single-Server Queues

  • Conference paper
  • First Online:
Quantitative Evaluation of Systems (QEST 2021)

Abstract

For a single server system, Shortest Remaining Processing Time (SRPT) is an optimal size-based policy. In this paper, we discuss scheduling a single-server system when exact information about the jobs’ processing times is not available. When the SRPT policy uses estimated processing times, the underestimation of large jobs can significantly degrade performance. We propose a simple heuristic, Size Estimate Hedging (SEH), that only uses estimated processing times for scheduling decisions. A job’s priority is increased dynamically according to an SRPT rule until it is determined that it is underestimated, at which time the priority is frozen. Numerical results suggest that SEH has desirable performance for estimation error variance that is consistent with what is seen in practice.

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 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Similar content being viewed by others

References

  1. Aalto, S., Ayesta, U., Righter, R.: On the Gittins index in the M/G/1 queue. Queueing Syst. 63(1–4), 437 (2009)

    Article  MathSciNet  Google Scholar 

  2. Becchetti, L., Leonardi, S., Marchetti-Spaccamela, A., Pruhs, K.: Semi-clairvoyant scheduling. Theor. Comput. Sci. 324(2–3), 325–335 (2004)

    Article  MathSciNet  Google Scholar 

  3. Bender, M.A., Muthukrishnan, S., Rajaraman, R.: Improved algorithms for stretch scheduling. In: Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 762–771 (2002)

    Google Scholar 

  4. Chang, H., Kodialam, M., Kompella, R.R., Lakshman, T., Lee, M., Mukherjee, S.: Scheduling in mapreduce-like systems for fast completion time. In: 2011 Proceedings IEEE INFOCOM, pp. 3074–3082. IEEE (2011)

    Google Scholar 

  5. Chen, Y., Alspaugh, S., Katz, R.: Interactive analytical processing in big data systems: A cross-industry study of mapreduce workloads. arXiv preprint arXiv:1208.4174 (2012)

  6. Coffman, E.G., Denning, P.J.: Operating Systems Theory, vol. 973. prentice-Hall Englewood Cliffs, Hoboken (1973)

    Google Scholar 

  7. Crovella, M.E., Taqqu, M.S., Bestavros, A.: Heavy-tailed probability distributions in the World Wide Web. Pract. Guide Heavy Tils 1, 3–26 (1998)

    MATH  Google Scholar 

  8. Dell’Amico, M.: Scheduling with inexact job sizes: The merits of shortest processing time first. arXiv preprint arXiv:1907.04824 (2019)

  9. Dell’Amico, M., Carra, D., Michiardi, P.: PSBS: practical size-based scheduling. IEEE Trans. Comput. 65(7), 2199–2212 (2015)

    Article  MathSciNet  Google Scholar 

  10. Gittins, J.C.: Bandit processes and dynamic allocation indices. J. Roy. Stat. Soc. Ser. B (Methodol.) 41(2), 148–164 (1979)

    MathSciNet  MATH  Google Scholar 

  11. Grosof, I., Scully, Z., Harchol-Balter, M.: SRPT for multiserver systems. Perform. Eval. 127, 154–175 (2018)

    Article  Google Scholar 

  12. Harchol-Balter, M.: The effect of heavy-tailed job size distributions on computer system design. In: Proceedings of the ASA-IMS Conference on Applications of Heavy Tailed Distributions in Economics, Engineering and Statistics (1999)

    Google Scholar 

  13. Harchol-Balter, M., Schroeder, B., Bansal, N., Agrawal, M.: Size-based scheduling to improve web performance. ACM Trans. Comput. Syst. (TOCS) 21(2), 207–233 (2003)

    Article  Google Scholar 

  14. Kleinrock, L.: Queueing Systems: vol. 1, Theory (1975)

    Google Scholar 

  15. Lu, D., Sheng, H., Dinda, P.: Size-based scheduling policies with inaccurate scheduling information. In: The IEEE Computer Society’s 12th Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, 2004. (MASCOTS 2004). Proceedings, pp. 31–38. IEEE (2004)

    Google Scholar 

  16. Mailach, R.: Robustness to estimation errors for size-aware scheduling. Ph.D. thesis, McMaster University, Department of Computing and Software, Canada (2017)

    Google Scholar 

  17. Mailach, R., Down, D.G.: Scheduling jobs with estimation errors for multi-server systems. In: 2017 29th International Teletraffic Congress (ITC 29), vol. 1, pp. 10–18. IEEE (2017)

    Google Scholar 

  18. Mitzenmacher, M.: Scheduling with predictions and the price of misprediction. arXiv preprint arXiv:1902.00732 (2019)

  19. Pastorelli, M., Barbuzzi, A., Carra, D., Dell’Amico, M., Michiardi, P.: HFSP: size-based scheduling for Hadoop. In: 2013 IEEE International Conference on Big Data, pp. 51–59. IEEE (2013)

    Google Scholar 

  20. Purohit, M., Svitkina, Z., Kumar, R.: Improving online algorithms via ML predictions. In: Advances in Neural Information Processing Systems, pp. 9661–9670 (2018)

    Google Scholar 

  21. Rai, I.A., Urvoy-Keller, G., Biersack, E.W.: Analysis of LAS scheduling for job size distributions with high variance. In: Proceedings of the 2003 ACM SIGMETRICS international conference on Measurement and modeling of computer systems, pp. 218–228 (2003)

    Google Scholar 

  22. Righter, R., Shanthikumar, J.G.: Scheduling multiclass single server queueing systems to stochastically maximize the number of successful departures. Probab. Eng. Inf. Sci. 3(3), 323–333 (1989)

    Article  Google Scholar 

  23. Schrage, L.: Letter to the editor-a proof of the optimality of the shortest remaining processing time discipline. Oper. Res. 16(3), 687–690 (1968)

    Article  Google Scholar 

  24. Schrage, L.E., Miller, L.W.: The queue M/G/1 with the shortest remaining processing time discipline. Oper. Res. 14(4), 670–684 (1966)

    Article  MathSciNet  Google Scholar 

  25. Scully, Z., Harchol-Balter, M., Scheller-Wolf, A.: Soap: one clean analysis of all age-based scheduling policies. Proc. ACM Measurement Anal. Comput. Syst. 2(1), 1–30 (2018)

    Article  Google Scholar 

  26. Wierman, A.: Fairness and scheduling in single server queues. Surv. Oper. Res. Manag. Sci. 16(1), 39–48 (2011)

    Google Scholar 

  27. Wierman, A., Nuyens, M.: Scheduling despite inexact job-size information. In: Proceedings of the 2008 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, pp. 25–36 (2008)

    Google Scholar 

  28. Yashkov, S.: Processor-sharing queues: some progress in analysis. Queueing Syst. 2(1), 1–17 (1987)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgment

The authors would like to thank Ziv Scully for useful discussions on the limitations of the SEH policy.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maryam Akbari-Moghaddam .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Akbari-Moghaddam, M., Down, D.G. (2021). SEH: Size Estimate Hedging for Single-Server Queues. In: Abate, A., Marin, A. (eds) Quantitative Evaluation of Systems. QEST 2021. Lecture Notes in Computer Science(), vol 12846. Springer, Cham. https://doi.org/10.1007/978-3-030-85172-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85172-9_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85171-2

  • Online ISBN: 978-3-030-85172-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics