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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Aalto, S., Ayesta, U., Righter, R.: On the Gittins index in the M/G/1 queue. Queueing Syst. 63(1–4), 437 (2009)
Becchetti, L., Leonardi, S., Marchetti-Spaccamela, A., Pruhs, K.: Semi-clairvoyant scheduling. Theor. Comput. Sci. 324(2–3), 325–335 (2004)
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)
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)
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)
Coffman, E.G., Denning, P.J.: Operating Systems Theory, vol. 973. prentice-Hall Englewood Cliffs, Hoboken (1973)
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)
Dell’Amico, M.: Scheduling with inexact job sizes: The merits of shortest processing time first. arXiv preprint arXiv:1907.04824 (2019)
Dell’Amico, M., Carra, D., Michiardi, P.: PSBS: practical size-based scheduling. IEEE Trans. Comput. 65(7), 2199–2212 (2015)
Gittins, J.C.: Bandit processes and dynamic allocation indices. J. Roy. Stat. Soc. Ser. B (Methodol.) 41(2), 148–164 (1979)
Grosof, I., Scully, Z., Harchol-Balter, M.: SRPT for multiserver systems. Perform. Eval. 127, 154–175 (2018)
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)
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)
Kleinrock, L.: Queueing Systems: vol. 1, Theory (1975)
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)
Mailach, R.: Robustness to estimation errors for size-aware scheduling. Ph.D. thesis, McMaster University, Department of Computing and Software, Canada (2017)
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)
Mitzenmacher, M.: Scheduling with predictions and the price of misprediction. arXiv preprint arXiv:1902.00732 (2019)
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)
Purohit, M., Svitkina, Z., Kumar, R.: Improving online algorithms via ML predictions. In: Advances in Neural Information Processing Systems, pp. 9661–9670 (2018)
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)
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)
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)
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)
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)
Wierman, A.: Fairness and scheduling in single server queues. Surv. Oper. Res. Manag. Sci. 16(1), 39–48 (2011)
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)
Yashkov, S.: Processor-sharing queues: some progress in analysis. Queueing Syst. 2(1), 1–17 (1987)
Acknowledgment
The authors would like to thank Ziv Scully for useful discussions on the limitations of the SEH policy.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
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)