Graph Transformations for Memory Peak Minimization by Scheduling - Sound Programming of Adaptive Dependable Embedded Systems
Rapport (Rapport De Recherche) Année : 2024

Graph Transformations for Memory Peak Minimization by Scheduling

Transformations de Graphe pour la Minimisation du Pic Mémoire par Ordonnancement

Résumé

Many computing systems are constrained by a fixed amount of available shared memory. Modeling applications with task graphs or Synchronous DataFlow (SDF) graphs makes it possible to analyze and optimize their memory usage. The NP-complete problem studied here is to find a sequential schedule of dataflow graphs that minimizes their memory peak. We propose four task graph transformations that reduce the graph size while preserving the minimal memory peak. They are able to compress all Series-Parallel Directed Acyclic Graphs (SP-DAG) to a single node representing an optimal schedule (optimal in the sense that its memory peak is minimal). They also offer simple criteria to schedule optimally parallel independent tasks and guided us to develop an optimal compositional scheduling analysis. These transformations are quite effective and compress a large class of graphs into a single node representing an optimal schedule. When this is not the case, we propose an optimized branch and bound algorithm to complete the analysis of the reduced graphs. This algorithm is able to find the optimal schedule of graphs comprising up to 100 tasks. Our approach also applies to SDF graphs after converting them to task graphs. However, since this conversion may produce huge graphs, we also describe a new suboptimal method, similar to Partial Expansion Graphs, to reduce the graph and schedule sizes. We evaluate our approach on classic benchmarks, on which we always outperform the state-of-the-art.
Fichier principal
Vignette du fichier
RR-9554.pdf (814.77 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04688921 , version 1 (05-09-2024)

Licence

Identifiants

  • HAL Id : hal-04688921 , version 1

Citer

Pascal Fradet, Alain Girault, Alexandre Honorat. Graph Transformations for Memory Peak Minimization by Scheduling. RR-9554, Inria - Research Centre Grenoble – Rhône-Alpes. 2024, pp.1-42. ⟨hal-04688921⟩
105 Consultations
38 Téléchargements

Partager

More