Title :
RTOS Support for Mixed Time-triggered and Event-triggered Task Sets
Author :
van den Heuvel, Martijn M. H. P. ; Bril, Reinder J. ; Lukkien, Johan J. ; Isovic, Damir ; Ramachandran, Gowri
Author_Institution :
Tech. Univ. Eindhoven, Eindhoven, Netherlands
Abstract :
Many embedded systems have complex timing constraints and, at the same time, have flexibility requirements which prohibit offline planning of the entire system. To support a mixture of time-triggered and event-triggered tasks, some industrial systems deploy an RTOS with a table-driven dispatcher complemented with a preemptive scheduler to allocate the free time slots to event-driven tasks. Rather than allocating dedicated time-slots to time-triggered tasks, in this work we provide RTOS support to dynamically re-allocate time-slots of time-triggered tasks within pre-computed time ranges to maximize the availability of the processing capacity for event-triggered tasks. Although the concept - called slot shifting - is not new, we are the first to extend a commercial RTOS with such support. In addition, we extend slot shifting with a run-time mechanism to reclaim resources of time-triggered tasks when their reserved capacities are unused. This mechanism eliminates over-provisioning of capacities to tasks that have been converted into periodic tasks to resolve interdependencies during off-line synthesis, but by nature are event-triggered. This allows, for example, for a resource-efficient implementation of a polling task. After implementing our unique RTOS extensions, we investigate the run-time overheads for the corresponding scheduling mechanisms. Measurements show that the increase in terms of absolute run-time overhead is minor compared to an off-the-shelf micro-kernel with a fixed-priority scheduler.
Keywords :
embedded systems; operating system kernels; resource allocation; scheduling; timing; RTOS extensions; RTOS support; absolute run-time overhead; complex timing constraints; embedded systems; event-driven tasks; fixed-priority scheduler; flexibility requirements; industrial systems; mixed time-triggered event-triggered task sets; off-the-shelf microkernel; polling task; preemptive scheduler; real-time operating systems; reserved capacities; resource-efficient implementation; run-time mechanism; scheduling mechanisms; slotshifting; table-driven dispatcher; Complexity theory; Dynamic scheduling; Monitoring; Program processors; Resource management; Schedules; Timing; admission control; event-triggered tasks; operating systems; real-time scheduling; time-triggered tasks;
Conference_Titel :
Computational Science and Engineering (CSE), 2012 IEEE 15th International Conference on
Conference_Location :
Nicosia
Print_ISBN :
978-1-4673-5165-2
Electronic_ISBN :
978-0-7695-4914-9
DOI :
10.1109/ICCSE.2012.85