On the Complexity of Minimizing Energy Consumption of Partitioning DAG Tasks
Wei Liu, Jian-Jia Chen, Yongjie Yang
TL;DR
This work analyzes the energy-aware DAG partitioning problem (ESP-DAG), where each vertex (task) is assigned to one of $k$ heterogeneous machines to minimize the total energy of computation plus inter-machine data transfer. The authors establish a clear complexity landscape: ESP-DAG is NP-hard for all $k\ge3$, but solvable in polynomial time for $k=2$; it remains polynomial on directed-path DAGs via dynamic programming. They further study the size-bounded two-machine variant SB-ESBP-DAG and prove it is W[1]-hard with respect to the bound $\ell$, and they provide reductions (notably from Multiway Cut) to substantiate the hardness results. Collectively, the results delineate when efficient energy-aware partitioning is feasible and when it becomes intractable, offering a foundation for further research into restricted or practical instances of energy-constrained DAG scheduling.
Abstract
We study a graph partition problem where we are given a directed acyclic graph (DAG) whose vertices and arcs can be respectively regarded as tasks and dependencies among tasks. The objective of the problem is to minimize the total energy consumed for completing these tasks by assigning the tasks to k heterogeneous machines. We first show that the problem is NP-hard. Then, we present polynomial-time algorithms for two special cases where there are only two machines and where the input DAG is a directed path. Finally, we study a natural variant where there are only two machines with one of them being capable of executing a limited number of tasks. We show that this special case remains computationally hard.
