Power Redistribution for Optimizing Performance in MPI Clusters

Ramy Medhat, Borzoo Bonakdarpour, Sebastian FischmeisterarXiv 2014

Introduction

In high-performance computing (HPC), power consumption is a critical physical constraint. Data centers often operate under strict "power caps," where the total electrical draw is limited. While parallel programs using the Message Passing Interface (MPI) are designed for efficiency, they frequently suffer from synchronization bottlenecks. Hardware heterogeneity or varying workloads cause some nodes to finish tasks early and sit idle—a state the authors term a "blackout"—while others continue to work. This idle time represents wasted power that could otherwise be leveraged to accelerate the remaining active tasks.

The Power Redistribution Framework

The researchers propose a dynamic system to redistribute this "trapped" power from idle nodes to those on the critical path. The architecture centers on a custom MPI wrapper and a central Power Distribution Controller.

Figure 1: System architecture for dynamic power redistribution, showing the interaction between nodes, the network, and the central controller.

As shown in Figure 1, each node is equipped with a Block Detector and a Power-to-Frequency Translator. When a node reaches a synchronization point and becomes blocked, the detector sends a report message to the central controller. The controller then calculates the available power surplus and issues a distribution message to active nodes, allowing them to increase their CPU frequency and finish their tasks faster.

Modeling and Heuristics

To optimize this process, the authors first modeled applications using a Job Dependency Graph (JDG). This directed acyclic graph represents code blocks as nodes and dependencies as edges. While an Integer Linear Programming (ILP) approach provides the theoretical optimal distribution, the authors developed a lightweight online heuristic for real-time execution.

Figure 6: Execution timeline of three nodes, highlighting a "blocked" period where power can be reclaimed and redistributed.

A key concept in this heuristic is "stretching." If a task is not on the critical path, the system may intentionally run it at a lower power level. This prevents the node from finishing early and idling, effectively "stretching" the task to meet the synchronization point while freeing up peak power for more critical operations. Figure 6 illustrates how these blocked periods occur in a typical multi-node execution environment.

Experimental Results

The system was evaluated using the NAS Parallel Benchmark (NPB) suite on ARM-based hardware. The results demonstrated significant performance gains:

  • CPU-Intensive Tasks: The Embarrassingly Parallel (EP) benchmark saw speedups of up to 2.25x under the online heuristic.
  • Heterogeneous Environments: The system excelled when nodes had varying capabilities, as these environments naturally produce more frequent and longer "blackouts."
  • The Communication Limit: For communication-heavy benchmarks like Conjugate Gradient (CG), the overhead of frequent power switching led to a slight performance decrease (0.98x), indicating a "breakeven point" where redistribution costs outweigh the benefits.

Conclusion

By treating cluster power as a fluid, redistributable resource rather than a static per-node limit, this research enables significant performance improvements without requiring developers to modify existing MPI code. Future work aims to reduce controller overhead for larger clusters and incorporate machine learning to predict blocking durations, further refining the "stretching" logic.

Summary updated

BibTeX
@misc{medhat2014power,
  author = {Ramy Medhat and Borzoo Bonakdarpour and Sebastian Fischmeister},
  title = {{Power Redistribution for Optimizing Performance in MPI Clusters}},
  year = {2014},
  eprint = {1410.6824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1410.6824},
}
Figure