Static task mapping for heterogeneous systems based on series-parallel decompositions
Martin Wilhelm, Thilo Pionteck
TL;DR
This work tackles static task mapping in highly heterogeneous systems with many tasks and dependencies by introducing a decomposition-based principle that leverages series-parallel graph structures and a fast model-based cost function. It constructs a forest of series-parallel decomposition trees for general DAGs and provides practical FirstFit heuristics (γ-threshold and basic FirstFit) to guide mappings efficiently. Across synthetic and real-world benchmarks, the approach yields substantial makespan improvements over MILP, GA, HEFT, and PEFT while remaining orders of magnitude faster than genetic algorithms, with the largest benefit when the task graph is at least almost series-parallel. The method enables scalable, high-quality static mappings for complex heterogeneous platforms, including streaming data paths on FPGAs, making it suitable for practical deployment on workload-rich systems.
Abstract
Modern heterogeneous systems consist of many different processing units, such as CPUs, GPUs, FPGAs and AI units. A central problem in the design of applications in this environment is to find a beneficial mapping of tasks to processing units. While there are various approaches to task mapping, few can deal with high heterogeneity or applications with a high number of tasks and many dependencies. In addition, streaming aspects of FPGAs are generally not considered. We present a new general task mapping principle based on graph decompositions and model-based evaluation that can find beneficial mappings regardless of the complexity of the scenario. We apply this principle to create a high-quality and reasonably efficient task mapping algorithm using series-parallel decompositions. For this, we present a new algorithm to compute a forest of series-parallel decomposition trees for general DAGs. We compare our decomposition-based mapping algorithm with three mixed-integer linear programs, one genetic algorithm and two variations of the Heterogeneous Earliest Finish Time (HEFT) algorithm. We show that our approach can generate mappings that lead to substantially higher makespan improvements than the HEFT variations in complex environments while being orders of magnitude faster than a mapper based on genetic algorithms or integer linear programs.
