Abstract
This study investigates the impact of Dynamic Voltage and Frequency Scaling (DVFS) on the energy efficiency and performance of deep learning workloads across multiple GPU architectures. By systematically tuning core and memory frequencies, the researchers identify a "sweet spot" for energy consumption, revealing that default factory settings are often suboptimal. The findings suggest that energy savings of up to 26% are achievable with minimal performance loss, providing a roadmap for more sustainable AI deployment.
Introduction
The rapid advancement of deep neural networks (DNNs) has led to significant breakthroughs in AI, but at the cost of substantial energy consumption. While optimization efforts typically focus on accuracy and speed, the energy efficiency of GPUs—the primary hardware for these tasks—remains under-explored. This paper addresses this gap by empirically studying how Dynamic Voltage and Frequency Scaling (DVFS) affects the power-performance trade-offs in DNN training and inference.
Methodology
The researchers evaluated four prominent DNN architectures—AlexNet, VggNet-16, GoogleNet, and ResNet-50—on three generations of NVIDIA GPUs: Pascal (P100), Volta (V100), and Turing (2080Ti). Using tools like nvidia-smi and the NVIDIA Management Library (NVML), they manually adjusted core ($f_{core}$) and memory ($f_{mem}$) frequencies to measure real-time power consumption and throughput. The study also considered the impact of different convolution implementations, such as GEMM, FFT, and Winograd.
Key Insights: The Valley Trend
A central finding of the study is the "Valley Trend" in energy consumption. For Pascal and Volta architectures, energy efficiency does not scale linearly with frequency. Instead, it follows a U-shaped curve where an optimal "sweet spot" frequency minimizes energy per image.
Beyond this point, the voltage increases required to sustain higher clock speeds cause power consumption to outpace performance gains, leading to decreased efficiency. Notably, default GPU settings are typically tuned for peak performance, often missing this energy-efficient window.
Key Results and Performance Scaling
The empirical results demonstrate significant potential for energy savings. By optimizing core frequencies, the researchers achieved average energy reductions of 23.1% on the P100 and 14.5% on the V100 during training. Inference tasks saw even greater benefits, with savings reaching up to 26.4%.
On the Turing architecture (2080Ti), the behavior differed slightly; scaling core frequency 50% above default yielded throughput improvements of up to 38.2%, suggesting that newer architectures may handle high-clock power management more effectively. Interestingly, memory frequency scaling had a negligible effect on performance for most models, indicating that modern DNNs are primarily compute-bound on high-end hardware.
Conclusion and Future Work
This study highlights the importance of hardware-level tuning for sustainable AI. While global frequency scaling offers immediate benefits, future research could explore layer-wise DVFS to tailor frequencies to the specific resource demands of different neural network layers. Additionally, extending this study to large-scale distributed environments and further optimizing software implementations like FFT could unlock even greater efficiencies in deep learning infrastructure.
Summary updated