Sleepy Sloth: Threads as Interrupts as Threads

Hofer W, Lohmann D, Schröder-Preikschat W (2011)


Publication Type: Conference contribution

Publication year: 2011

Publisher: IEEE Computer Society

Edited Volumes: Proceedings - Real-Time Systems Symposium

City/Town: Los Alamitos, CA, USA

Pages Range: 67-77

Conference Proceedings Title: Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS 2011)

Event location: Vienna, Austria AT

ISBN: 978-0-7695-4591-2

URI: http://www4.cs.fau.de/Publications/2011/hofer_11_rtss.pdf

DOI: 10.1109/RTSS.2011.14

Abstract

Event latency is considered to be one of the most important properties when selecting an event-driven real-time operating system. This is why in previous work on the SLOTH kernel, we suggested treating threads as ISRs-executing all application code in an interrupt context-and thereby reducing event latencies by scheduling and dispatching solely in hardware. However, to achieve these benefits, SLOTH does not support blocking threads or ISRs, but requires all control flows to have run-to-completion semantics. In this paper, we present SLEEPY SLOTH, an extension of SLOTH that provides a new generalized thread abstraction that overcomes this limitation, while still letting the hardware do all scheduling and dispatching. SLEEPY SLOTH abolishes the (artificial) distinction between threads and ISRs: Threads can be dispatched as efficiently as interrupt handlers and interrupt handlers can be scheduled as flexibly as threads. Our SLEEPY SLOTH implementation of the automotive OSEK OS standard provides much more flexibility to application developers while maintaining efficient execution of application control flows. SLEEPY SLOTH runs on commodity off-the-shelf hardware and outperforms a leading commercial OSEK implementation by a factor of 1.3 to 19. © 2011 IEEE.

Authors with CRIS profile

How to cite

APA:

Hofer, W., Lohmann, D., & Schröder-Preikschat, W. (2011). Sleepy Sloth: Threads as Interrupts as Threads. In Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS 2011) (pp. 67-77). Vienna, Austria, AT: Los Alamitos, CA, USA: IEEE Computer Society.

MLA:

Hofer, Wanja, Daniel Lohmann, and Wolfgang Schröder-Preikschat. "Sleepy Sloth: Threads as Interrupts as Threads." Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS 2011), Vienna, Austria Los Alamitos, CA, USA: IEEE Computer Society, 2011. 67-77.

BibTeX: Download