Skip to main content
QUICK REVIEW

[論文レビュー] Efficiency Near the Edge: Increasing the Energy Efficiency of FFTs on GPUs for Real-Time Edge Computing

Adamek K, Novotny J|arXiv (Cornell University)|Jan 1, 2021
Parallel Computing and Optimization TechniquesComputer Science参考文献 48被引用数 17
ひとこと要約

本稿では、NVIDIA GPUの動的周波数スケーリングを提案し、リアルタイム性能に影響を与えることなく、高速フーリエ変換(FFT)計算のエネルギー効率を顕著に向上させることを目的としている。NVIDIA Management Library(NVML)を用いてコアクロック周波数を最適化することで、V100 GPUでは最大60%の電力消費削減が達成され、実行時間の増加は10%未満に抑えられた。また、GPUモデルごとに1つの最適周波数を設定することで、さまざまなFFTサイズと精度において同等の節電効果が得られることを示した。

ABSTRACT

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.

研究の動機と目的

  • リアルタイムエッジコンピューティングおよびハイパフォーマンスコンピューティング向けに、GPU上でのFFT計算のエネルギー効率を向上させること。
  • スケールの大きなデータ処理パイプライン(例:電波望遠鏡であるSquare Kilometre Array(SKA))における高い電力消費の課題に対処すること。
  • GPUコアクロック周波数をスケーリングする際の、エネルギー効率と実行時間のトレードオフを評価すること。
  • 異なるFFT問題サイズおよび数値精度において、高いエネルギー効率を維持できる、GPUモデルごとに1つの普遍的な最適コアクロック周波数を同定すること。

提案手法

  • V100、P4、Titan V、Jetson Nano、その他のNVIDIA GPUの5種類のGPUについて、さまざまなコアクロック周波数でのcuFFTライブラリ呼び出しの電力消費量と実行時間を体系的に測定した。
  • 動的電圧周波数スケーリング(DVFS)を用いて、リアルタイム処理制約を保ちながらGPUクロック周波数を調整した。
  • 広範なFFT長さに対して、3種類の数値精度(FP16、FP32、FP64)で性能を評価した。
  • 各GPUおよび精度ごとに、電力消費を最小限に抑えつつ実行時間の増加を10%未満に抑える最適コアクロック周波数を同定した。
  • すべてのFFT長さでほぼ最適のエネルギー効率を達成できる、GPUモデルごとの平均最適コアクロック周波数を提案・検証した。
  • NVIDIA Management Library(NVML)を用いて、実際のデータ処理パイプラインでFFTカーネル実行に限定して、実行時周波数切り替えを実装した。

実験結果

リサーチクエスチョン

  • RQ1最新のNVIDIA GPUにおいて、FFT計算時の電力消費を最小限に抑える最適コアクロック周波数は何か?
  • RQ2動的周波数スケーリングは、異なるFFT問題サイズおよび数値精度において、実行時間とエネルギー効率にどのように影響を与えるか?
  • RQ3あるGPUおよび精度に対して、すべてのFFT長さにわたって1つの平均最適コアクロック周波数を適用することで、ほぼ最適のエネルギー効率を達成できるか?
  • RQ4高スループットのデータパイプラインにおいて、リアルタイム処理制約を守りながら、エネルギー効率をどの程度向上できるか?
  • RQ5ハイエンドデータセンターデバイスおよび低消費電力エッジデバイスを含む、さまざまなGPUアーキテクチャにおいて、エネルギー効率の向上はどの程度スケーリングされるか?

主な発見

  • NVIDIA V100 GPUでは、動的周波数スケーリングにより、ブースト周波数と比較してFFTの電力消費が最大60%削減され、実行時間の増加は10%未満であった。
  • GPUモデルごとに1つの平均最適コアクロック周波数を用いることで、ブースト周波数と比較して平均で50%の電力消費削減が達成され、実行時間の増加も10%未満に抑えられた。
  • Jetson Nanoでは、エネルギー効率が最大70%(FP32およびFP16)および55%(FP64)向上したが、実行時間の増加は60%以上にのぼった。
  • 各GPUおよび精度において、最適コアクロック周波数はFFT長さにほとんど依存せず、すべての問題サイズにわたって1つの周波数を適用可能であることが判明した。
  • 平均最適周波数を用いることで、長さごとの最適周波数と比較してエネルギー効率が5ポイント向上したが、これはGPU間で一貫しており、性能損失は最小限であった。
  • 実際のデータ処理パイプラインへの実装により、NVMLを介した動的周波数スケーリングが理論的予測と整合し、FFTが合計実行時間の60%を占める設定で30%のエネルギー効率向上が確認された。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。