Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/777412.777430acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
Article

A proportionate fair scheduling rule with good worst-case performance

Published: 07 June 2003 Publication History

Abstract

In this paper we consider the following scenario. A set of n jobs with different threads is being run concurrently. Each job has an associated weight, which gives the proportion of processor time that it should be allocated. In a single time quantum, p threads of (not necessarily distinct) jobs receive one unit of service, and we require a rule that selects those p threads, at each quantum. Proportionate fairness means that over time, each job will have received an amount of service that is proportional to its weight. That aim cannot be achieved exactly due to the discretisation of service provision, but we can still hope to bound the extent to which service allocation deviates from its target. It is important that any scheduling rule be simple since the rule will be used frequently.We consider a variant of the Surplus Fair Scheduling (SFS) algorithm of Chandra, Adler, Goyal, and Shenoy. Our variant, which is appropriate for scenarios where jobs consist of multiple threads, retains the properties that make SFS empirically attractive but allows the first proof of proportionate fairness in a multiprocessor context. We show that when the variant is run, no job lags more than p H(n)-p+1 steps below its target number of services, where H(n) is the Harmonic function. Also, no job is over-supplied by more than O(1) extra services. This analysis is tight and it also extends to an adversarial setting, which models some situations in which the relative weights of jobs change over time.

References

[1]
J. Anderson and A. Srinivasan. A new look at pfair priorities. Technical Report TR00-023, Dept of Computer Science, Univ. of North Carolina, 2000.
[2]
J. Anderson and A. Srinivasan. Early-release fair scheduling. In Proceedings of the 12th Euromicro Conference on Real-Time Systems, Stockholm, Sweden, pages 35--43, 2000.
[3]
S. K. Baruah, N. K. Cohen, C. G. Plaxton, and D. A. Varvel. Proportionate progress: A notion of fairness in resource allocation. Algorithmica, 15:600--625, 1996.
[4]
S. Baruah, J. Gehrke, and C. G. Plaxton. Fast scheduling of periodic tasks on multiple resources. In Proceedings of the Ninth International Parallel Processing Symposium, Santa Barbara, CA, pages 280--288, 1996.
[5]
A. Chandra, M. Adler, P. Goyal, and P. Shenoy. Surplus fair scheduling: A proportional-share cpu scheduling algorithm for symmetric multiprocessors. In Proceedings of the Fourth Symposium on Operating System Design and Implementation (OSDI 2000), San Diego, CA, pages 45--58, 2000.
[6]
A. Chandra, M. Adler, and P. Shenoy. Deadline fair scheduling: Bridging the theory and practice of proportionate-fair scheduling in multiprocessor servers. In Proceedings of the Seventh IEEE Real-time Technology and Applications Symposium (RTAS 2001), Taipei, Taiwan, pages 3--14, 2001.
[7]
K. Duda and D. Cheriton. Borrowed virtual time (bvt) scheduling: Supporting latency-sensitive threads in a general-purpose scheduler. In Proceedings of the 17th ACM Symposium on Operating Systems Principles (SOSP'99), Kiawah Island Resort, SC, pages 261--276, 1999.
[8]
S.J. Golestani. A self-clocked fair queueing scheme for broadband applications. In Proceedings of IEEE INFOCOM 1994, Toronto, Canada, pages 636--646, 1994.
[9]
P. Goyal, X. Guo, and H.M. Vin. A hierarchical cpu scheduler for multimedia operating systems. In Proceedings of the Second Symposium on Operating System Design and Implementation (OSDI'96), Seattle, WA, pages 107--121, 1996.
[10]
M. Moir and S Ramamurthy. Pfair scheduling of fixed and migrating periodic tasks on multiple resources. In Proceedings of the 20th Annual IEEE Real-Time Systems Symposium, Phoenix, AZ, pages 294--303, 1999.
[11]
J. Nieh and M S. Lam. The design, implementation and evaluation of smart: A scheduler for multimedia applications. In Proceedings of the 16th ACM Symposium on Operating Systems Principles (SOSP'97), Saint-Malo, France, pages 184--197, 1997.
[12]
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.
[13]
C. A. Waldspurger and W. E. Weihl Stride scheduling: Deterministic proportional-share resource management. Technical report MIT/LCS/TM-528, 1995.

Cited By

View all

Index Terms

  1. A proportionate fair scheduling rule with good worst-case performance

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SPAA '03: Proceedings of the fifteenth annual ACM symposium on Parallel algorithms and architectures
    June 2003
    374 pages
    ISBN:1581136617
    DOI:10.1145/777412
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 07 June 2003

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Article

    Conference

    SPAA03

    Acceptance Rates

    SPAA '03 Paper Acceptance Rate 38 of 106 submissions, 36%;
    Overall Acceptance Rate 447 of 1,461 submissions, 31%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)10
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 03 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Fractional Bamboo Trimming and Distributed Windows SchedulingSOFSEM 2024: Theory and Practice of Computer Science10.1007/978-3-031-52113-3_5(69-81)Online publication date: 7-Feb-2024
    • (2022)Bamboo Trimming RevisitedProceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3490148.3538580(411-417)Online publication date: 11-Jul-2022
    • (2022)Cutting bamboo down to sizeTheoretical Computer Science10.1016/j.tcs.2022.01.027909:C(54-67)Online publication date: 28-Mar-2022
    • (2021)Randomized cup game algorithms against strong adversariesProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458187(2059-2077)Online publication date: 10-Jan-2021
    • (2021)How asymmetry helps buffer management: achieving optimal tail size in cup gamesProceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing10.1145/3406325.3451033(1248-1261)Online publication date: 15-Jun-2021
    • (2020)The safe and effective application of probabilistic techniques in safety-critical systemsProceedings of the 39th International Conference on Computer-Aided Design10.1145/3400302.3415674(1-9)Online publication date: 2-Nov-2020
    • (2019)Achieving optimal backlog in multi-processor cup gamesProceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing10.1145/3313276.3316342(1148-1157)Online publication date: 23-Jun-2019
    • (2011)On Centralized Smooth SchedulingAlgorithmica10.5555/3118782.311921760:2(464-480)Online publication date: 1-Jun-2011
    • (2009)On Centralized Smooth SchedulingAlgorithmica10.1007/s00453-009-9360-x60:2(464-480)Online publication date: 11-Sep-2009
    • (2009)Smooth Scheduling under Variable Rates or the Analog-Digital Confinement GameTheory of Computing Systems10.1007/s00224-008-9134-x45:2(325-354)Online publication date: 10-Jun-2009
    • Show More Cited By

    View Options

    Get Access

    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