Researchers from ETH Zurich and the University of Bologna have developed a hardware-software co-design to address the thermal and power challenges of modern many-core processors. By offloading Model Predictive Control (MPC) to a dedicated RISC-V accelerator, they achieve high-speed, deterministic thermal management that significantly outperforms traditional software-based approaches.
The Challenge: Thermal Management in Many-Core Systems
Modern High-Performance Computing (HPC) chips are increasingly dense, often integrating hundreds of processing elements (PEs) on a single die. This density creates "thermal hotspots" and steep temperature gradients that can compromise hardware reliability and lifespan.
Runtime Active Control (RAC) is typically used to manage these dynamics. Traditionally, this is handled by the Operating System's High-Level Controller (HLC). However, OS-level control suffers from unpredictable timing (jitter) and high latency, making it too slow for the millisecond-scale thermal dynamics of modern chips. While Model Predictive Control (MPC) offers optimal management of these variables, its computational intensity—requiring thousands of complex optimization solutions per second—exceeds the capabilities of standard embedded controllers.
Proposed Solution: A Delegation-Based Paradigm
The researchers propose moving control logic from the OS to a dedicated on-chip Low-Level Controller (LLC). This "delegation-based" approach minimizes the overhead and latency associated with high-level software management.
1. Hardware Platform: ControlPULP
The system utilizes ControlPULP, an 8-core RISC-V "Snitch" cluster. These cores are optimized with Sparse Stream Semantic Registers (SSSRs) and hardware loops, enabling efficient "gather" and "scatter" memory operations. This architecture is specifically designed to handle the irregular mathematical operations inherent in optimization solvers with minimal overhead.
2. Discrete Model Pruning (DMP)
Thermal physics is inherently local; a core's thermal impact diminishes significantly with distance. The authors leverage this by introducing a pruning algorithm that zeros out weak thermal couplings. This transforms the problem complexity from quadratic to linear, drastically reducing the memory footprint required for the thermal model.
3. ParSPL: Parallel Sparsity-Pattern-Leveraging Solver
The core software innovation is ParSPL, a parallel solver for sparse triangular systems. Because the chip's physical layout is static, the math problem's "sparsity pattern" is known in advance. ParSPL uses Ahead-of-Time (AOT) scheduling to distribute workloads across the 8 RISC-V cores, minimizing runtime synchronization costs and maximizing Floating Point Unit (FPU) utilization.
Key Results and Performance
The co-designed system was evaluated using cycle-accurate RTL simulations targeting a 12nm process.
- Latency: The controller manages 144 PEs with sub-millisecond latency (0.69 ms for 81 cores), meeting the 1kHz bandwidth requirement for effective thermal management.
- Efficiency: Compared to a standard single-core OSQP implementation, the system is 33× faster and 7.9× more energy-efficient.
- Overhead: The entire controller occupies less than 1.5% of the total die area and consumes only 325 mW, making it a highly efficient addition to HPC processors.
Conclusion and Future Outlook
By exploiting thermal sparsity and utilizing specialized RISC-V hardware, the researchers demonstrated that complex MPC can be efficiently offloaded to dedicated on-chip controllers. While the current implementation uses 32-bit floating-point (FP32) for stability, future work may explore mixed-precision math to further reduce memory requirements. As HPC chips scale toward thousands of cores, hierarchical control structures based on this RISC-V architecture offer a promising path for exascale thermal management.
Summary updated