[Paper Review] Efficiency Near the Edge: Increasing the Energy Efficiency of FFTs on GPUs for Real-Time Edge Computing
This paper proposes dynamic frequency scaling of NVIDIA GPUs to significantly improve energy efficiency of Fast Fourier Transform (FFT) computations without compromising real-time performance. By tuning core clock frequencies using the NVIDIA Management Library, the authors achieve up to 60% lower power consumption on V100 GPUs with under 10% execution time increase, and demonstrate that a single optimal frequency per GPU model yields comparable savings across diverse FFT sizes and precisions.
The Square Kilometer Array (SKA) is an international initiative for developing the world's largest radio telescope with a total collecting area of over a million square meters. The scale of the operation, combined with the remote location of the telescope, requires the use of energy-efficient computational algorithms. This, along with the extreme data rates that will be produced by the SKA and the requirement for a real-time observing capability, necessitates in-situ data processing in an edge style computing solution. More generally, energy efficiency in the modern computing landscape is becoming of paramount concern. Whether it be the power budget that can limit some of the world's largest supercomputers, or the limited power available to the smallest Internet-of-Things devices. In this article, we study the impact of hardware frequency scaling on the energy consumption and execution time of the Fast Fourier Transform (FFT) on NVIDIA GPUs using the cuFFT library. The FFT is used in many areas of science and it is one of the key algorithms used in radio astronomy data processing pipelines. Through the use of frequency scaling, we show that we can lower the power consumption of the NVIDIA A100 GPU when computing the FFT by up to 47% compared to the boost clock frequency, with less than a 10% increase in the execution time. Furthermore, using one common core clock frequency for all tested FFT lengths, we show on average a 43% reduction in power consumption compared to the boost core clock frequency with an increase in the execution time still below 10%. We demonstrate how these results can be used to lower the power consumption of existing data processing pipelines. These savings, when considered over years of operation, can yield significant financial savings, but can also lead to a significant reduction of greenhouse gas emissions.
Motivation & Objective
- To improve energy efficiency of FFT computations on GPUs for real-time edge and high-performance computing.
- To address the challenge of high power consumption in large-scale data processing pipelines, such as those in the Square Kilometre Array (SKA) radio telescope.
- To evaluate the trade-off between energy efficiency and execution time when scaling GPU core clock frequencies.
- To identify a single, universally applicable optimal core clock frequency per GPU model that maintains high energy efficiency across varying FFT problem sizes and numerical precisions.
Proposed method
- Systematically measured power consumption and execution time of cuFFT library calls across five NVIDIA GPUs (V100, P4, Titan V, Jetson Nano, and others) at various core clock frequencies.
- Used dynamic voltage and frequency scaling (DVFS) to adjust GPU clock frequencies while maintaining real-time processing constraints.
- Evaluated performance across three numerical precisions: FP16, FP32, and FP64, for a wide range of FFT lengths.
- Identified the optimal core clock frequency for each GPU and precision that minimizes power consumption while keeping execution time increase below 10%.
- Proposed and validated a mean optimal core clock frequency per GPU model that achieves near-optimal energy efficiency across all FFT lengths.
- Implemented runtime frequency switching in a real data processing pipeline using the NVIDIA Management Library (NVML), targeting only the FFT kernel execution.
Experimental results
Research questions
- RQ1What is the optimal core clock frequency for minimizing power consumption during FFT computation on modern NVIDIA GPUs?
- RQ2How does dynamic frequency scaling affect execution time and energy efficiency across different FFT problem sizes and numerical precisions?
- RQ3Can a single, mean optimal core clock frequency be used across all FFT lengths for a given GPU and precision, achieving near-optimal energy efficiency?
- RQ4To what extent can energy efficiency be improved without violating real-time processing constraints in high-throughput data pipelines?
- RQ5How do the energy efficiency gains scale across different GPU architectures, including high-end data center and low-power edge devices?
Key findings
- On the NVIDIA V100 GPU, dynamic frequency scaling reduced FFT power consumption by up to 60% compared to the boost clock frequency, with less than 10% increase in execution time.
- Using a single mean optimal core clock frequency per GPU model, the authors achieved an average 50% reduction in power consumption compared to the boost frequency, with execution time increase still below 10%.
- For the Jetson Nano, energy efficiency improved by up to 70% (FP32 and FP16) and 55% (FP64), though with a higher execution time increase of over 60%.
- The optimal core clock frequency was found to be largely independent of FFT length for each GPU and precision, enabling the use of a single frequency across all problem sizes.
- The energy efficiency improvement of 5 percentage points when using the mean optimal frequency instead of the per-length optimal frequency was consistent across GPUs, with minimal performance loss.
- The practical implementation in a real data processing pipeline confirmed that dynamic frequency scaling via NVML reduced power consumption in line with theoretical predictions, with a 30% energy efficiency gain observed in a configuration where FFTs accounted for 60% of total execution time.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.