DOI QR코드

DOI QR Code

A Study on the Scheduling Improvement for Periodic Real-time Taske on Middleware based on Linux(TMOSM/Linux)

리눅스 미들웨어(TMOSM/Linux)에서 주기성을 가진 실시간 태스크의 스케쥴링 향상에 관한 연구

  • 박호준 (건국대학교대학원 컴퓨터/정보통신공학과) ;
  • 이창훈 (건국대학교 컴퓨터공학과)
  • Published : 2004.12.01

Abstract

For real-time applications, the underlying operating system (0S) should support timeliness guarantees of real-time tasks. However, most of current operating systems do not provide timely management facilities in an efficient way. There could be two approaches to support timely management facilities for real-time applications: (1) by modifying 0S kernel and (2) by Providing a middleware without modifying 0S. In our approach, we adopted the middleware approach based on the TMO (Time-triggerred Message-triggered Object) model which is a well-known real-tine object model. The middleware, named TMSOM (TMO Support Middleware) has been implemented on various OSes such as Linux and Windows XP/NT/98. In this paper, we mainly consider TMOSM implemented on Linux(TMOS/Linux). Although the real-time schedul-ing aIgorithm used in current TMOSM/Linux can produce an efficient real-time schedule, it can be improved for periodic real-time tasks by considering several factors. In this paper, we discuss those factors and propose an improved real-time scheduling algorithm for periodic real-time tasks, In order to simulate the performance of our algorithm, we measure timeliness guarantee rate for periodic real-time tasks. The result shows that the performance of our algorithm is superior to that of existing algorithm. Additionally, the proposed algorithm can improve system performance by making the structure of real-time middleware simpler.

실시간 응용 제품을 개발하기 위해 운영체제는 실시간 태스크의 시간 보장성(timeliness guarantee)이 지원되어야한다. 그러나 현재 대부분의 운영체제는 실시간 태스크의 시간적 제약조건(timing constraints)을 효율적으로 지원할 수 있는 방법을 제공해 주지 못하고 있다. 실시간 응용의 시간적 제약조건을 지원하기 위해서는 운영체제 커널 변경 방법과 미들웨어 방법이 있다. 본 논문에서는 운영체제 변경없이 잘 알려진 Real-time Object Model인 TMO에 근거한 미들웨어 접근 방식을 적용한다. 현재 TMO(Time-triggered Message-triggered Object) 모델을 기반으로 한 미들웨어로 다양한 운영체제 시스템 상에서 개발되어온 TMOSM(TMO Support Middleware)이 있다. 리눅스 기반의 TMOSM의 스케줄링 알고리즘은 효율적으로 실시간 스케줄링을 지원하지만 주기적인 실시간 태스크를 위해 몇 가지 고려해야할 사항들이 있다. 본 논문에서 는 주기적인 실시간 태스크를 효율적으로 처리할 수 있는 개선된 실시간 미들웨어 스케줄링 알고리즘을 제안하고 성능을 비교한다. 제안한 알고리즘은 실시간 미들웨어의 구조를 간단하게 함으로써 시스템 성능 향상과 주기적인 실시간 태스크의 적시성을 더욱더 보장함을 확인하였다.

Keywords

References

  1. Park, H. J. and Lee, C. H, 'Deadline Handling in a Real-time Middleware on LINUX,' IDPT, pp.648-651, 2003
  2. Kim, K. H., Ishida, M. and Liu, J., 'An Efficient Middleware Architecture Supporting Time-Triggered Message -Triggered Objects and an NT-based Implementation,' Proc. ISORC'99 (IEEE CS 2nd Int'l Symp. On Object-oriented Real-time distributed Computing), pp.54-63, 1999 1999
  3. Kim, J. G., Kim, M. H., Min, B. J. and Im, D. B., 'A soft Real-Time TMO Platform-WTMOS-and Implementation Techniques,' Proc. ISORC'98, Kyoto, Japan, 1998 https://doi.org/10.1109/ISORC.1998.666796
  4. Kim, M. H. and Kim, J. G., 'Linux based TMO execution platform for embedded applications,' presented at UKC 2004, (proceedings will be published in Oct., 2004)
  5. Kim, K. H., 'APls for Real-Time Distributed Object Programming,' IEEE Computer, Vol.33, No.6, pp.72-80, 2000
  6. Kim. K. H., 'Real-Time Object-Oriented Distributed Software Engineering and the TMO Scheme,' Int'l Jour. Of Software Engineering & Knowledge Engineering, No.2, pp.251-276, 1999
  7. Kim, K. H. (Kane) and Kopetz, H., 'A Real-Time Object Model RTO.k and an Experimental Investigation of Its Potential,' Proc. COMPSAC'94 (IEEE Computer Society's 1994 Int'l Computer Software & Applications Conf., Taipei, pp.392-402, 1994
  8. Robbins, K. A. and Steven, 'Practical UNIX Programming,' Prentice Hall, 1996
  9. Kim, K. H., Subbaraman, C. and Kim, Y, 'The DREAM Library Support for PCD and RTO.k programming in C++,' Proc. WORDS'96 (IEEE Computer Society 2nd Workshop on Object-oriented Real-Time Dependable Systems), Laguna Beach, pp.59-68, 1996 https://doi.org/10.1109/WORDS.1996.506262