Real-Time Scheduler with Extended Schedulability Testing for Mach Kernel Reconfiguration

Mach 커널의 재구성을 위한 확장된 스케줄 가능성 검사를 수행하는 실시간 스케줄러

  • 류진열 (LG정보통신 정보시스템연구소 미디어 S/W실) ;
  • 김광 (삼일데이타시스템(주) 부설 기술연구소) ;
  • 허신 (한양대학교 전자계산학과)
  • Published : 2000.02.01

Abstract

n this paper, we implement the real-time scheduler which performs extended schedulability testing, to reconfigure Mach kernel in which Real-Time scheduling is possible. for this purpose, first, we propose the configuration factors according to requirements of Real-Time operation systems and we analyze a Real-time scheduling algorithm. Second, for the reconfiguration of Mach kernel, we propose the modified data structure through the analysis of Mach kernel environments and scheduling. Third, we suggest the extended scheduling method by analyzing conventional Real-Time scheduling policies. Fourth, we implement the scheduler which executes tasks according to the Earliest-Deadline-First scheduling and the Rate Monotonic scheduling.

본 논문에서는 실시간 스케줄링이 가능하도록 Mach 커널을 재구성하기 위해 확장된 스케줄 가능성 검사를 수행하는 실시간 스케줄러를 구현한다. 첫째, 실시간 운영체제의 요구사항이 따른 구성요소들을 제시하고 기존의 실시간 스케줄링 알고리즘에 대하여 분석한다. 둘째, Mach 커널 재구성을 위하여 Mach 커널의 실행 환경과 스케줄링 부분에 대한 분석을 통해 수정된 자료구조를 제시한다. 셋째, 기존 실시간 스케줄링 정책에서의 스케줄 가능성 검사에서 확장된 스케줄가능성 검사 방법을 제시한다. 넷째, 확장된 스케줄가능성 검사를 거쳐 마감시간이 보장된 쓰레드들을 마감시간 우선 스케줄링 방식과 비율 단조 스케줄링 방식으로 스케줄하는 스케줄러를 구현한다.

Keywords

References

  1. John A. Stankovic, 'Misconceptions About Real-Time Computing,' IEEE Computer, pp.10-19, Oct. 1988 https://doi.org/10.1109/2.7053
  2. Barko Furht et al., 'Real-Time UNIX Systems : Design and Application Guide,' Kluwer Academic Publishers, 1991
  3. Krithi Ramamrithm and John A. Stankovic, 'Scheduling Algorithm and Operating Systems Support for Real-Time Systems,' Proc. of IEEE Vol.82, No.1, pp.55-67, Jan. 1994 https://doi.org/10.1109/5.259426
  4. W. Zhao, K. Ramamritham, John. A. Stankovic, 'Preemptive Scheduling Under Time and Resource Constraints,' IEEE Computers, Vol.C-36, No.8, pp.949-960, Aug. 1987
  5. S-C Cheng, et aI., 'Scheduling Algorithms for Hard Real-Time Systems-A Brief Survey,' Tutorial : Hard Real-Time Systems, IEEE Computer Society Press, 1988
  6. John Lehoczky, Lui Sha and Ye Ding, 'The Rate Monotonic Scheduling Algorithm : Exact Characterization And Average Case Behavior,' Proc. of IEEE Real-Time Systems Symposium, pp.166-171, Dec. 1989 https://doi.org/10.1109/REAL.1989.63567
  7. N. Audsley et aI., 'Hard Real-Time Scheduling : The Deadline Monotonic Approach,' Proc. of IEEE Workshop on Real-Time Operating Systems, 1992
  8. H. Chetto and M, Chetto, 'Some Results of the Earliest Deadline Scheduling Algorithm,' IEEE Trans. on Software Eng., Vol.15, No.10, pp.1261-1269, Oct. 1989 https://doi.org/10.1109/TSE.1989.559777
  9. Bach, 'Design of the UNIX Operating Systems,' Prentice-Hall, 1986
  10. M. J. Accetta, W. Baron, R.V. Bolosky, D.B. Golub, R.F. Rashid, A. Tevanian, and M.W. Young, 'Mach : A new kernel foundation for unix development,' Proc. of the Summer Usenix Conference, Jul. 8 1986
  11. J. Boykin, D. Kirschen, A. Langerman, S. LoVerso, 'Programming under Mach,' Addison-Wesley Publishing Company, 1993
  12. David L. Black, 'Scheduling support for concurrency and parallelism in the Mach operating system,' IEEE Computer, Vol.23, No.5, 1990 https://doi.org/10.1109/2.53353
  13. C. Warren, 'Rate Monotonic Scheduling,' IEEE Micro, pp.34-38, Jun. 1991
  14. C. Liu and J. Layland, 'Scheduling algorithms for multi-programming in hard real-time environment,' Journal of ACM, pp.46-61, Jan. 1973 https://doi.org/10.1145/321738.321743
  15. K.W. Tindell, A. Burns and A.J. Wellings, 'An extendable approach for analyzing fixed priority hard real-time tasks,' Journal of Real-Time Systems, Vol.6, No.2, pp.133-152, Mar. 1994 https://doi.org/10.1007/BF01088593