Skip to main content
Log in

Smooth Scheduling under Variable Rates or the Analog-Digital Confinement Game

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

This work considers non-terminating scheduling problems in which a system of multiple resources serves clients having variable needs. The system has m identical resources and n clients; in each time slot each resource may serve at most one client; in each such slot t each client γ has a rate, a real number ρ γ (t), that specifies his needs in this slot. The rates satisfy the restriction ∑ γ ρ γ (t)≤m for any slot t. Except of this restriction, the rates can vary in arbitrary fashion. (This contrasts most prior works in this area in which the rates of the clients are constant.) The schedule is required to be smooth as follows: a schedule is Δ -smooth if for all time intervals I the absolute difference between the amount of service received by each client γ to his nominal needs of ∑ tI ρ γ (t) is less than Δ. Our objective are online schedulers that produce Δ-smooth schedules where Δ is a small constant which is independent of m and n. Our paper constructs such schedulers; these are the first online Δ-smooth schedulers, with a constant Δ, for clients with arbitrarily variable rates in a single or multiple resource system. Furthermore, the paper also considers a non-concurrent environment in which there is an additional restriction that each client is served at most once in each time slot; it presents the first online smooth schedulers for variable rates under this restriction.

The above non-concurrent restriction is crucial in some applications (e.g., CPU scheduling). It has been pointed out that this restriction “adds a surprising amount of difficulty” to the scheduling problem. However, this observation was never formalized and, of course, was never proved. Our paper formalizes and proves some aspects of this observation.

Another contribution of this paper is the introduction of a complete information, two player game called the analog-digital confinement game. In such a game pebbles are located on the real line; the two players, the analog player and the digital player, take alternating turns and each one, in his turn, moves some of the pebbles; the digital player moves the pebbles backwards by discrete distances while the analog player moves the pebbles forward by analog distances; the aim of the analog player is to cause one pebble (or more) to escape a pre-defined real interval while the aim of the digital player is to confine the pebbles into the interval. We demonstrate that this game is a convenient framework to study the general question of how to approximate an analog process by a digital one. All the above scheduling results are established via this game. In this derivation, the pebbles represent the clients, the analog player generates the needs of the clients and the digital player generates the schedule.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

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. Andrews, M., Fernandez, A., Harchol-Balter, M., Leighton, F.T., Zhang, L.: General dynamic routing with per-packet delay guarantees of O(distance +1/session rate). SIAM J. Comput. 30(5), 1594–1623 (2000) (Extended abstract was presented at the 38th Annual Symposium on Foundations of Computer Science (FOCS) 1997)

    Article  MATH  MathSciNet  Google Scholar 

  3. Bar-Noy, A., Nisgav, A., Patt-Shamir, B.: Nearly optimal perfectly-periodic schedules. In: the 20th ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, pp. 107–116 (2001)

  4. 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)

    Article  MATH  MathSciNet  Google Scholar 

  5. 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, New York (1995)

    Chapter  Google Scholar 

  6. Baruah, S.K., Gehrke, J., Plaxton, G., Stoica, I., Abdel-Wahab, H., Jeffay, K.: Fair on-line scheduling of a dynamic set of tasks on a single resource. Inf. Process. Lett. 64(1), 43–51 (1997)

    Article  Google Scholar 

  7. 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: www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-info.cgi?2005/CS/CS-2005-04

  8. 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: www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-info.cgi?2005/CS/CS-2005-03)

    Chapter  Google Scholar 

  9. Litman, A., Moran-Schein, S.: On smooth sets of integers. Discrete Math. (2008, in press)

  10. 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)

  11. 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)

  12. Moran, G.: Size direction games over the real line ii. Israel J. Math. 14, 418–441 (1973)

    Article  MATH  MathSciNet  Google Scholar 

  13. Tijdeman, R.: The chairman assignment problem. Discrete Math. 32, 323–330 (1980)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shiri Moran-Schein.

Additional information

Dedicated to the memory of Professor Shimon Even for his inspiration and encouragement

Rights and permissions

Reprints and permissions

About this article

Cite this article

Litman, A., Moran-Schein, S. Smooth Scheduling under Variable Rates or the Analog-Digital Confinement Game. Theory Comput Syst 45, 325–354 (2009). https://doi.org/10.1007/s00224-008-9134-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-008-9134-x

Keywords

Navigation