DOI QR코드

DOI QR Code

A Real-Time Scheduling Technique on Multi-Core Systems for Multimedia Multi-Streaming

다중 멀티미디어 스트리밍을 위한 멀티코어 시스템 기반의 실시간 스케줄링 기법

  • 박상수 (이화여자대학교 공과대학 컴퓨터공학과)
  • Received : 2011.09.08
  • Accepted : 2011.11.03
  • Published : 2011.11.30

Abstract

Recently, multi-core processors have been drawing significant interest from the embedded systems research and industry communities due mainly to their potential for achieving high performance and fault-tolerance at low cost in such products as automobiles and cell phones. To process multimedia data, a scheduling algorithm is required to meet timing constraints of periodic tasks in the system. Though Pfair scheduling algorithm can meet all the timing constraints while achieving 100% utilization on multi-core based system theoretically, however, the algorithm incurs high scheduling overheads including frequent core migrations and system-wide synchronizations. To mitigate the problems, we propose a real-time scheduling algorithm for multi-core based system so that system-wide scheduling is performed only when it is absolutely necessary. Otherwise the proposed algorithm performs scheduling within each core independently. The experimental results by extensive simulations show that the proposed algorithm dramatically reduces the scheduling overheads up to as negligible one when the utilization is under 80%.

멀티코어 프로세서는 멀티미디어 스트리밍에 있어서 비교적 낮은 비용에 높은 성능을 보인다는 장점 때문에 스마트폰, 스마트 TV, 셋톱박스 등 관련 산업계에서 큰 관심을 받고 있다. 멀티미디어 데이터를 처리하기 위해서는 주기적인 태스크의 시간 제약성을 만족시킬 수 있는 스케줄링 알고리즘이 필요하다. Pfair 스케줄링 알고리즘은 이론상으로 멀티코어 상에서 모든 태스크의 시간 제약성을 만족하는 동시에 100%의 이용률을 달성할 수 있지만 코어간에 태스크의 빈번한 이동이 필요하고 매 스케줄링 시점에 시스템 전역에 대한 동기화가 필요하는 등 스케줄링을 위한 오버헤드가 매우 높다. 이러한 문제점을 개선하기 위해 본 논문에서는 코어 간의 이동이 꼭 필요할 경우에만 전체 코어의 스케줄링을 수행하고 평상시에는 각 코어별로 독립적인 스케줄링을 수행하도록 하는 HPGP 스케줄러를 제안한다. 시뮬레이터를 통한 실험 결과 기존의 Pfair 알고리즘에 비해 스케줄링 오버헤드가 현격히 감소하는 것을 알 수 있으며 80% 이하의 이용률을 갖는 태스크 집합에서는 스케줄링 오버헤드가 거의 발생하지 않는 것을 확인하였다.

Keywords

References

  1. 김용민, 김종면, "고성능 멀티미디어용 멀티코어 하드웨어 설계 및 구현," 제 18회 한국반도체 학술대회, pp. 67-68, 2011.
  2. 윤장우, 전승현, 이호연, 허경우, 이현우, 류원, "N-스크린 서비스 분류와 표준화 기술," 한국정보과학회지, 제29권, 7호, pp. 23-31, 2011.
  3. Chung-Ming Huang, Chung-Wei Lin, and Wan-Ping Tsai, "A Multi-Core Based Parallel Streaming Mechanism for Concurrent Video- on-Demand Applications," IEEE Communications Letters, Vol.13, No.4, pp. 286-288, 2009. https://doi.org/10.1109/LCOMM.2009.082224
  4. A. L. Narasimha Reddy, "Scheduling in Multimedia Systems," invited book chapter in Design and Applications of Multimedia Systems, Kluwer Academic Publishers, 1995.
  5. 전태건, 김창수, "임베디드 시스템에서 실시간 성과 결함허용을 보장하는 스케줄러 설계," 한국멀티미디어학회논문지, 제14권, 1호, pp. 76-84, 2011.
  6. J. Carpenter, S. Funk, P. Holman, A. Srinivasan, J. Anderson, and S. Baruah, "A Categorization of Real-time Multiprocessor Scheduling Problems and Algorithms," in Handbook of Scheduling: Algorithms, Models, and Performance Analysis, Chapman and Hall/CRC, 2004.
  7. P. Holman and J. H. Anderson, "Using Supertasks to Improve Processor Utilization in Multiprocessor Real-time Systems," Proceedings of Euromicro Conference on Real- Time Systems, pp. 41-50, 2003.
  8. S. K. Baruah, N. K. Cohen, C. G. Plaxton, and D. A. Varvel, "Proportionate Progress: a Notion of Fairness in Resource Allocation," Algorithmica, Vol.15, No.6, pp. 600-625, 1996. https://doi.org/10.1007/BF01940883
  9. P. Holman and J. H. Anderson, "Implementing Pfairness on a Symmetric Multiprocessor," Proceedings of IEEE Real-Time and Embedded Technology and Applications Symposium, pp. 544-553, 2001.
  10. J. H. Anderson and A. Srinivasan, "Mixed Pfair/ERfair Scheduling of Asynchronous Periodic Tasks," Proceedings of Euromicro Conference on Real-Time Systems, pp. 76- 85, 2001.
  11. S. K. Baruah, J. Gehrke, and C. G. Plaxton, "Fast Scheduling of Periodic Tasks on Multiple Resources," Proceedings of International Parallel Processing Symposium, pp. 280-288, 1995.
  12. GNU, "GNU scientific library (http://www. gnu.org/software/gsl/)."
  13. J. M. Calandrino, H. Leontyev, A. Block, U. C. Devi, and J. H. Anderson, "LITMUSRT : a Testbed for Empirically Comparing Realtime Multiprocessor Schedulers," Proceedings of IEEE Real-Time Systems Symposium, pp. 111-126, 2006.
  14. K. Hirata and J. Goodacre, "ARM MPCore; the Streamlined and Scalable ARM11 Processor Core," Proceedings of Asia and South Pacific Design Automation Conference, pp. 747-748, 2007.
  15. VaST Systems, "VaST tools and models for embedded system design (http://www.vastsystems. com/)."
  16. B. B. Brandenburg and J. H. Anderson, "Inte- Grating Hard/Soft Real-Time Tasks and Best-Effort Jobs on Multiprocessors," Proceedings of Euromicro Conference on Real- Time Systems, pp. 61-70, 2007.
  17. A. Chandra, M. Adler, and P. J. Shenoy, "Deadline Fair Scheduling: Bridging the Theory and Practice of Proportionate Fair Scheduling in Multiprocessor Systems," Proceedings of IEEE Real Time Technology and Applications Symposium, pp. 3-14, 2001.
  18. R. McNaughton, "Scheduling with Deadlines and Loss Functions," Management Science, 1959.

Cited by

  1. Performance Analysis of Multicore Out-of-Order Superscalar Processor with Multiple Basic Block Execution vol.16, pp.2, 2013, https://doi.org/10.9717/kmms.2013.16.2.198
  2. 사물인터넷 환경에서 센서데이터의 처리를 위한 적응형 우선순위 큐 기반의 작업 스케줄링 vol.20, pp.9, 2011, https://doi.org/10.9717/kmms.2017.20.9.1559