↑ Real Time Systems: Notes

Introduction to Periodic Tasks

 

This material is mostly covered in Chapter 3 of Jane Liu's text.

Jobs

Job Release Times, Deadlines, Timing Constraints

job diagram

Execution Time of Job, and WCET


See notes on measuring absolute event times and durations.

Tasks

Periodic Task

models workload typically associated with feedback-loop controller

  1. input sensor values
  2. compute new actuator values
  3. output new actuator values
  4. wait until next period
  5. go back to (1) and repeat
periodic task diagram

Periodic task abstraction

Each periodic task is characterized abstractly by three constants:

utilization of task τi, ui = ei / pi

density of task τi, ui = ei / min(pi,di

Periodic task sets

Some generalizations of the periodic model

Phasing:

Release-time jitter:


Completion-time jitter is also of interest, but is determined by the scheduler as well as the workload.

Short deadlines can be used to control completion time jitter.

Delayed release times and short deadlines can also be used to force ordering of jobs, to implement precedence constraints.

Liu's Periodic Tasks (called sporadic tasks by most authors)

Liu's Aperiodic and "Sporadic" Tasks


Liu diverges from most other authors here. The usual convention, which I will follow in this course, is:

Preemptivity

Laxity Type

Schedule


Mapping only covers processors explicitly. Other resources are handled implicitly, by last rule: processor can/should not be assigned unless all other needed resources are also assigned.

Characteristics of Schedules

Scheduling Algorithm

Examples of Scheduling Algorithms

© 2006 T. P. Baker.
$Id: ch3.html,v 1.1 2008/08/25 11:18:48 baker Exp baker $