Gerência de tempo no Sistema Operacional EPOS
Resumo
Uma das tarefas de um sistema operacional é o tratamento de eventos de tempo. Tradicionalmente a gerência de tempo é baseada em interrupções periódicas de um dos relógios de hardware do sistema (ticks). Porém, esta abordagem apresenta limitações, como falta de precisão, maior custo computacional e maior consumo de energia. Isso motivou a procura por novas soluções, e o emprego de técnicas de temporizadores não periódicos (ex.: one-shot timers) tornou-se freqüente, principalmente em sistemas operacionais de propósito específico, que possuem algum tipo de restrição de tempo, energia ou processamento (ex.: sistemas embarcados, de tempo real e multimídia). Este trabalho faz uma comparação entre as implementações de temporizadores de disparo único e temporizadores periódicos na gerência de tempo do sistema operacional EPOS. São apresentados os impactos no tamanho de código do sistema (Footprint), número de trocas de contextos, número de execuções do tratador de interrupção e tempo de computação em diferentes cenários de execução.Referências
Aron, M. and Druschel, P. (2000). Soft timers: efficient microsecond software timer support for network processing. ACM Trans. Comput. Syst., 18(3):197–228.
Farines, J.-M., da Silva Fraga, J., and de Oliveira, R. S. (2000). Sistemas de Tempo Real. Escola de Computação: IME-USP, S ao Paulo, SP.
Fröhlich, A. A. (2001). Application-Oriented Operating Systems. Number 17 in GMD Research Series. GMD - Forschungszentrum Informationstechnik, Sankt Augustin.
Fröhlich, A. A. and Schröder-Preikschat, W. (2000). Scenario Adapters: Efficiently Adapting Components. In Proceedings of the 4th World Multiconference on Systemics, Cybernetics and Informatics, Orlando, U.S.A.
Goel, A., Abeni, L., Krasic, C., Snow, J., and Walpole, J. (2002). Supporting time-sensitive applications on a commodity os. In OSDI.
Kohout, P., Ganesh, B., and Jacob, B. (2003). Hardware support for real-time operating systems. In CODES+ISSS ’03: Proceedings of the 1st IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis, pages 45–51, New York, NY, USA. ACM.
Marcondes, H., Hoeller, A., Wanner, L., and Frohlich, A. (20-22 Sept. 2006). Operating systems portability: 8 bits and beyond. Emerging Technologies and Factory Automation, 2006. ETFA ’06. IEEE Conference on, pages 124–130.
Polpeta, F. V. and Fröhlich, A. A. (2004). Hardware mediators: A portability artifact for component-based systems. In Yang, L. T., Guo, M., Gao, G. R., and Jha, N. K., editors, EUC, volume 3207 of Lecture Notes in Computer Science, pages 271–280. Springer.
Tanenbaum, A. S. (2001). Modern Operating Systems. Prentice Hall PTR, Upper Saddle River, NJ, USA.
Tsafrir, D., Etsion, Y., and Feitelson, D. G. (2005). General purpose timing: the failure of periodic timers. Technical Report 2005-6, School of Computer Science and Engineering, the Hebrew University, Jerusalem, Israel.
Farines, J.-M., da Silva Fraga, J., and de Oliveira, R. S. (2000). Sistemas de Tempo Real. Escola de Computação: IME-USP, S ao Paulo, SP.
Fröhlich, A. A. (2001). Application-Oriented Operating Systems. Number 17 in GMD Research Series. GMD - Forschungszentrum Informationstechnik, Sankt Augustin.
Fröhlich, A. A. and Schröder-Preikschat, W. (2000). Scenario Adapters: Efficiently Adapting Components. In Proceedings of the 4th World Multiconference on Systemics, Cybernetics and Informatics, Orlando, U.S.A.
Goel, A., Abeni, L., Krasic, C., Snow, J., and Walpole, J. (2002). Supporting time-sensitive applications on a commodity os. In OSDI.
Kohout, P., Ganesh, B., and Jacob, B. (2003). Hardware support for real-time operating systems. In CODES+ISSS ’03: Proceedings of the 1st IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis, pages 45–51, New York, NY, USA. ACM.
Marcondes, H., Hoeller, A., Wanner, L., and Frohlich, A. (20-22 Sept. 2006). Operating systems portability: 8 bits and beyond. Emerging Technologies and Factory Automation, 2006. ETFA ’06. IEEE Conference on, pages 124–130.
Polpeta, F. V. and Fröhlich, A. A. (2004). Hardware mediators: A portability artifact for component-based systems. In Yang, L. T., Guo, M., Gao, G. R., and Jha, N. K., editors, EUC, volume 3207 of Lecture Notes in Computer Science, pages 271–280. Springer.
Tanenbaum, A. S. (2001). Modern Operating Systems. Prentice Hall PTR, Upper Saddle River, NJ, USA.
Tsafrir, D., Etsion, Y., and Feitelson, D. G. (2005). General purpose timing: the failure of periodic timers. Technical Report 2005-6, School of Computer Science and Engineering, the Hebrew University, Jerusalem, Israel.
Publicado
12/07/2008
Como Citar
GRACIOLI, Giovani; SANTOS, Danillo Moura; MATOS, Roberto de; WANNER, Lucas Francisco; FRÖHLICH, Antônio Augusto.
Gerência de tempo no Sistema Operacional EPOS. In: WORKSHOP DE SISTEMAS OPERACIONAIS (WSO), 5. , 2008, Belém/PA.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2008
.
p. 46-56.
