Static
Static
Rajiv Bikram
Apr 15, 2022
1919 views
Download PDF
When the parameter of job with hard deadline are known before the system begins
the execution then the static schedules of jobs can be developed at offline and
processor time allocated to a jobs is equal to its maximum execution time.
The scheduler dispatches the jobs according to the static schedule and repeats the
jobs in each hyper periods. The static schedule guarantees that each job completes
by its deadline and no job overrun can occur.
Example:
Four independent periodic tasks: T1 = (4, 1), T2 = (5, 1.8), T3 = (20, 1), T4 = (20, 2)
Utilization = 1/4 + 1.8/5 + 1/20 + 2/20 = 0.76
Table driven schedulers usually pre-compute which task would run when and store
this schedule in a table at the time the system is designed. Rather than automatic
computation of schedule by the scheduler, the application programmer can be given
the freedom to select his own schedule for the set of tasks in the application and
store the schedule in a table (called schedule table) to be used by the scheduler at
the run time.
2. Cyclic Schedule:
Cyclic schedules are very popular and extensively used in industry. Cyclic schedules
are simple, efficient and are easy to program. An example application where cyclic
schedule is used, is a temperature controller. A temperature controller periodically
samples the temperature of a room and maintains it at a preset value. Such
temperature controllers are embedded in typical computer- controlled air
conditioners.
Tasks Frame Number
T3 F1
T1 F2
T3 F3
T4 F2
Fig. Example schedule table for cyclic scheduler