On the hardrealtime scheduling of embedded streaming applications
 Mohamed A. Bamakhrama,
 Todor P. Stefanov
 … show all 2 hide
Abstract
In this paper, we consider the problem of hardrealtime (HRT) multiprocessor scheduling of embedded streaming applications modeled as acyclic dataflow graphs. Most of the hardrealtime scheduling theory for multiprocessor systems assumes independent periodic or sporadic tasks. Such a simple task model is not directly applicable to dataflow graphs, where nodes represent actors (i.e., tasks) and edges represent datadependencies. The actors in such graphs have datadependency constraints and do not necessarily conform to the periodic or sporadic task models. In this work, we prove that the actors in acyclic CycloStatic Dataflow (CSDF) graphs can be scheduled as periodic tasks. Moreover, we provide a framework for computing the periodic task parameters (i.e., period and start time) of each actor, and handling sporadic input streams. Furthermore, we define formally a class of CSDF graphs called matched input/output (I/O) rates graphs which represents more than 80 % of streaming applications. We prove that strictly periodic scheduling is capable of achieving the maximum achievable throughput of an application for matched I/O rates graphs. Therefore, hardrealtime schedulability analysis can be used to determine the minimum number of processors needed to schedule matched I/O rates applications while delivering the maximum achievable throughput. This can be of great use for system designers during the Design Space Exploration (DSE) phase.
 Abeni, L, Buttazzo, G (1998) Integrating multimedia applications in hard realtime systems. Proceedings of the 19th IEEE realtime systems symposium (RTSS). pp. 413
 Anderson, JH, Srinivasan, A (2001) Mixed Pfair/ERfair scheduling of asynchronous periodic tasks. Proceedings of the 13th Euromicro conference on realtime systems (ECRTS 2001). pp. 7685
 Andersson, B, Tovar, E (2006) Multiprocessor scheduling with few preemptions. Proceedings of the 12th IEEE international conference on embedded and realtime computing systems and applications (RTCSA 2006). pp. 322334
 Bekooij, M, Hoes, R, Moreira, O, Poplavko, P, Pastrnak, M, Mesman, B, Mol, J, Stuijk, S, Gheorghita, V, Meerbergen, J (2005) Dataflow analysis for realtime embedded multiprocessor system design. Dynamic and robust streaming in and between connected consumerelectronic devices. Springer, Amsterdam, pp. 81108 CrossRef
 Bilsen, G, Engels, M, Lauwereins, R, Peperstraete, J (1996) Cyclostatic dataflow. IEEE Trans Signal Process 44: pp. 397408 CrossRef
 Buttazzo, GC (2011) Hard realtime computing systems. Springer, Berlin CrossRef
 Carpenter, J, Funk, S, Holman, P, Srinivasan, A, Anderson, J, Baruah, S A categorization of realtime multiprocessor scheduling problems and algorithms. In: Leung, JYT eds. (2004) Handbook of scheduling: algorithms, models, and performance analysis. CRC Press, Boca Raton
 Cho, H, Ravindran, B, Jensen, ED (2010) TL planebased realtime scheduling for homogeneous multiprocessors. J Parallel Distrib Comput 70: pp. 225236 CrossRef
 Davis, RI, Burns, A (2011) A survey of hard realtime scheduling for multiprocessor systems. ACM Comput Surv 43: pp. 35:135:44 CrossRef
 Gerstlauer, A, Haubelt, C, Pimentel, AD, Stefanov, TP, Gajski, DD, Teich, J (2009) Electronic systemlevel synthesis methodologies. IEEE Trans ComputAided Des Integr Circuits Syst 28: pp. 15171530 CrossRef
 Goddard S (1998) On the management of latency in the synthesis of realtime signal processing systems from processing graphs. PhD thesis, University of North Carolina at Chapel Hill
 Jeffay, K, Stanat, D, Martel, C (1991) On nonpreemptive scheduling of periodic and sporadic tasks. Proceedings of the 12th realtime systems symposium (RTSS 1991). pp. 129139 CrossRef
 Karam, L, AlKamal, I, Gatherer, A, Frantz, G, Anderson, D, Evans, B (2009) Trends in multicore DSP platforms. IEEE Signal Process Mag 26: pp. 3849 CrossRef
 Lee, EA, Ha, S (1989) Scheduling strategies for multiprocessor realtime DSP. IEEE global telecommunications conference and exhibition: communications technology for the 1990s and beyond (GLOBECOM 1989). pp. 12791283
 Lee, EA, Messerschmitt, DG (1987) Synchronous data flow. Proc IEEE 75: pp. 12351245 CrossRef
 Levin, G, Funk, S, Sadowski, C, Pye, I, Brandt, S (2010) DPFAIR: a simple model for understanding optimal multiprocessor scheduling. Proceedings of the 22nd Euromicro conference on realtime systems (ECRTS 2010). pp. 313 CrossRef
 López, JM, Díaz, JL, García, DF (2004) Utilization bounds for EDF scheduling on realtime multiprocessor systems. RealTime Syst 28: pp. 3968 CrossRef
 Martin, G (2006) Overview of the MPSoC design challenge. Proceedings of the 43rd annual design automation conference (DAC 2006). pp. 274279
 Moonen, A, Bekooij, M, Berg, R, Meerbergen, J (2008) Cache aware mapping of streaming applications on a multiprocessor systemonchip. Proceedings of the conference on design, automation and test in Europe (DATE 2008). pp. 300305
 Moreira, O, Mol, JD, Bekooij, M, Meerbergen, J (2005) Multiprocessor resource allocation for hardrealtime streaming with a dynamic jobmix. Proceedings of the 11th IEEE real time and embedded technology and applications symposium (RTAS 2005). pp. 332341
 Moreira, O, Valente, F, Bekooij, M (2007) Scheduling multiple independent hardrealtime jobs on a heterogeneous multiprocessor. Proceedings of the 7th ACM & IEEE international conference on embedded software (EMSOFT 2007). pp. 5766 CrossRef
 Moreira, OM, Bekooij, MJG (2007) Selftimed scheduling analysis for realtime applications. EURASIP J Adv Signal Process 2007: pp. 115 CrossRef
 Nollet, V, Verkest, D, Corporaal, H (2010) A safari through the MPSoC runtime management jungle. Signal Process Syst 60: pp. 251268 CrossRef
 Oh, H, Ha, S (2004) Fractional rate dataflow model for efficient code synthesis. J VLSI Signal Process 37: pp. 4151 CrossRef
 Parks, T, Lee, E (1995) Nonpreemptive realtime scheduling of dataflow systems. Proceedings of the 1995 international conference on acoustics, speech, and signal processing (ICASSP 1995). pp. 32353238 CrossRef
 Pellizzoni, R, Meredith, P, Nam, MY, Sun, M, Caccamo, M, Sha, L (2009) Handling mixedcriticality in SoCbased realtime embedded systems. Proceedings of the 7th ACM international conference on embedded software (EMSOFT 2009). pp. 235244 CrossRef
 Sprunt, B, Sha, L, Lehoczky, J (1989) Aperiodic task scheduling for hardrealtime systems. RealTime Syst 1: pp. 2760 CrossRef
 Sriram, S, Bhattacharyya, SS (2009) Embedded multiprocessors: scheduling and synchronization. CRC Press, Boca Raton CrossRef
 Stuijk, S, Geilen, M, Basten, T (2006) SDFT3: SDF for free. Proceedings of the 6th international conference on application of concurrency to system design (ACSD 2006). pp. 276278 CrossRef
 Thies, W, Amarasinghe, S (2010) An empirical characterization of stream programs and its implications for language and compiler design. Proceedings of the 19th international conference on parallel architectures and compilation techniques (PACT 2010). pp. 365376
 Title
 On the hardrealtime scheduling of embedded streaming applications
 Open Access
 Available under Open Access This content is freely available online to anyone, anywhere at any time.
 Journal

Design Automation for Embedded Systems
Volume 17, Issue 2 , pp 221249
 Cover Date
 20130601
 DOI
 10.1007/s106170129086x
 Print ISSN
 09295585
 Online ISSN
 15728080
 Publisher
 Springer US
 Additional Links
 Topics
 Keywords

 Realtime multiprocessor scheduling
 Embedded streaming systems
 Industry Sectors
 Authors

 Mohamed A. Bamakhrama ^{(1)}
 Todor P. Stefanov ^{(1)}
 Author Affiliations

 1. Leiden Institute of Advanced Computer Science, Leiden University, Leiden, The Netherlands