Time Management in the EPOS Operating System

  • Giovani Gracioli UFSC
  • Danillo Moura Santos UFSC
  • Roberto de Matos UFSC
  • Lucas Francisco Wanner UFSC
  • Antônio Augusto Fröhlich UFSC

Abstract


One of the tasks of an operating system is to handle time events. Traditionally, time management is based on periodical interrupts from one of the system’s hardware timers (ticks). However, this approach presents limitations, such as lack of precision, large overhead, and large power consumption. These limitations have motivated the use of non-periodical timers (e.g. one-shot timers), specially in specific-purpose operating systems with timing restrictions, such as embedded, real-time, and multimedia systems. This work presents a comparison between single-shot and periodical timer implementations in the time management abstractions in the EPOS operating system. We present the impact of the different implementation in terms of memory footprint, number of context switches, number of interrupt handler executions and run time in different execution scenarios.

References

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.
Published
2008-07-12
GRACIOLI, Giovani; SANTOS, Danillo Moura; MATOS, Roberto de; WANNER, Lucas Francisco; FRÖHLICH, Antônio Augusto. Time Management in the EPOS Operating System. In: WORKSHOP ON OPERATING SYSTEMS (WSO), 5. , 2008, Belém/PA. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2008 . p. 46-56.