Abstract: High performance computing (HPC) centers consume substantial amounts of energy to power large-scale supercomputers and the necessary building and cooling infrastructure. Recently, considerable performance gains resulted predominantly from developments in multi-core, many-core, and accelerator technology. Computing centers rapidly adopted this hardware to serve the increasing demand for computational power. However, further performance increases in large-scale computing systems are limited by the aggregate energy budget required to operate them. Power consumption has become a major cost factor for computing centers. Furthermore, energy consumption results in carbon dioxide emissions, a hazard for the environment and public health, and heat, which reduces the reliability and lifetime of hardware components. Energy efficiency is therefore crucial in high performance computing.
Introduction
For decades, the primary goal of High Performance Computing (HPC) was maximizing raw computational speed, typically measured in Floating Point Operations Per Second (FLOPS). However, the industry has reached a physical and economic limit known as the "power wall." Modern supercomputers consume massive amounts of electricity, leading to high operational costs, reliability issues due to heat, and significant carbon emissions. Current performance metrics, such as the Top500 list, often fail to account for the energy efficiency of real-world scientific applications. This research argues for a shift toward "energy-to-solution" metrics and presents tools to correlate software execution with hardware power consumption.
Methodology: Profiling and Characterization
To address the power wall, the authors developed several integrated approaches for energy-aware computing.
PMLib: A Modular Power Measurement Framework
The Power Measurement Library (PMLib) is a framework designed to instrument scientific applications. It collects power traces from both external AC wattmeters and internal DC sensors, correlating these traces with hardware performance counters to pinpoint energy inefficiencies within the code.
Characterizing Sparse Matrix-Vector Products (SpMV)
SpMV is a fundamental building block of scientific solvers, often arising from the discretization of physical domains. The authors characterize SpMV using a triplet of structural "sparsity properties": block size ($bs$), block density ($bd$), and row density ($rd$).
Machine Learning and Energy-Aware Runtimes
Using $k$-means clustering, the researchers classified sparse matrices into four distinct groups based on their energy and time behavior. This classification allows for qualitative predictions of how a specific matrix will perform on a given architecture. Furthermore, the study explores energy-aware runtimes that utilize ACPI standards (P-states for voltage/frequency scaling and C-states for idle power management) to throttle power during memory-bound phases or shut down idle cores during task-parallel execution.
Key Insights and Results
- The Fallacy of FLOPS/W: The research highlights that matrices with similar power profiles can have vastly different total energy requirements. Consequently, the common "FLOPS per Watt" metric used in the Green500 list can be misleading for general algorithms.
- Predictive Sparsity: By analyzing structural parameters before computation, runtimes can predict whether an operation will be cache-bound or memory-bound, allowing for proactive hardware state adjustments.
- Power Toggling and Smoothing: Tracing standard dense LU factorizations revealed that power consumption repeatedly toggles between high and low states (e.g., 301W to 390W). This "bursty" behavior suggests significant opportunities for smoothing power demand through optimized task scheduling.
- Asynchronous Iterations: In multigrid methods, relaxing strict synchronization—allowing cores to use slightly older data—can exploit the high efficiency of many-core processors without sacrificing overall convergence, thereby saving energy.
Limitations and Future Work
Hardware limitations currently hinder fine-grained energy management. On many platforms, P-states can only be set at the socket level rather than for individual cores, limiting the precision of task-parallel runtimes. Additionally, the relationship between frequency and memory bandwidth is non-linear; lowering CPU frequency can sometimes increase total energy if the execution time extends significantly. Future work aims to develop a global tool that automatically characterizes any sparse linear algebra operation and applies energy-saving techniques transparently to the user.
Summary updated