Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

On Centralized Smooth Scheduling

Published: 01 June 2011 Publication History

Abstract

This paper studies evenly distributed sets of natural numbers and their applications to scheduling in a centralized environment. Such sets, called smooth sets, have the property that their quantity within each interval is proportional to the size of the interval, up to a bounded additive deviation; namely, for ź,Δźź a set A of natural numbers is (ź,Δ)-smooth if abs(|I|źźź|IźA|)<Δ for any interval Iźź.
The paper studies scheduling persistent clients on a single slot-oriented resource in a flexible and predictable manner. Each client ź has a given rateźź that defines the share of the resource he is entitled to receive and the goal is a smooth schedule in which, for some predefined Δ, each client ź is served in a (źź,Δ)-smooth set of slots (natural numbers).
The paper considers a centralized environment where a single algorithm computes the user of the current slot. It constructs a smooth schedule with a very efficient algorithm that computes the user of each slot in O(logźlogźq) time and O(n) space, where n is the number of clients and qźmaxź{źź/źźź | ź,źźźΓ}; in many practical applications this O(logźlogźq) value is actually a small constant.
Our scheduling technique is based on a reduction from allocation of slots to allocation of sub-intervals of the unit interval. This technique naturally extends to the problem of scheduling multiple resources, even under the restriction that a client can be served concurrently by at most one resource. This paper constructs such a schedule in which the users of each slot are computed very fast--in O(mlogźlogźq) time per slot and O(n) space where m is the number of resources; this result is a significant improvement on the prior fastest algorithm that produces such a schedule (actually of a special type--a P-fair schedule) in O(mlogźn) time per slot and O(n) space.
Moreover, the paper introduces a novel approach to multi-resource scheduling in which each resource independently computes, slot after slot, what client to serve in this slot. Under this approach the paper constructs a smooth schedule which is computed in O(n) space and O(logźlogźq) time per slot.

References

[1]
Adler, M., Berenbrink, P., Friedetzky, T., Goldberg, L.A., Goldberg, P., Paterson, M.: A proportionate fair scheduling rule with good worst-case performance. In: Proceedings of the Thirteenth Annual ACM Symposium on Parallel Algorithms and Architecture, pp. 101---108 (2003)
[2]
Anderson, J., Srinivasan, A.: Early-release fair scheduling. In: Proc. of the 12th Euromicro Conference on Real-Time Systems, pp. 35---43 (2000)
[3]
Anderson, J., Srinivasan, A.: Pfair scheduling: Beyond periodic task systems. In: Proc. of the 7th International Conference on Real-Time Computing Systems and Applications, pp. 297---306 (2000)
[4]
Anderson, J.H., Srinivasan, A.: Mixed Pfair/ERfair scheduling of asynchronous periodic tasks. Comput. Syst. Sci. 68, 157---204 (2004)
[5]
Andersson, B., Baruah, S.K., Jonsson, J.: Static-priority scheduling on multiprocessors. Technical Report TR01-016, Department of Computer Science, University of North Carolina, Chapel Hill (2001)
[6]
Bar-Noy, A., Mayer, A., Schieber, B., Sudan, M.: Guaranteeing fair service to persistent dependent tasks. SIAM J. Comput. 27(4), 1168---1189 (1998)
[7]
Baruah, S.K., Cohen, N.K., Plaxton, C.G., Varvel, D.A.: Proportionate progress: a notion of fairness in resource allocation. Algoritmica 15(6), 600---625 (1996). Extended abstract was presented at The 25th Annual ACM Symposium on the Theory of Computing. May 1993
[8]
Baruah, S.K., Gehrke, J., Plaxton, G.: Fast scheduling of periodic tasks on multiple resources. In: Proceedings of the 9th International Parallel Processing Symposium, pp. 280---288. IEEE Computer Society, Los Alamitos (1995)
[9]
Chandra, A., Adler, M., Goyal, P., Shenoy, P.: Surplus fair scheduling: A Proportional-Share CPU scheduling algorithm for symmetric multiprocessors. In: Proceedings of the USENIX 4th Symposium on Operating System Design and Implementation, pp. 45---58 (2000)
[10]
Chandra, A., Adler, M., Shenoy, P.: Deadline fair scheduling: Bridging the theory and practice of proportionate-fair scheduling in multiprocessor servers. In: Proceedings of the 7th IEEE Real-Time Technology and Applications Symposium, pp. 3---14 (2001)
[11]
Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to algorithms, 2nd edn. MIT Press/McGraw---Hill, Cambridge/New York (2001)
[12]
Holman, P., Anderson, J.: Guaranteeing pfair supertasks by reweighting. In: Proceedings of the 22nd IEEE Real-time Systems Symposium, pp. 203---212 (2001)
[13]
Lincoln, A.J., Even, S., Cohn, M.: Pulse sequences. In: Proceedings of the Third Annual Princeton Conference on Information Sciences and Systems, pp. 350---354 (1969)
[14]
Litman, A., Moran-Schein, S.: On centralized smooth scheduling. Technical Report CS-2005-04, Department of Computer Science, Technion--Israel Institute of Technology, 2005. Available at: http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-info.cgi?2005/CS/CS-2005-04
[15]
Litman, A., Moran-Schein, S.: On distributed smooth scheduling. In: Proceedings of the seventeenth annual ACM symposium on Parallel algorithms and architectures, pp. 76---85. ACM, New York (2005). The full version of this extended abstract is available at: http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-info.cgi?2005/CS/CS-2005-03
[16]
Litman, A., Moran-Schein, S.: On smooth sets of integers. Discrete Math. 309, 797---813 (2008)
[17]
Litman, A., Moran-Schein, S.: Smooth scheduling under variable rates or the analog-digital confinement game. J. Theory Comput. Syst. 45, 325---354 (2009). Special issues of SPAA 2006
[18]
Liu, C.L.: Scheduling algorithms for multiprocessors in hard-real-time environment. JPL space program summary 37---60, vol. II, Propulsion Lab., Calif. Inst. of Tech., Pasadena, CA, pp. 28---37 (1969)
[19]
Moir, M., Ramamurthy, S.: Pfair scheduling of fixed and migrating periodic tasks on multiple resources. In: The 20th IEEE Real-Time Systems Symposium, pp. 294---303 (1999)
[20]
Tijdeman, R.: The chairman assignment problem. Discrete Math. 32, 323---330 (1980)
[21]
Van der Corput, J.G.: Verteilungsfunktionen ii. Proc. Ned. Akad. v. Wet. 38, 1058---1066 (1935)

Cited By

View all
  • (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
  • (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
  • (2016)The Family Holiday Gathering Problem or Fair and Periodic Scheduling of Independent SetsProceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/2935764.2935788(367-375)Online publication date: 11-Jul-2016

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Algorithmica
Algorithmica  Volume 60, Issue 2
June 2011
306 pages

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 June 2011

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (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
  • (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
  • (2016)The Family Holiday Gathering Problem or Fair and Periodic Scheduling of Independent SetsProceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/2935764.2935788(367-375)Online publication date: 11-Jul-2016

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media