基于基准测试的通过 JAX 和 TensorFlow 的 CPU/GPU 功耗相关特征研究
Benchmark-based Study of CPU/GPU Power-Related Features through JAX and TensorFlow
AI总结:
本文通过基准测试研究了功率限制、频率限制和ACPI/P-State模式三种功耗管理技术对TensorFlow和JAX框架的影响,发现频率限制最能有效改善能效延迟积(EDP),且不同框架在相同设置下可能表现相反。
摘要:
考虑到“能源”日益被视为一种关键资源,功耗管理已成为现代计算领域的关键焦点。这提升了所有与“能效计算”相关主题的重要性。本文对三种主流的功耗管理技术进行了实验研究,即“功率限制”、“频率限制”和“ACPI/P-State governor 模式”(与功耗相关的操作系统状态)。通过包含六个计算内核的基准测试方法,我们研究了不同硬件单元和软件框架(主要是 TensorFlow 和 JAX)的“功耗/性能”权衡。我们的实验结果表明,“频率限制”是改善“能效延迟积(EDP)”最有效的技术,该指标是能量和运行时间的卷积。我们还观察到,与降低频率相比,在最高频率下运行可使 EDP 降低 1/10 倍。另一个值得注意的事实是,频率管理在不同 CPU 上表现出一致的行为,而在相同的功耗管理设置下,TensorFlow (TF) 和 JAX 有时会产生相反的效果。
英文摘要:
Power management has become a crucial focus in the modern computing landscape, considering that {\em energy} is increasingly recognized as a critical resource. This increased the importance of all topics related to {\em energy-aware computing}. This paper presents an experimental study of three prevalent power management techniques that are {\em power limitation, frequency limitation}, and {\em ACPI/P-State governor modes} (OS states related to power consumption). Through a benchmark approach with a set of six computing kernels, we investigate {\em power/performance} trade-off with various hardware units and software frameworks (mainly TensorFlow and JAX). Our experimental results show that {\em frequency limitation} is the most effective technique to improve {\em Energy-Delay Product (EDP)}, which is a convolution of energy and running time. We also observe that running at the highest frequency compared to a reduced one could lead to a reduction of factor $\frac{1}{10}$ in EDP. Another noticeable fact is that frequency management shows a consistent behavior with different CPUs, whereas opposite effects sometimes occur between TensorFlow (TF) and JAX with the same power management settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。