Scheduling tasks with mixed preemption relations for robustness to timing faults
Author:
- J. RegehrJRJ. Regehr
- 26 June 2003
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 315-326
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 staticpriority scheduling is used.Keywords
This publication has 20 references indexed in Scilit:
- Handling execution overruns in hard real-time control systemsIEEE Transactions on Computers, 2002
- The click modular routerACM Transactions on Computer Systems, 2000
- Static Analyses for Eliminating Unnecessary Synchronization from Java Programs1999
- Mechanisms for detecting and handling timing errorsCommunications of the ACM, 1997
- A dynamic priority assignment technique for streams with (m, k)-firm deadlinesIEEE Transactions on Computers, 1995
- Fixed-priority sensitivity analysis for linear compute time modelsIEEE Transactions on Software Engineering, 1994
- An extendible approach for analyzing fixed priority hard real-time tasksReal-Time Systems, 1994
- Engineering and analysis of fixed priority schedulersIEEE Transactions on Software Engineering, 1993
- Applying new scheduling theory to static priority pre-emptive schedulingSoftware Engineering Journal, 1993
- Priority inheritance protocols: an approach to real-time synchronizationIEEE Transactions on Computers, 1990