Real Time Systems: Notes

Introduction to Static Scheduling

 

This material corresponds to the first few sections in Chapter 5 of Jane Liu's book.

Warning: Chapter 4 presents scheduling concepts initially in terms of scheduling a single batch of jobs, rather than the periodic or other recurring arrival patterns that are typical of real-time systems. That is, the text glosses over the distinction between a situation with a fixed finite set of jobs and situations where there is an unbounded stream of jobs. The algorithms generaly can be applied in both kinds of context, but the schedulability analysis may be different.

Clock-driven scheduling overview

Variations

Example: static schedules for two periodic tasks

Fitting in aperiodics

Jobs are queued and executed

Pro's of static scheduling

  • there is minimal runtime overhead
  • behavior is completely predictable
  • some variation can be accomodated using multiple tables
    which apply to different operational modes of the system
  • it can be applied to handle multiple resource constraints (not just CPU time)
  • can eliminate mutual exclusion problems (if non-preemptive)
  • it can be applied to complex variations of the periodic model, including complex jobs with precedence constraints
  • it can be optimized off-line, when execution time is not at a premium
  • Con's of static scheduling

    T. P. Baker ($Id$)