skip to main content
10.1145/1254882.1254906acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
Article

PBS: a unified priority-based scheduler

Published:12 June 2007Publication History

ABSTRACT

Blind scheduling policies schedule tasks without knowledge of the tasks' remaining processing times. Existing blind policies, such as FCFS, PS, and LAS, have proven useful in network and operating system applications, but each policy has a separate, vastly differing description, leading to separate and distinct implementations. This paper presents the design and implementation of a configurable blind scheduler that contains a continuous, tunable parameter. By merely changing the value of this parameter, the scheduler's policy exactly emulates or closely approximates several existing standard policies. Other settings enable policies whose behavior is a hybrid of these standards. We demonstrate the practical benefits of such a configurable scheduler by implementing it into the Linux operating system. We show that we can emulate the behavior of Linux's existing, more complex scheduler with a single (hybrid) setting of the parameter. We also show, using synthetic workloads, that the best value for the tunable parameter is not unique, but depends on distribution of the size of tasks arriving to the system. Finally, we use our formulation of the configurable scheduler to contrast the behavior of various blind schedulers by exploring how various properties of the scheduler change as we vary our scheduler's tunable parameter.

References

  1. S. Aalto, U. Ayesta, and E. Nyberg-Oksanen. Two-level processor-sharing scheduling disciplines: Mean delay analysis. In Proc. ACM SIGMETRICS '04, pages 97--105, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Abate and W. Whitt. Limits and approximations for the M=G=1 LIFO waiting-time distribution. Operations Research Letters, 20:199--206, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Apache Software Foundation. Apache Httpd. http://httpd.apache.org/.Google ScholarGoogle Scholar
  4. N. Bansal. Achievable sojourn times by non-size based policies in a GI/GI/1 queue. Technical report, IBM Watson Research Center, 2004. http://www.research.ibm.com/people/n/nikhil/papers/blindnew.pdf.Google ScholarGoogle Scholar
  5. P. Barford and M. Crovella. Generating representative web workloads for network and server performance evaluation. In Proc. SIGMETRICS/PERFORMANCE '98, pages 151--160, November 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. G. Beekmans. Linux from scratch. http://www.linuxfromscratch.org/lfs/.Google ScholarGoogle Scholar
  7. B. Caprita, W. C. Chan, J. Nieh, C. Stein, and H. Zheng. Group ratio round-robin: O(1) proportional share scheduling for uniprocessor and multiprocessor systems. In Proc. USENIX '05, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E. Coffman, R. Muntz, and H. Trotter. Waiting time distribution for processor-sharing systems. Journal of the ACM, 17(1):123--130, 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Fayolle, I. Mitrani, and R. Iasnogorodski. Sharing a processor among many job classes. Journal of the ACM, 27(3):519--532, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. H. Feng, V. Misra, and D. Rubenstein. The PBS policy: Some properties and their proofs. Technical Report CUCS-015-07, Dept. of Computer Science, Columbia University, 2007.Google ScholarGoogle Scholar
  11. K. P. Gummadi, R. J. Dunn, S. Saroiu, S. D. Gribble, H. M. Levy, and J. Zahorjan. Measurement, modeling, and analysis of a peer-to-peer file-sharing workload. In Proc. SOSP, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. Harchol-Balter, B. Schroeder, N. Bansal, and M. Agrawal. Size-based scheduling to improve web performance. ACM Trans. Comput. Syst., 21(2), 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Kherani. Sojourn times in (discrete) time shared systems and their continuous time limits. In Proc. Valuetools '06, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. A. Kherani and R. Nùñez-Queija. TCP as an implementation of age-based scheduling: Fairness and performance. In Proc. IEEE Infocom '06, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  15. L. Kleinrock. Queueing Systems Volume I: Theory, Volume II: Computer Applications. John Wiley&Sons, 1975, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. C. L. Liu and J. W. Layland. Scheduling algorithms for multiprogramming in a hard-real-time environment. Journal of the ACM, 20(1):46--61, 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. I. Mitrani and J. H. Hine. Complete parameterized families of job scheduling strategies. Acta Informatica, 8:61--73, 1977.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. S. Padhy and A. A. Kherani. Tail equivalence for some time-shared systems. In Proc. Valuetools '06, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. A. K. Parekh and R. G. Gallager. A generalized processor sharing approach to flow control in integrated services networks: The single-node case. IEEE/ACM Transactions on Networking, 1(3):344--357, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. I. A. Rai, G. Urvoy-Keller, M. K. Vernon, and E. W. Biersack. Performance analysis of LAS-based scheduling disciplines in a packet switched network. In Proc. ACM SIGMETRICS '04, pages 106--117, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. D. Raz, H. Levy, and B. Avi-Itzhak. A resource-allocation queueing fairness measure. In Proc. ACM SIGMETRICS '04, pages 130--141, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. R. Righter, J. G. Shanthikumar, and G. Yamazaki. On extremal service disciplines in single-stage queueing systems. Journal of Applied Probability, (2):409--416, 1990.Google ScholarGoogle ScholarCross RefCross Ref
  23. M. Ruschitzka and R. Fabry. A unified approach to scheduling. Commun. of the ACM, 20(7):469--477, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. L. Schrage. The queue M=G=1 with feedback to lower priority queues. Management Science, 13(7):466--474, 1967.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. L. Schrage. A proof of the optimality of the shortest remaining processing time discipline. Operations Research, 16(3):687--690, 1968.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. L. E. Schrage and L. W. Miller. The queue M=G=1 with the shortest remaining processing time discipline. Operations Research, 14(4):670--684, 1966.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. A. Silberschatz, P. B. Galvin, and G. Gagne. Applied Operating Systems Concepts. John Wiley&Sons, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. A. Wierman and M. Harchol-Balter. Classifying scheduling policies with respect to unfairness in an M=GI=1. In Proc. ACM SIGMETRICS '03, pages 238--249, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. A. Wierman, M. Harchol-Balter, and T. Osogami. Nearly insensitive bounds on smart scheduling. In Proc. ACM SIGMETRICS '05, pages 205--216, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. PBS: a unified priority-based scheduler

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              SIGMETRICS '07: Proceedings of the 2007 ACM SIGMETRICS international conference on Measurement and modeling of computer systems
              June 2007
              398 pages
              ISBN:9781595936394
              DOI:10.1145/1254882
              • cover image ACM SIGMETRICS Performance Evaluation Review
                ACM SIGMETRICS Performance Evaluation Review  Volume 35, Issue 1
                SIGMETRICS '07 Conference Proceedings
                June 2007
                382 pages
                ISSN:0163-5999
                DOI:10.1145/1269899
                Issue’s Table of Contents

              Copyright © 2007 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 12 June 2007

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate459of2,691submissions,17%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader