Interferência das Hard irqs e Softirqs em Tarefas com Prioridade de Tempo Real no Linux
Resumo
O sistema operacional Linux é atualmente uma alternativa atraente para um grande espectro de aplicações. O Linux mainline pode se usado para soft real-time. Existem variações do Linux (extensões e patches) que melhoram a sua capacidade em suportar aplicações do tipo soft real-time. Entretanto, muitas companhias que usam Linux embarcado em seus produtos que exigem características soft real-time preferem utilizar o mainline Linux, pois sua manutenção e evolução é mais garantida que as baseadas em patches alternativos. Este artigo é especificamente sobre a interferência gerada pela execução de Softirqs e Hard irqs em tarefas com prioridade máxima de tempo real no Linux mainline. Softirqs são aquelas atividades que acontecem dentro do kernel devido a interrupção de hardware, mas que não são executadas imediatamente pelo tratador de interrupção. O objetivo deste trabalho é avaliar o impacto das atividades das Softirqs e Hard irqs em tarefas de tempo real com prioridade máxima.Referências
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.
Publicado
20/07/2009
Como Citar
CARMINATI, Andreu; OLIVEIRA, Rômulo Silva de.
Interferência das Hard irqs e Softirqs em Tarefas com Prioridade de Tempo Real no Linux. In: WORKSHOP DE SISTEMAS OPERACIONAIS (WSO), 6. , 2009, Bento Gonçalves/RS.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2009
.
p. 2417-2428.
