ControlPULP: A RISC-V On-Chip Parallel Power Controller for Many-Core HPC Processors with FPGA-Based Hardware-In-The-Loop Power and Thermal Emulation

Alessandro Ottaviano, Robert Balas, Giovanni Bambini, Antonio del Vecchio, Maicol Ciani, Davide Rossi, Luca Benini, Andrea Bartolini

TL;DR

ControlPULP is the first open-source, RISC-V-based parallel power controller designed to manage the complex thermal and power demands of many-core HPC processors. By offloading control algorithms to a multi-core cluster, it achieves a 4.9x speedup over traditional single-core controllers, creating the computational "slack" needed for advanced, real-time power management with negligible area overhead.

What Problem Does This Paper Address?

As we pack more cores into High-Performance Computing (HPC) processors, we hit the "power wall." We can no longer rely on simple static cooling; we need active, dynamic management to prevent thermal hotspots and stay within power budgets (Thermal Design Power, or TDP).

Traditionally, this is handled by an on-chip Power Controller System (PCS) using a single, modest microcontroller. However, as the number of cores climbs (think 72 to 144+), the math required for Multi-Input Multi-Output (MIMO) control becomes too heavy for a single core to process within the necessary microsecond-scale windows. Furthermore, existing industrial solutions are often proprietary "black boxes," making it difficult for researchers to innovate on the hardware-software interface.

Methods

The authors introduce ControlPULP, a heterogeneous RISC-V architecture:

  • Manager Domain: A single CV32E40P core handles high-level tasks, OS/BMC communication, and interrupt management using a fast Core Local Interrupt Controller (CLIC).
  • Cluster Domain: A programmable accelerator consisting of eight RISC-V cores with floating-point units (FPUs) and a specialized 2-D DMA engine. This cluster parallelizes the "heavy lifting" of the power control firmware (PCF).
  • Two-Layer Control: The software implements a 2 kHz frequency control task (PFCT) and a faster 8 kHz voltage control task (PVCT).
  • HIL Emulation: To validate the design without a multi-million dollar silicon run, they built a Hardware-In-The-Loop (HIL) framework on a Xilinx Zynq UltraScale+ FPGA. The FPGA's programmable logic hosts the ControlPULP hardware, while the ARM processor cores simulate the "plant" (the 72-core HPC CPU) using real-time thermal and power models.

Datasets

The system was evaluated using:

  • Wsynth: A custom synthetic benchmark suite designed to stress control corner cases, including WsynthMax (maximum power), WsynthIdle, WsynthMix, and WsynthFast (rapid power density switching).
  • Instruction Traces: The performance model utilizes traces derived from standard benchmarks like PARSEC and SPEC to simulate realistic HPC workloads.
  • SOTA Comparison: The authors benchmarked their control logic against a model of IBM’s OpenPOWER on-chip controller.

Key Insights and Ideas

  • Parallelism for the Controller, not just the Workload: The core "aha" moment is that the controller itself must become a parallel system. By accelerating the control loop, the authors increase the "slack" (idle time) within the control period from 70% to 95%. This extra time is a resource that can be spent on more sophisticated, predictive control algorithms that were previously too slow to run.
  • The Power of 2-D DMA: Data acquisition from hundreds of sensors is a bottleneck. Using a DMA engine capable of 2-D strided patterns allows the controller to gather PVT (Process, Voltage, Temperature) data 5.3x faster than manual core-driven reads.
  • Open-Source Transparency: By releasing the full stack (HW, RTOS, and Firmware), the authors provide a platform for the community to test low-level controllers (LLCs) that are usually hidden behind corporate NDAs.

Key Results

  • Performance: The multi-core cluster achieves a 4.9x speedup for the total power control step compared to a single-core execution.
  • Area Efficiency: Synthesized in 22nm technology, ControlPULP occupies only 1.83 mm². This represents roughly 0.1% of the area of a modern HPC CPU die—a negligible cost for a massive gain in control capability.
  • Accuracy: In HIL tests, the system tracked DVFS set-points with a mean deviation of less than 3% of the TDP.
  • Competitive Edge: ControlPULP’s reactive control algorithm achieved 5% more precise set-point tracking than the industry-standard IBM OpenPOWER implementation in Model-In-The-Loop simulations.

Limitations and Future Work

While ControlPULP is a robust research platform, the authors note a few areas for expansion:

  • Protocol Integration: Future versions will integrate more industry-standard transport layers like PLDM and MCTP for better communication with Baseboard Management Controllers (BMCs).
  • Advanced Mitigation: The authors suggest extending the system to support the Maximum Power Mitigation Mechanism (MPMM) to handle extremely high-activity events (like heavy vector instructions) even more aggressively.
  • Predictive Control: With the computational slack provided by the cluster, the next logical step is implementing Model Predictive Control (MPC) to anticipate thermal spikes before they happen.

Summary updated

BibTeX
@article{ottaviano2024controlpulp,
  author = {Alessandro Ottaviano and Robert Balas and Giovanni Bambini and Antonio del Vecchio and Maicol Ciani and Davide Rossi and Luca Benini and Andrea Bartolini},
  title = {{ControlPULP: A RISC-V On-Chip Parallel Power Controller for Many-Core HPC Processors with FPGA-Based Hardware-In-The-Loop Power and Thermal Emulation}},
  journal = {Int. J. Parallel Program.},
  year = {2024},
  doi = {10.1007/s10766-024-00761-4},
}
Figure