DOI QR코드

DOI QR Code

Real-Time Kernel for Linux based on ARM Processor, RTiKA (Real-Time Implant Kernel For ARMLinux)

ARM 프로세서 기반의 리눅스를 위한 실시간 확장 커널 (RTiKA, Real-Time implant Kernel for ARMLinux)

  • Received : 2017.08.04
  • Accepted : 2017.10.17
  • Published : 2017.10.28

Abstract

Recently, the demand for real-time performance in mobile environment is increasing due to the improvement of hardware performance, however a GPOS(General-Purpose Operating System) such as Android and Linux do not provide real-time performance. We developed RTiK(Real-Time implant Kernel) for this problem, but it has the disadvantage of supporting only x86 Architecture. In this paper, we designed and implemented a RTiKA(Real-Time implanted Kernel for ARM) to support real-time in ARM Linux. We used MCT(Multi-Core Timer) timer which replaces Local APIC Timer for real-time support, and we measured the period of generated real-time task for performance verification and evaluation. As the recent the RTiKA can guarantee the operating of several real-time tasks based on the cycle of 1ms.

최근 하드웨어의 발전으로 모바일 환경에서 리눅스나 안드로이드 같은 범용 운영체제 환경에서 실시간성의 요구가 증가하고 있으나, 범용운영체제의 경우 실시간성을 제공하지 못하는 단점이 있다. 이를 해결하기 위해 리눅스에 부가적으로 설계된 RTiK(Real-Time implanted Kernel)을 통해 실시간성을 제공할 수 있으나, 기존 RTiK의 경우 x86 아키텍처만을 제공하는 단점이 있으며, 실시간성 지원을 위해서는 CPU 플랫폼에 종속되는 한계가 있다. 본 논문에서는 CPU 플랫폼 이식을 위해 ARM 아키텍쳐를 위한 실시간 확장커널인 RTiKA(Real-Time implant Kernel for ARMLinux)을 설계 및 구현한다. 실시간성 제공을 위해 독립적인 Local APIC Timer를 대체하는 MCT 타이머를 이용하였으며, 성능 검증 및 평가를 위해 생성된 실시간 태스크의 주기를 측정하였고, 1ms 단위의 주기를 바탕으로 여러 개의 실시간 태스크에 대한 동작을 보장할 수 있었다.

Keywords

References

  1. https://estimastory.com/2011/08/20/andreessen/
  2. http://www.epnc.co.kr/news/articleView.html?idxno=47042
  3. Z. He, A. Mok, and C. Peng, "Timed RTOS Modeling for Embedded System Design," Real Time and Embedded Technology and Applcations Symposium(RTAS), 2005.
  4. 박병률, 맹지찬, 이종범, 유민수, 안현식, 정구민, "임베디드 S/W 개발을 위한 RTOS API 변환기의 설계 및 구현," 대한전기학회 학술대회 논문집, pp.443-445, 2006(10).
  5. C. M. Krishna and Kang G. Shin, Real-Time Systems, McGraw-Hill, 1997.
  6. 주민규, 이진욱, 김종진, 조한무, 박영수, 이철훈, "x86 기반의 윈도우 상에서 실시간성 지원 방법," 한국차세대컴퓨팅학회논문지, 제11권, 제4호, 2011.
  7. 조아라, 송창인, 이철훈, "윈도우즈 상에서 실시간 디바이스 드라이버를 위한 통합 미들웨어," 한국콘텐츠학회논문지, 제13권, 제3호, 2013.
  8. 박지윤, 조아라, 김효중, 최정현, 허용관, 조한무, 이철훈, "태블릿 PC 환경의 실시간 처리 기능 지원," 한국콘텐츠학회논문지, 제13권, 제11호, 2013.
  9. https://www.kernel.org/pub/linux/kernel/projects/rt
  10. https://www.rtai.org/
  11. 김주만, 송창인, 이철훈, "RTiK-Linux: 리눅스용 실시간 이식 커널의 설계," 한국콘텐츠학회논문지, 제11권, 제9호, 2011.
  12. 이상길, 이철훈, "멀티프로세서 기반 리눅스에 실시간성 지원 방안 연구," 한국콘텐츠학회 종합학술대회 논문집, pp.57-58, 2015(5).
  13. 이상길, 이승율, 이철훈, "리눅스 사용자 영역에 실시간성 제공을 위한 미들웨어," 한국콘텐츠학회논문지, 제16권, 제5호, pp.217-228, 2016(5). https://doi.org/10.5392/JKCA.2016.16.05.217
  14. https://rt.wiki.kernel.org/index.php/Main_Page
  15. https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch
  16. http://www.samsung.com/semiconductor/minisite/Exynos/index.html
  17. K. Yaghmour, Adaptive domain environment for operating systems, Opersys inc, 2001.
  18. https://xenomai.org/
  19. http://www.cs.kun.nl/J.Hooman/DES/XenomaiExercises/Background.html