DOI QR코드

DOI QR Code

다중프로세서 시스템상의 공유 자원을 포함하는 태스크를 위한 실시간 스케줄링 알고리즘

A Real-Time Scheduling Algorithm for Tasks with Shared Resources on Multiprocessor Systems

  • 이상태 (강원대학교 컴퓨터정보통신공학부) ;
  • 김용석 (강원대학교 컴퓨터학부)
  • 투고 : 2010.08.30
  • 심사 : 2010.11.09
  • 발행 : 2010.12.31

초록

다중 프로세서 상의 공유 자원을 포함하는 태스크를 스케줄링 하는데 있어서 마감 시간을 기준으로 스케줄링 하는 EDF (Earliest Deadline First) 를 그대로 적용한 GEDF (Global EDF) 알고리즘은 공유 자원을 가지는 태스크에 대한 처리가 없어서 스케줄링 성공률이 떨어지게 된다. 본 논문에서는 공유 자원을 포함하는 태스크를 위해 태스크를 공유 자원을 접근하는 임계영역을 포함하는 부분과 그렇지 않은 부분으로 각각 나누어 개별적인 마감 시간을 부여해 처리하는 EDFP (Earliest Deadline First with Partitioning) 알고리즘을 제안한다. 시뮬레이션을 통한 평가 결과 공유 자원을 포함하는 태스크들에 대하여 EDFP는 시스템 이용률이 높아지고 프로세서의 개수가 많이 질수록 GEDF 보다 나은 성능을 보인다.

In case of scheduling tasks with shared resources in multiprocessor systems, Global Earliest Deadline First (GEDF) algorithm, equally applied Earliest Deadline First (EDF) which runs scheduling with deadline criterion, makes schedulability decline because GEDF typically does not have a specific process in order to handle tasks with shared resources. In this paper, we propose Earliest Deadline First with Partitioning (EDFP) for tasks with shared resources which partitions a task into two kinds of subtasks that include critical sections to access to shared resources, gives their own deadline respectively and manages them. As a result of simulations, EDFP shows better performance than GEDF for tasks with shared resources since system load goes up and the number of processor increases.

키워드

참고문헌

  1. J. Carpenter, S. Funk, P. Holman, A. Srinivasan, J. Anderson, and S. Baruah, “A categorization of real-time multiprocessor scheduling problems and algorithms,” Handbook on Scheduling Algorithms, Methods, and Models, pp.30.1-30.19, 2004.
  2. Giorgio C. Buttazzo, 'Hard real-time compuing systems', 2nd Ed., Springer, 2005.
  3. C. L. Liu and J. W. Layland, “Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment,” Journal of the ACM, Vol.20, No.1, pp.46-61, 1973. https://doi.org/10.1145/321738.321743
  4. C. L. Liu and J. W. Layland, 'Real-Time Systems', Prentice Hall, 2000.
  5. J. Hong, X. Tan, D. Towsley, “A performance analysis of minimum laxity and earliest deadline scheduling in a real-time system,” IEEE Transactions on Computers, Vol.38, No.12, pp.1736-1744, Dec. 1989. https://doi.org/10.1109/12.40851
  6. Joseph Y. Leung, “A New Algorithm for Scheduling Periodic Real-Time Tasks,” Algorithmica, Vol.4, pp.209-219, 1989. https://doi.org/10.1007/BF01553887
  7. S. Cho, S. Lee, S. Ahn and K. Lin, “Efficient Real-Time Scheduling Algorithms for Multiprocessor Systems,” IEICE Trans Commun., Vol. E85-B, No.12, pp.2859-2867, 2002.
  8. 조규억, 김용석, “다중프로세서 시스템을 위한 여유시간 기반의 온라인 실시간 스케줄링 알고리즘”, 정보처리학회논문지A, 제16-A권 제6호, Dec. 2009. https://doi.org/10.3745/KIPSTA.2009.16A.6.437
  9. L. Sha, R. Rajkumar, and J. P. Lehoczky, “Priority inheritance protocols: An approach to real-time synchronization,” IEEE Transactions on Computer, Vol.39, No.9, Sep. 1990. https://doi.org/10.1109/12.57058