skip to main content
article

PBS: a unified priority-based scheduler

Published: 12 June 2007 Publication 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.
[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.
[3]
Apache Software Foundation. Apache Httpd. http://httpd.apache.org/.
[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.
[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.
[6]
G. Beekmans. Linux from scratch. http://www.linuxfromscratch.org/lfs/.
[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.
[8]
E. Coffman, R. Muntz, and H. Trotter. Waiting time distribution for processor-sharing systems. Journal of the ACM, 17(1):123--130, 1970.
[9]
G. Fayolle, I. Mitrani, and R. Iasnogorodski. Sharing a processor among many job classes. Journal of the ACM, 27(3):519--532, 1980.
[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.
[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.
[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.
[13]
A. Kherani. Sojourn times in (discrete) time shared systems and their continuous time limits. In Proc. Valuetools '06, 2006.
[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.
[15]
L. Kleinrock. Queueing Systems Volume I: Theory, Volume II: Computer Applications. John Wiley&Sons, 1975, 1976.
[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.
[17]
I. Mitrani and J. H. Hine. Complete parameterized families of job scheduling strategies. Acta Informatica, 8:61--73, 1977.
[18]
S. Padhy and A. A. Kherani. Tail equivalence for some time-shared systems. In Proc. Valuetools '06, 2006.
[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.
[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.
[21]
D. Raz, H. Levy, and B. Avi-Itzhak. A resource-allocation queueing fairness measure. In Proc. ACM SIGMETRICS '04, pages 130--141, 2004.
[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.
[23]
M. Ruschitzka and R. Fabry. A unified approach to scheduling. Commun. of the ACM, 20(7):469--477, 1977.
[24]
L. Schrage. The queue M=G=1 with feedback to lower priority queues. Management Science, 13(7):466--474, 1967.
[25]
L. Schrage. A proof of the optimality of the shortest remaining processing time discipline. Operations Research, 16(3):687--690, 1968.
[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.
[27]
A. Silberschatz, P. B. Galvin, and G. Gagne. Applied Operating Systems Concepts. John Wiley&Sons, 2000.
[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.
[29]
A. Wierman, M. Harchol-Balter, and T. Osogami. Nearly insensitive bounds on smart scheduling. In Proc. ACM SIGMETRICS '05, pages 205--216, 2005.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

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
  • 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
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
Published in SIGMETRICS Volume 35, Issue 1

Check for updates

Author Tags

  1. FCFS
  2. LAS
  3. PBS
  4. linux
  5. queueing systems
  6. scheduling

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)12
  • Downloads (Last 6 weeks)2
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media