NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Thread Progress Equalization: Dynamically Adaptive Power-Constrained Performance Optimization of Multi-Threaded Applications

Yatish Turakhia, Guangshuo Liu, Siddharth Garg, Diana Marculescu · DOI

Abstract

Thread Progress Equalization (TPEq) is a runtime management system designed to maximize the performance of multi-threaded applications under strict power constraints. By identifying "lagging" threads and dynamically reallocating power to accelerate them, TPEq ensures synchronized arrival at barriers, significantly reducing idle time. Evaluated across diverse benchmarks, TPEq achieves up to a 60% reduction in stall time and outperforms existing state-of-the-art techniques by up to 23%.

Introduction: The Power Wall and Thread Heterogeneity

Modern multicore processors are constrained by the "power wall," where the total number of transistors exceeds the thermal and electrical capacity to power them simultaneously. In this "dark silicon" era, the Operating System must intelligently distribute a limited power budget across cores. For multi-threaded applications, traditional metrics like total Instructions Per Second (IPS) are often insufficient. A thread may exhibit high IPS while spinning on a lock, contributing no useful progress. Conversely, a "laggard" thread—slowed by complex data paths or poor cache locality—can force all other threads to sit idle at a synchronization barrier.

Progress plots illustrating (a) IPC heterogeneity and (b) combined IPC and instruction count heterogeneity.

Crucially, threads differ not only in their execution speed (IPC heterogeneity) but also in the volume of work assigned to them (instruction count heterogeneity). TPEq addresses both forms of heterogeneity to minimize the time taken by the most critical thread.

Methods: The TPEq Framework

TPEq operates as a transparent runtime system, requiring no application-level modifications. It functions in discrete "epochs" (e.g., 1ms), executing a feedback loop between hardware and system software.

System architecture of TPEq, showing the interaction between hardware CPI readings and the software-based predictors and optimizer.

The system comprises two primary modules:

  1. TPEq Predictors: A history-based "last-value" predictor estimates the remaining instructions for each thread until the next barrier. Simultaneously, "CPI Stacks"—which decompose cycles into compute, memory, branch, and synchronization components—are used to predict performance and power consumption across all possible core configurations (e.g., varying issue widths or buffer sizes).
  2. TPEq Optimizer: The optimizer solves a global optimization problem: minimizing the execution time of the slowest thread within the power budget. It employs an efficient $O(MN \log N)$ algorithm that iteratively upgrades the power state of the most lagging core until the budget is exhausted.

Evaluation and Results

The system was evaluated using the Sniper multicore simulator and McPAT power modeling across 18 benchmarks from the SPLASH-2, PARSEC, and Phoenix suites. These benchmarks represent varying degrees of workload homogeneity.

Key findings include:

  • Performance Gains: TPEq outperformed Criticality Stacks (CS) by up to 23% and MaxBIPS by up to 15%.
  • Stall Reduction: In benchmarks like FFT, stall time was reduced by nearly 60% compared to baseline configurations.
  • Efficiency: The optimization logic is highly efficient, with an execution overhead of less than 0.6% for a 16-core system.
  • DVFS Compatibility: While optimized for micro-architectural tuning, TPEq is also effective for standard Dynamic Voltage and Frequency Scaling (DVFS), yielding a 6.9% improvement over MaxBIPS.

Conclusion

TPEq demonstrates that holistic management of both IPC and instruction count heterogeneity is essential for power-constrained performance. By equalizing thread progress, it effectively mitigates the impact of laggards in barrier-synchronized applications. Future work will explore extending TPEq to handle scenarios where the number of threads exceeds available cores and generalizing the progress metric for non-barrier synchronization patterns.

Summary updated

BibTeX
@article{turakhia2017thread,
  author = {Yatish Turakhia and Guangshuo Liu and Siddharth Garg and Diana Marculescu},
  title = {{Thread Progress Equalization: Dynamically Adaptive Power-Constrained Performance Optimization of Multi-Threaded Applications}},
  journal = {IEEE Trans. Computers},
  year = {2017},
  doi = {10.1109/tc.2016.2608951},
}
Figure