Optimization and Controlled Systems: A Case Study on Thermal Aware Workload Dispatching

Andrea Bartolini, Michele Lombardi, Michela Milano, Luca Benini

Introduction

Modern multi-core processors are increasingly constrained by the "thermal wall." As core density rises, the resulting heat generation necessitates on-line thermal controllers that automatically throttle core performance to prevent hardware damage. While effective for safety, these controllers introduce non-linear, reactive behaviors that are difficult to predict, creating a "black box" effect for workload dispatching. Traditional mathematical models often fail to capture these dynamics, leading to a significant gap between off-line optimization and real-time execution. This paper presents a hybrid approach that integrates Machine Learning (ML) with Constraint Programming (CP) to bridge this gap, optimizing workload distribution by accounting for the chip's internal thermal management logic.

Methodology

The proposed solution leverages the strengths of both Artificial Neural Networks (ANNs) and declarative optimization.

Modeling Thermal Behavior with ANNs

The researchers trained ANNs to emulate the behavior of the Intel Single-chip Cloud Computer (SCC), a 48-core prototype. The network predicts a core's efficiency by considering ambient temperature, local task characteristics, and the "neighborhood effect"—thermal leakage from adjacent cores. By using the average Clocks Per Instruction (CPI) of cardinal neighbors as an input, the model captures the spatial dependencies of heat dissipation.

Absolute error distribution of the Artificial Neural Network (ANN) used to model thermal controller behavior.

Optimization via Neuron Constraints

The core innovation lies in the "Neuron Constraint" technique. Rather than using the ANN as a post-processing tool, the trained network is embedded directly into a CP solver. This allows the optimizer to evaluate the thermal consequences of potential dispatching decisions during the search process. To navigate the vast search space of a 48-core system, a Large Neighborhood Search (LNS) algorithm is employed, iteratively refining solutions to achieve high-quality results within a practical timeframe.

Experimental Setup

The approach was validated using a high-fidelity trace-driven simulator based on the "Hotspot" thermal model, targeting the Intel SCC architecture. Two primary workload groups were tested:

  • Group A: Moderate thermal stress (75% computation-bound, 25% memory-bound).
  • Group B: High thermal stress (85% computation-bound, 15% memory-bound).

The objective was to maximize worst-case platform efficiency, ensuring that no single core becomes a thermal bottleneck that degrades overall system performance.

Results and Discussion

The hybrid ANN-CP approach demonstrated substantial improvements over traditional dispatching heuristics (such as simple CPI-based proxies).

Performance Gains

In moderate scenarios (Group A), the model achieved a 6–8% efficiency boost. However, the true value of the ML-integrated approach became evident under high thermal stress. In Group B tests, the ANN-guided model outperformed standard methods by over 30%. This suggests that as thermal interactions become more complex and non-linear, the predictive power of the ANN becomes increasingly critical for effective optimization.

Efficiency comparison for high-stress workloads (Group B), demonstrating the significant advantage of the ANN-guided approach over traditional heuristics.

Computational Efficiency

The solver typically converged on high-quality dispatching solutions in approximately 5 seconds. While this latency is too high for micro-second task scheduling, it is well-suited for batch dispatching of medium-to-long duration jobs in data center environments.

Conclusion

This research demonstrates that embedding machine learning models within optimization frameworks can effectively "tame" the complex, closed-loop behaviors of modern hardware. While the current study relies on simulation, it provides a robust foundation for future work, including live hardware validation and scaling to data-center-level core counts. Future iterations may also address "model exploitation," where the optimizer identifies inaccuracies in the ANN's approximation, by using active learning to augment the training set in problematic regions of the state space.

Summary updated

BibTeX
@inproceedings{bartolini2012optimization,
  author = {Andrea Bartolini and Michele Lombardi and Michela Milano and Luca Benini},
  title = {{Optimization and Controlled Systems: A Case Study on Thermal Aware Workload Dispatching}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2012},
  doi = {10.1609/aaai.v26i1.8138},
}
Figure