Skip to main content
Log in

Nonpreemptive scheduling of periodic tasks in uni- and multiprocessor systems

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In this paper we study the problem of scheduling a set of periodic tasks nonpreemptively in hard-real-time systems, where it is critical for all requests of the tasks to be processed in time. A taskT is characterized by itsarrival time A, itsperiod P, and itsexecution time C. Starting fromA, a new request ofT arrives in everyP units of time, requestingC units of processing time, and itsdeadline coincides with the arrival of the next request ofT. All requests must be processed nonpreemptively to meet their corresponding deadlines. We show that the problem of testing the feasibility of a given task set {T 1,T 2,⋯,T n} satisfyingP 1+1=ki pi, wherek i; is an integer ≥ 1 for 1≤i ≤ n−1, on a single processor is NP-hard in the strong sense, even if all tasks have the same arrival time. For task sets satisfyingP i+1=K Pi, whereK is an integer ≥ 2 for 1≤ i ≤ n−1 and all tasks have the same arrival time, we present linear-time (in the number of requests) optimal scheduling algorithms as well as linear-time (in the number of tasks, i.e.,n) algorithms for testing feasibility in both uniprocessor and multiprocessor systems. We also extend our results to more general task sets.

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. A. A. Bertossi and M. A. Bonuccelli, Preemptive scheduling of periodic jobs in uniform multiprocessor systems,Inform. Process. Lett.,16 (1983), 3–6.

    Article  Google Scholar 

  2. J. -Y. Chung, J. W. S. Liu, and K. -J. Lin, Scheduling periodic jobs that allow imprecise results,IEEE Trans. Comput.,39 (1990), 1156–1174.

    Article  Google Scholar 

  3. J. S. Deogun and M. C. Kong, On periodic scheduling of time-critical tasks,Proc. IFIP 10th World Computer Congress, 1986, pp. 791–796.

  4. S. K. Dhall and C. L. Liu, On a real-time scheduling problem,Oper. Res.,26 (1978), 127–140.

    Google Scholar 

  5. M. R. Garey and D. S. Johnson,Computers and Intractability: a Guide to the Theory of NP-Completeness, Freeman, San Francisco, CA, 1979.

    Google Scholar 

  6. M. J. Gonzalez, Jr., and J. W. Soh, Periodic job scheduling in a distributed processor system,IEEE Trans. Aerospace Electron. System,12 (1976), 530–535.

    Google Scholar 

  7. K. Jeffay and R. Anderson, On optimal, non-preemptive scheduling of periodic and sporadic tasks,Proc. Real-Time Systems Symposium, 1991, pp. 129–139.

  8. M. C. Kong, On periodic real-time scheduling algorithms, Ph.D. Dissertation, Department of Computer Science, University of Nebraska-Lincoln, Lincoln, NE, 1986.

    Google Scholar 

  9. M. C. Kong and J. S. Deogun, On non-preemptive periodic scheduling,Proc. 19th Hawaii International Conference on System Science, 1986.

  10. E. L. Lawler and C. U. Martel, Scheduling periodically occurring tasks on multiple processors,Inform. Process. Lett.,12 (1981), 9–12.

    Article  Google Scholar 

  11. J. Y. -T. Leung and M. L. Merrill, A note on preemptive scheduling of periodic, real-time tasks,Inform. Process. Lett.,11 (1980), 115–118.

    Article  Google Scholar 

  12. J. Y. -T. Leung and J. Whitehead, On the complexity of fixed priority scheduling of periodic, real-time tasks,Performance Evaluation,2 (1982), 237–250.

    Article  Google Scholar 

  13. C. L. Liu and J. W. Layland, Scheduling algorithms for multiprogramming in a hard-real-time environment,J. Assoc. Comput. Mach.,20 (1973), 46–61.

    Google Scholar 

  14. W. Zhao, K. Ramamritham, and J. A. Stankovic, Scheduling tasks with resource requirements in hard real-time systems,IEEE Trans. Software Engrg.,13, 1987.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by J.-D. Boissonnat.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Cai, Y., Kong, M.C. Nonpreemptive scheduling of periodic tasks in uni- and multiprocessor systems. Algorithmica 15, 572–599 (1996). https://doi.org/10.1007/BF01940882

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01940882

Key words

Navigation