Title :
Mapping of modal applications given throughput and latency constraints
Author :
Geuns, Stefan J. ; Hausmans, Joost P H M ; Bekooij, Marco J G
Author_Institution :
Univ. of Twente, Enschede, Netherlands
Abstract :
Real-time applications such as software defined radios have different reception modes and their real-time requirements are a result of periodic sources and sinks in the form of ADCs and DACs. Tools are under development that automatically translate a sequential specification of a radio application, that often includes nested while loops to describe the modes, into a parallel task graph and map this task graph onto an embedded multiprocessor system. However the specification of strict periodic sources and sinks together with input and output buffers that can respectively overflow or underrun is currently not possible in a sequential programming language. In this paper we will introduce a nested loop program (NLP) language extension that enables the specification of periodic sources and sinks and their buffers in a sequential program. We show that parallelization of such a sequential program poses challenges because the order in which different tasks access the input and output buffers should be maintained in the parallel program. Furthermore, the buffers at the sources and sinks allow destructive writes and non-destructive reads, which causes non-deterministic functional behavior in case the throughput and latency constraint of the application are not met. The other buffers in the task graph block in case no data or space is available. Therefore, the system internals remain functionally deterministic which significantly simplifies debugging and analysis. Furthermore, to guarantee real-time requirements, we show that it is possible to conservatively model an application with nested while loops as a Cyclo-Static Dataflow (CSDF) model. Using this model we can compute a mapping of the task graph, which includes a task to processor assignment, suitable scheduler settings and buffer capacities. By making use of this CSDF model, we can guarantee that sources and sinks can run periodically under the assumption that the used execution times of the tasks are upper bounds.
Keywords :
data flow computing; data flow graphs; multiprocessing systems; parallel programming; program control structures; software radio; ADC; DAC; cyclo-static dataflow model; destructive writes; embedded multiprocessor system; latency constraint; latency constraints; modal applications; nested loop program; nondestructive reads; parallel program; parallel task graph; periodic sinks; periodic sources; program debugging; real-time applications; sequential programming language; software defined radios; Load modeling; Parallel processing; Real time systems; Schedules; Software; Synchronization; Throughput;
Conference_Titel :
Embedded Computer Systems (SAMOS), 2011 International Conference on
Conference_Location :
Samos
Print_ISBN :
978-1-4577-0802-2
Electronic_ISBN :
978-1-4577-0801-5
DOI :
10.1109/SAMOS.2011.6045487