Predictable run-time mapping reconfiguration for real-time applications on many-core systems

Many-core systems enable the concurrent execution of dynamic mixes of applications on a shared set of dynamically available resources. Predictable execution of real-time applications requires timing guarantees to ensure the satisfaction of the real-time constraints. To enable this, a design-time Design Space Exploration (DSE) may be employed to extract multiple mappings of the application on the target platform. Each mapping corresponds to a certain set of allocated resources and delivers certain real-time qualities, e.g., worst-case application latency or throughput. The mappings are subsequently provided to a Run-time Manager (RM) which selects and embeds a fitting mapping for the given on-line set of constraints, e.g., performance requirements or resource availability. Being dynamic in nature, the constraints may change during the execution of the application to values that cannot be satisfied unless by switching to another mapping, in a process called mapping reconfiguration. Mapping reconfiguration involves migration of multiple tasks and may become a source of run-time unpredictability. This paper presents a deterministic mapping reconfiguration mechanism supported with an off-line analysis step to enable predictable reconfigurations among a set of precomputed mappings. For each pair of source and target mappings, we statically a) identify efficient migration routes with minimal allocation overhead and migration latency for migrating tasks based on which b) we determine the worst-case reconfiguration latency. Experimental results for a variety of hard real-time applications show that the proposed approach enables reconfigurations with low allocation overhead and affordable latency. We demonstrate the significance of reconfiguration predictability by showing that a considerable share of the reconfigurations would be unfeasible as their worst-case latency exceeds the given application deadline.

[1]  Piotr Dziurzanski,et al.  A Survey and Comparative Study of Hard and So Real-time Dynamic Resource Allocation Strategies for Multi / Many-core Systems , 2017 .

[2]  Sander Stuijk,et al.  A Case Study into Predictable and Composable MPSoC Reconfiguration , 2013, 2013 IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum.

[3]  Andreas Herkersdorf,et al.  Dependable task and communication migration in tiled manycore system-on-chip , 2014, Proceedings of the 2014 Forum on Specification and Design Languages (FDL).

[4]  SinghAmit Kumar,et al.  A Survey and Comparative Study of Hard and Soft Real-Time Dynamic Resource Allocation Strategies for Multi-/Many-Core Systems , 2017 .

[5]  Radu Marculescu,et al.  Energy-aware mapping for tile-based NoC architectures under performance constraints , 2003, ASP-DAC '03.

[6]  Michael Glaß,et al.  Automatic operating point distillation for hybrid mapping methodologies , 2017, Design, Automation & Test in Europe Conference & Exhibition (DATE), 2017.

[7]  Andrea Acquaviva,et al.  Impact of Task Migration on Streaming Multimedia for Embedded Multiprocessors: A Quantitative Evaluation , 2007, 2007 IEEE/ACM/IFIP Workshop on Embedded Systems for Real-Time Multimedia.

[8]  Frank Mueller,et al.  Predictable task migration for locked caches in multi-core systems , 2011, LCTES '11.

[9]  Olivier Gruber,et al.  Transparent and portable agent based task migration for data-flow applications on multi-tiled architectures , 2015, 2015 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[10]  Fernando Gehm Moraes,et al.  Scalability evaluation in many-core systems due to the memory organization , 2016, 2016 IEEE International Conference on Electronics, Circuits and Systems (ICECS).

[11]  Jinxiang Wang,et al.  Low overhead task migration mechanism in NoC-based MPSoC , 2013, 2013 IEEE 10th International Conference on ASIC.

[12]  Akash Kumar,et al.  Hardware task migration module for improved fault tolerance and predictability , 2015, 2015 International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation (SAMOS).

[13]  Andrea Acquaviva,et al.  Assessing Task Migration Impact on Embedded Soft Real-Time Streaming Multimedia Applications , 2008, EURASIP J. Embed. Syst..

[14]  Peter Smith,et al.  Heterogeneous process migration: the Tui system , 1998, Softw. Pract. Exp..

[15]  Jan Richling,et al.  Position Paper: Real-Time Task Migration on Many-Core Processors , 2015 .

[16]  Dejan S. Milojicic,et al.  Process migration , 1999, ACM Comput. Surv..

[17]  Paul Pop,et al.  Task migration for fault-tolerance in mixed-criticality embedded systems , 2009, SIGBED.

[18]  Martin Lukasiewycz,et al.  Opt4J: a modular framework for meta-heuristic optimization , 2011, GECCO '11.

[19]  Piotr Dziurzanski,et al.  Energy-Aware Resource Allocation in Multi-mode Automotive Applications with Hard Real-Time Constraints , 2016, 2016 IEEE 19th International Symposium on Real-Time Distributed Computing (ISORC).

[20]  Jan Richling,et al.  Migration-aware WCET estimation for heterogeneous multi-cores , 2014, SIGBED.

[21]  Amit Kumar Singh,et al.  Mapping on multi/many-core systems: Survey of current and emerging trends , 2013, 2013 50th ACM/EDAC/IEEE Design Automation Conference (DAC).

[22]  Robert Hilbrich,et al.  Partitioning and Task Transfer on NoC-based Many-Core Processors in the Avionics Domain , 2011, Softwaretechnik-Trends.

[23]  Jonathan M. Smith,et al.  A survey of process migration mechanisms , 1988, OPSR.

[24]  William J. B. Oldham,et al.  Dynamic Task Allocation Models for Large Distributed Computing Systems , 1995, IEEE Trans. Parallel Distributed Syst..

[25]  Flávio Rech Wagner,et al.  Impact of task migration in NoC-based MPSoCs for soft real-time applications , 2007, 2007 IFIP International Conference on Very Large Scale Integration.

[26]  Coniferous softwood GENERAL TERMS , 2003 .

[27]  Kedar Maheshwar Katre Policies for Migration of Real-Time tasks in Embedded Multicore Systems , 2010 .

[28]  Davide Bertozzi,et al.  Supporting Task Migration in Multi-Processor Systems-on-Chip: A Feasibility Study , 2006, Proceedings of the Design Automation & Test in Europe Conference.

[29]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[30]  Théodore Marescaux,et al.  Centralized run-time resource management in a network-on-chip containing reconfigurable hardware tiles , 2005, Design, Automation and Test in Europe.

[31]  Jean-Philippe Diguet,et al.  Move Based Algorithm for Runtime Mapping of Dataflow Actors on Heterogeneous MPSoCs , 2017, J. Signal Process. Syst..

[32]  Sheldon X.-D. Tan,et al.  Task Migrations for Distributed Thermal Management Considering Transient Effects , 2015, IEEE Transactions on Very Large Scale Integration (VLSI) Systems.

[33]  Laurent Gantel,et al.  Multiprocessor Task Migration Implementation in a Reconfigurable Platform , 2009, 2009 International Conference on Reconfigurable Computing and FPGAs.

[34]  Luca Benini,et al.  Networks on chip: a new paradigm for systems on chip design , 2002, Proceedings 2002 Design, Automation and Test in Europe Conference and Exhibition.

[35]  Simon Holmbacka,et al.  Task Migration for Dynamic Power and Performance Characteristics on Many-Core Distributed Operating Systems , 2013, 2013 21st Euromicro International Conference on Parallel, Distributed, and Network-Based Processing.

[36]  Hermann Kopetz,et al.  Real-time systems , 2018, CSC '73.

[37]  Michael Glaß,et al.  DAARM: Design-time application analysis and run-time mapping for predictable execution in many-core systems , 2014, 2014 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).