skip to main content
research-article

Preemptive scheduling under time and resource constraints

Published: 01 August 1987 Publication History

Abstract

We consider the problem of scheduling a set of n preemptable tasks in a system having r resources. Each task has an arbitrary, but known, worst case processing time and a deadline, and may request simultaneous use of a number of resources. A resource can be used either in shared mode or exclusive mode. In this paper, we develop and evaluate algorithms for determining whether or not a set of preemptive tasks is schedulable in such a real-time system, and if so, determining a schedule for it. This scheduling problem is known to be computationally intensive. In many real-time application environments, tasks are scheduled dynamically, and hence the scheduling algorithms used must have low run-time costs. To keep run-time costs low, we propose the use of suboptimal but practical algorithms that employ computationally simple heuristics. The computational complexity of our algorithms for scheduling n tasks in a system having r resources is O(rn2), which is very much lower than that of known optimal algorithms. We report on the results of simulation studies performed on such heuristic preemptive scheduling algorithms and the sensitivity of the performance of the algorithms with respect to various scheduling parameters. These studies show that due to the complexity of the problem, straightforward heuristics do not perform satisfactorily. However, an algorithm that uses combinations of such heuristics in conjunction with limited backtracks works very well.

References

[1]
J. Blazewicz and J. Weglarz, "Scheduling under resource constraints-- Achievements and prospects," in Performance of Computer Systems, M. Arato, A. Butrimento, and E. Gelenbe, Eds. New York: North-Holland, 1979.
[2]
J. Blazewicz, "Deadline scheduling of tasks with ready times and resource constraints," Inform. Proc. Lett., vol. 8, Feb. 1979.
[3]
J. Blazewicz, J. K. Lenstra, and A. H. G. R. Kan, "Scheduling subject to resource constraints: Classification and complexity," Discrete Appl. Math., vol. 5, 1983.
[4]
J. Blazewicz, M. Drabowski, and J. Weglarz, "Scheduling multiprocessor tasks to minimize schedule length," IEEE Trans. Comput., May 1986.
[5]
M. Bonuccelli and D. P. Bovet, "Scheduling unit time independent tasks on dedicated resource systems," Rep. S-6-21, Univ. degli studi di Pisa, Instituo Scienze dell Informazione, 1976.
[6]
M. R. Garey and D. S. Johnson, "Complexity results for multiprocessor scheduling under resource constraints," SIAM J. Comput., vol. 4, 1975.
[7]
R. L. Graham, E. L. Lawler, J. K. Lenstra, and A. H. G. R. Kan, "Optimization and approximation in deterministic sequencing and scheduling: A survey," Ann. Discrete Math., vol. 5, 1979.
[8]
D. W. Leinbaugh, "Guaranteed response time in a hard real-time environment," IEEE Trans. Software Eng., vol. SE-6, Jan. 1980.
[9]
J. K. Lenstra, A. H. G. Rinnooy, and P. Brucker, "Complexity of machine scheduling problems," Ann. Discrete Math., vol. 1, 1977.
[10]
A. K. Mok and M. L. Dertouzos, "Multiprocessor scheduling in a hard real-time environment," in Proc. Seventh Texas Conf. Comput. Syst., Nov. 1978.
[11]
K. Ramamritham and J. A. Stankovic, "Dynamic task scheduling in distributed hard real-time systems," IEEE Software, vol. 1, July 1984.
[12]
K. Ramamritham, J. A. Stankovic, and W. Zhao, "Meta-level control in distributed real-time systems," in Proc. Int. Conf. Distributed Comput. Syst., 1987.
[13]
L. Schrage, "Solving resource-constrained network problems by implicit enumeration--Preemptive case," Oper. Res., vol. 20, no. 3, 1972.
[14]
J. A. Stankovic, K. Ramamritham, and S. Cheng, "Evaluation of a flexible task scheduling algorithm for distributed hard real-time systems," IEEE Trans. Comput., vol. C-34, Dec. 1985.
[15]
J. D. Ullman, "Complexity of sequence problems," in Computer and Job/Shop Scheduling Theory, E. G. Coffman, Ed. New York: Wiley, 1976, ch. 4.
[16]
W. Zhao, K. Ramamritham, and J. A. Stankovic, "Scheduling tasks with resource requirements in hard real-time systems," IEEE Trans. Software Eng., vol. SE-13, pp. 564-577, May 1987.
[17]
W. Zhao, "A heuristic approach to scheduling hard real-time tasks with resource requirements in distributed systems," Ph.D. dissertation, Univ. Massachusetts, Amherst, Feb. 1986.
[18]
W. Zhao and K. Ramamritham, "Simple and integrated heuristic algorithms for scheduling tasks with time and resource constraints," J. Syst. Software, to be published.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image IEEE Transactions on Computers
IEEE Transactions on Computers  Volume 36, Issue 8
Special Issue on Real-Time Systems
Aug. 1987
106 pages

Publisher

IEEE Computer Society

United States

Publication History

Published: 01 August 1987

Author Tags

  1. Deadlines
  2. heuristics
  3. real-time systems
  4. resource constraints
  5. scheduling
  6. simulation studies

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 27 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media