Enforcing Deadlines for Skeleton-based Parallel Programming

Autor: Enrico Bini, Marco Aldinucci, Murray Cole, Christian Fensch, Paul Metzger
Rok vydání: 2020
Předmět:
Zdroj: RTAS
Metzger, P, Cole, M, Fensch, C, Aldinucci, M & Bini, E 2020, Enforcing Deadlines for Skeleton-based Parallel Programming . in 2020 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS) . Institute of Electrical and Electronics Engineers (IEEE), pp. 188-199, 26th IEEE Real-Time and Embedded Technology and Applications Symposium, Sydney, New South Wales, Australia, 21/04/20 . https://doi.org/10.1109/RTAS48715.2020.000-7
DOI: 10.1109/rtas48715.2020.000-7
Popis: High throughput applications with real-time guarantees are increasingly relevant. For these applications, parallelism must be exposed to meet deadlines. Directed Acyclic Graphs (DAGs) are a popular and very general application model that can capture any possible interaction among threads. However, we argue that by constraining the application structure to a set of composable “skeletons”, at the price of losing some generality w.r.t. DAGs, the following advantages are gained: (i) a finer model of the application enables tighter analysis, (ii) specialised scheduling policies are applicable, (iii) programming is simplified, (iv) specialised implementation techniques can be exploited transparently, and (v) the program can be automatically tuned to minimise resource usage while still meeting its hard deadlines.As a first step towards a set of real-time skeletons we conduct a case study with the job farm skeleton and the hard realtime XMOS xCore-200 microcontroller. We present an analytical framework for job farms that reduces the number of required cores by scheduling jobs in batches, while ensuring that deadlines are still met. Our experimental results demonstrate that batching reduces the minimum sustainable period by up to 22%, leading to a reduced number of required cores. The framework chooses the best parameters in 83% of cases and never selects parameters that cause deadline misses. Finally, we show that the overheads introduced by the skeleton abstraction layer are negligible.
Databáze: OpenAIRE