Interference of Hard IRQs and Soft IRQs in Real-Time Priority Tasks on Linux
Abstract
The operating system Linux is nowadays an attractive alternative for a great spectrum of applications. Mainline Linux can be used for soft real-time. There are Linux variations (patch’s and extensions) to further improve its capability of supporting soft real-time applications. However, some companies that use Linux embedded in products that need soft real-time prefer to use mainline Linux, since its maintenance and evolution is more guaranteed than those based on alternative patches. This paper is specifically about the interference generated by the executions of Softirqs and Hard irqs on tasks with maximum real-time priority in mainline Linux. Softirqs are those activities that happen inside of the kernel due to a hardware interrupt, but that are not executed immediately by the interrupt handler. The goal of this work is evaluate the impact of the Softirq and Hard irq activities on tasks with real-time priority.References
Dozio, L. and Mantegazza, P. (2003). “Linux Real Time Application Interface (RTAI) in low cost high performance motion control”. Proceedings of the conference of ANIPLA, Associazione Nazionale Italiana per l’Automazione.
Gerum, P. (2004). “Xenomai - Implementing a RTOS emulation framework on GNU/Linux”.
Love, R. (2005). “Linux Kernel Development”. SAMS, second edition.
Molnar, I. (2005). “PREEMPT-RT”. [link] - Last access 01/21, 2009.
Molnar, I. (2007). “Modular Scheduler Core and Completely Fair Scheduler [CFS]”. [link] - Last access 03/26, 2009.
POSIX.13 (1998). “IEEE Std. 1003.13-1998. Information Technology -Standardized Application Environment Profile-POSIX Realtime Application Support (AEP)”.
Regnier, P., Lima, G., and Barreto, L. (2008). “Evaluation of interrupt handling timeliness in real-time Linux operating systems”. SIGOPS Oper. Syst. Rev., 42(6):52–63.
Rostedt, S. and Hart, D. V. (2007). “Internals of the RT Patch”. Proceedings of the Linux Symposium,, pages 161–172.
Torvalds, L. (2008). “Linux Kernel Version 2.6.28.2”. [link] - Last access 03/21, 2009.
Gerum, P. (2004). “Xenomai - Implementing a RTOS emulation framework on GNU/Linux”.
Love, R. (2005). “Linux Kernel Development”. SAMS, second edition.
Molnar, I. (2005). “PREEMPT-RT”. [link] - Last access 01/21, 2009.
Molnar, I. (2007). “Modular Scheduler Core and Completely Fair Scheduler [CFS]”. [link] - Last access 03/26, 2009.
POSIX.13 (1998). “IEEE Std. 1003.13-1998. Information Technology -Standardized Application Environment Profile-POSIX Realtime Application Support (AEP)”.
Regnier, P., Lima, G., and Barreto, L. (2008). “Evaluation of interrupt handling timeliness in real-time Linux operating systems”. SIGOPS Oper. Syst. Rev., 42(6):52–63.
Rostedt, S. and Hart, D. V. (2007). “Internals of the RT Patch”. Proceedings of the Linux Symposium,, pages 161–172.
Torvalds, L. (2008). “Linux Kernel Version 2.6.28.2”. [link] - Last access 03/21, 2009.
Published
2009-07-20
How to Cite
CARMINATI, Andreu; OLIVEIRA, Rômulo Silva de.
Interference of Hard IRQs and Soft IRQs in Real-Time Priority Tasks on Linux. In: WORKSHOP ON OPERATING SYSTEMS (WSO), 6. , 2009, Bento Gonçalves/RS.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2009
.
p. 2417-2428.
