Title :
Scheduling tasks with mixed preemption relations for robustness to timing faults
Author_Institution :
Sch. of Comput., Utah Univ., Salt Lake City, UT, USA
Abstract :
This paper introduces and shows how to schedule two novel scheduling abstractions that overcome limitations of existing work on preemption threshold scheduling. The abstractions are task clusters, groups of tasks that are mutually non-preemptible by design, and task barriers, which partition the task set into subsets that must be mapped to different threads. Barriers prevent the preemption threshold logic that runs multiple design-time tasks in the same runtime thread from violating architectural constraints, e.g. by merging an interrupt handler and a user-level thread. We show that the preemption threshold logic for mapping tasks to as few threads as possible can rule out the schedules with the highest critical scaling factors - these schedules are the least likely to miss deadlines under timing faults. We have developed a framework for robust CPU scheduling and three novel algorithms: an optimal algorithm for maximizing the critical scaling factor of a task set under restricted conditions, a more generally applicable heuristic that finds schedules with approximately maximal critical scaling factors, and a heuristic search that jointly maximizes the critical scaling factor of computed schedules and minimizes the number of threads required to run a task set. We demonstrate that our techniques for robust scheduling are applicable in a wide variety of situations where static priority scheduling is used.
Keywords :
processor scheduling; real-time systems; software fault tolerance; timing; critical scaling factor; heuristic search; interrupt handler; mixed preemption relations; optimal algorithm; preemption threshold scheduling; robust CPU scheduling; scheduling abstractions; static priority scheduling; task barriers; task clusters; task groups; task partitioning; timing fault robustness; user-level thread; Context modeling; Logic design; Merging; Processor scheduling; Real time systems; Robustness; Scheduling algorithm; System software; Timing; Yarn;
Conference_Titel :
Real-Time Systems Symposium, 2002. RTSS 2002. 23rd IEEE
Print_ISBN :
0-7695-1851-6
DOI :
10.1109/REAL.2002.1181585