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

Application configuration selection for energy-efficient execution on multicore systems

Shinan Wang, Bing Luo, Weisong Shi, Devesh TiwariJournal of Parallel and Distributed Computing 2015

Abstract

Optimizing energy efficiency on modern multicore systems requires navigating a complex configuration space of concurrency levels, thread mapping strategies, and frequency scaling. This paper proposes a hybrid two-step approach that combines a predictive static model with dynamic runtime tuning. By analyzing a workload's behavior using just two threads and four hardware performance counters, the system accurately predicts the most energy-efficient configuration. Experimental results show that this method achieves an average of 10% additional Energy Delay Product (EDP) savings compared to static maximum-frequency execution, with prediction errors ranging between 8% and 12%.

Introduction

Modern multicore processors offer a vast array of configuration options, including the number of active threads, thread-to-core mapping (e.g., compact vs. scatter), and Dynamic Voltage and Frequency Scaling (DVFS). While increasing thread counts typically improves performance, it also elevates power consumption and can introduce resource contention, such as cache thrashing or memory bus saturation.

Identifying the "sweet spot" for energy efficiency is challenging because it depends heavily on both the specific hardware architecture and the software workload. Traditional solutions often rely on exhaustive profiling, which is computationally expensive and lacks portability. This research addresses the need for a low-overhead, predictive model to select optimal configurations with minimal pre-execution data.

Methodology

The proposed solution is a hybrid two-step method designed to minimize profiling overhead while maximizing energy efficiency.

1. Static Configuration Selection

Before the full execution of a workload, the system performs a brief "pre-flight" run using only two threads. During this phase, it collects data from four specific Performance Monitoring Counters (PMCs): Last Level Cache (LLC) references, LLC misses, executed micro-ops (UOPs), and issued micro-ops.

These metrics are used in an analytical speedup and power model to project the application's behavior at higher concurrency levels (e.g., 4, 8, or 16 threads) and under different mapping strategies. This "two-thread" prediction is a key innovation, allowing the system to characterize the relationship between computational load and memory stalls at a small scale to project large-scale performance.

Comparison of predicted fitting lines versus actual data for execution time and power dissipation across various benchmarks.

2. Run-time DVFS Tuning

Once the optimal thread count and mapping are established, the system monitors execution in 500ms intervals. A k-nearest neighbor (k-NN) algorithm is employed to detect program phases. If a phase is identified as memory-bound—where the CPU spends significant time waiting for data—the system downclocks the CPU frequency. This reduces power consumption with negligible impact on performance, as the execution time in these phases is dominated by memory latency rather than CPU cycles.

Experimental Setup

The methodology was evaluated using two industry-standard benchmark suites:

  • NAS Parallel Benchmarks (NPB): Representing high-performance computing workloads (e.g., BT, FT, CG, LU).
  • PARSEC: Representing next-generation shared-memory applications (e.g., blackscholes, ferret, raytrace, streamcluster).

Testing was conducted on a server equipped with an Intel Xeon E5620 (Westmere-EP) processor, featuring 8 physical cores and a peak frequency of 2400MHz.

Results and Discussion

The experimental results highlight several key insights:

  • Model Accuracy: The static model demonstrated high predictive power, with an average error of only 8% to 12% for execution time and power dissipation across the tested benchmarks. As shown in the fitting data, the analytical model closely tracks real-world performance curves.
  • Energy Efficiency Gains: The hybrid scheme provided an average of 10% additional EDP savings over the best possible static configuration. For highly memory-bound benchmarks like cg.C, the improvement reached as high as 24%.
  • Proximity to Optimal: When compared against a brute-force "off-line optimal" search, the proposed method achieved within 5% of the theoretical maximum efficiency.
  • The Serial Bottleneck: The study observed that applications with significant serial components (e.g., raytrace, which can have up to 87% serial code) do not benefit from high thread counts. In such cases, the power cost of active cores outweighs the speedup, making lower concurrency more efficient.
  • Counter Selection: The "Four PMC" rule proved effective. By focusing on LLC activity and micro-op throughput, the model captures the essential characteristics of concurrency and resource contention, ensuring portability across different workloads.

Conclusion

This research demonstrates that energy-efficient execution on multicore systems can be achieved through a combination of sparse profiling and intelligent runtime management. The two-thread prediction model significantly reduces the overhead of configuration selection, while phase-aware DVFS tuning captures additional savings during memory-intensive periods.

Future work will focus on extending the model to support Simultaneous Multithreading (SMT/Hyper-Threading), where performance counters often require more complex interpretation. Additionally, the authors plan to validate the approach on heterogeneous architectures, such as ARM big.LITTLE, and systems with more complex "dark silicon" constraints.

Summary updated

BibTeX
@article{wang2015application,
  author = {Shinan Wang and Bing Luo and Weisong Shi and Devesh Tiwari},
  title = {{Application configuration selection for energy-efficient execution on multicore systems}},
  journal = {Journal of Parallel and Distributed Computing},
  year = {2015},
  doi = {10.1016/j.jpdc.2015.09.003},
}
Figure