Basic Concepts
Basic Concepts
Lec. 2:
Basic Concepts
Real-Time Computing
S. Safari
Spring 2024
Introduction
§ Arrival time ai: The time at which a task becomes ready for
execution; it is also referred as request time or release time
and indicated by ri.
§ Computation time Ci: The time necessary to the processor
for executing the task without interruption.
§ Absolute Deadline di: The time before which a task should
be completed to avoid damage to the system.
§ Relative Deadline Di: The difference between the absolute
deadline and the request time: Di = di − ri.
§ Start time si: The time at which a task starts its execution.
§ Finishing time fi: The time at which a task finishes its
execution.
§ Response time Ri: The difference between the finishing time
and the request time: Ri =fi−ri.
§ Criticality is a parameter related to the consequences of
missing the deadline (typically, it can be hard, firm, or soft).
§ Value vi represents the relative importance of the task with
respect to the other tasks in the system.
§ A periodic task τi; an aperiodic job Ji; the generic kth job of a periodic task τi,k.
§ The activation time of the first periodic instance (τi,1) is called phase.
• The activation time of the kth instance is given by φi+(k−1)Ti.
• Note: Ti is the activation period of the task. A periodic process can be completely
characterized by its phase φi, its computation time Ci, its period Ti, and its relative
deadline Di.
§ The schedule minimizes the maximum lateness, but all tasks miss
their deadline. The schedule shown in Figure b has a greater
maximum lateness, but four tasks out of five complete before their
deadline.
§ Let us consider a task set consisting of nine jobs J = {J1, J2, ... , J9},
sorted by decreasing priorities, so that Ji priority is greater than Jj
priority if and only if i < j.