A Jitter Analysis for Improved Schedulability of Distributed Real-Time Tasks

분산 실시간 태스크의 스케쥴가능성 개선을 위한 지터 분석

  • 김태웅 (서울대학교 컴퓨터공학과) ;
  • 신현식 (서울대학교 컴퓨터공학과) ;
  • 장래혁 (서울대학교 컴퓨터공학과)
  • Published : 2000.05.15

Abstract

In distributed real-time system, a task activated by the completion of its preceding task can be modeled as a periodic task with activation jitter. An activation jitter of a task is defined asthe difference between the worst case and the best case response time of its preceding task. Becausethe existing approaches assume that the best case response time is much smaller than the actual one,the activation jitter and the worst case response time of lower priority tasks are overestimated. Thispaper proposes a new analysis technique to calculate the best case response time more precisely andto reduce the activation jitter bounds. The proposed technique obtains the best case response time byconsidering the relative phase between tasks. The precise analysis of the activation jitters can reducethe worst case response time of other tasks and increase the schedulability. The simulation resultsshow that the proposed analysis technique improves the accuracy of the best case and the worst caseresponse time up to 40% and 6%, respectively.

분산 실시간 시스템에서 선행 태스크의 완료에 의해 활성화되는 태스크는 활성화 지터를 갖는 주기적 태스크로 모델링될 수 있다. 태스크의 활성화 지터는 선행 태스크의 최악과 최선 응답사간의 차로 정의된다. 기존의 방법은 최선 응답사간을 실제보다 훨씬 작은 값으로 가정하기 때문에, 활성화 지터와 낮은 우선순위를 갖는 태스크들의 최악 응답시간이 과대평가된다. 본 논문은 최선 응답사간을 보다 정확하게 산정하고 활성화 지터의 한계를 줄이기 위해 새로운 최선 응답시간 분석기법을 제안한다. 제안된 기법은 태스크들간의 상대적 위상을 고려하여 최선 응답시간을 구한다. 활성화 지터의 정확한 분석은 다른 태스크들의 최악 응답시간을 감소시키고 스케쥴가능성을 증가시킨다. 모의실험의 결과는 제안된 분석 기법이 최선 응답시간과 최악 응답시간의 정확도를 각각 최대 40%와 6%로 개선함을 보여 준다.

Keywords

References

  1. J. C. P. Gutierrez, J. J. G. Garcia, and M. G. Harbour, 'Best-Case Analysis for Improving the Worst-Case Schedulability Test for Distributed Hard Real-Time Systems,' Proc. of Euromicro Workshop on Real-Time Systems, pp. 35-44, 1998 https://doi.org/10.1109/EMWRTS.1998.684945
  2. J. J. G. Garcia and M. G. Harbour, 'Optimized Priority Assignment for Tasks and Messages in Distributed Hard Real-Time Systems,' Proc. of Workshop on Parallel and Distributed Real-Time Systems, pp. 124-132, 1995 https://doi.org/10.1109/WPDRTS.1995.470498
  3. D-T. Peng, K. G. Shin, and T. F. Abdelzaher, 'Assignment and Scheduling Communicating Periodic Tasks in Distributed Real-Time Systems,' IEEE Transactions on Software Engineering, Vol. 23, No. 12, pp. 745-758, 1997 https://doi.org/10.1109/32.637388
  4. K. W. Tindell, A. Burns, and A. J. Wellings, 'Allocating Real-Time Tasks. An NP-Hard Problem Made Easy,' Real-Time Systems, Vol. 4, No. 2, pp. 145-166, 1992 https://doi.org/10.1007/BF00365407
  5. J. Sun and J. Liu, 'Synchronization Protocols in Distributed Real-Time Systems,' Proc. of International Conference on Distributed Computing Systems, pp. 38-45, 1996 https://doi.org/10.1109/ICDCS.1996.507899
  6. K. W. Tindell, 'An Extendible Approach for Analysing Fixed Priority Hard Real-Time Systems,' Real-Time Systems, Vol. 6, No. 2, pp. 133-151, 1994 https://doi.org/10.1007/BF01088593
  7. K. W. Tindell, A. Burns, and A. J. Wellings, 'Analysis of Hard Real-Time Communications,' Real-Time Systems, Vol. 9, No. 2, pp. 147-171, 1995 https://doi.org/10.1007/BF01088855
  8. 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
  9. N. Audsley, A. Burns, M. Richardson, and A. J. Wellings, 'Hard Real-Time Scheduling: The Deadline Monotonic Approach,' Proc. of IEEE Workshop on Real-Time Operating Systems and Software, pp. 133-137, 1991
  10. C-C. Han and K-J. Lin, 'Scheduling Distance-Constrained Real-Time Tasks,' Proc. of Real-Time Systems Symposium, pp. 300-308, 1992 https://doi.org/10.1109/REAL.1992.242649
  11. K-J. Lin and A. Herkert, 'Jitter Control in Time-Triggered Systems,' Proc. of Hawaii International Conference on System Sciences, Jan., 1996 https://doi.org/10.1109/HICSS.1996.495494
  12. C. Locke, 'Software Architecture for Hard Real-Time Applications: Cyclic Executives vs. Fixed Priority Executives,' Real-Time Systems, Vol. 4, No. 1, pp. 37-53, 1992 https://doi.org/10.1007/BF00365463
  13. L. Sha, R. Rajkumar, and J. Lehoczky, 'Priority Inheritance Protocols: An Approach to Real-Time Synchronization,' IEEE Transactions on Software Engineering, Vol. 39, No. 9, pp. 1175-1185, 1990 https://doi.org/10.1109/12.57058
  14. K. W. Tindell, H. Hansson, and A. J. Wellings, 'Analysing Real-Time Communications: Controller Area Network(CAN),' Proc. of Real-Time Systems Symposium, pp. 259-263, 1994 https://doi.org/10.1109/REAL.1994.342710
  15. N. Audsley, A. Burns, M. Richardson, K. Tindell, and A. J. Wellings, 'Applying New Scheduling Theory to Static Priority Pre-emptive Scheduling,' Software Engineering Journal, Vol. 8, No. 5, pp. 285-292, 1993
  16. C. D. Locke, D. R. Vogel, and T. J. Mesler, 'Building a Predictable Avionics Platform in Ada: A Case Study,' Proc. of Real-Time Systems Symposium, pp. 181-189, 1991 https://doi.org/10.1109/REAL.1991.160372
  17. T-S. Tia, J. W.-S. Liu, and M. Shankar, 'Aperiodic Request Scheduling in Fixed-Priority Preemptive Scheduling,' Technical Report UIUCDCS-R-94-1859, Dept. of Computer Science, University of Illinois at Urbana-Champaign, 1994
  18. T. M. Ghazalie and T. P. Baker, 'Aperiodic Servers in a Deadline Scheduling Environment,' Real-Time Systems, Vol. 9, No. 1, pp. 31-67, 1995 https://doi.org/10.1007/BF01094172