arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.00825cs.PF
收藏

ALEA:基本块采样的细粒度能量剖面

ALEA: Fine-grain Energy Profiling with Basic Block Sampling

Lev Mukhanov, Dimitrios S. Nikolopoulos, Bronis R. de Supinski

摘要:

能源效率是所有当代计算系统的基本要求。因此,我们需要工具来测量计算系统的能耗,并了解工作负载如何影响它。最近的重要研究工作已经针对使用板载传感器或外部仪器的生产计算系统的直接功率测量。这些直接的方法反过来又指导了软件技术的研究,通过工作负载分配和扩展来减少能耗。不幸的是,直接能量测量受到功率传感器的低功率采样频率的阻碍。功率感测的粗粒度限制了我们对系统中功率如何分配的理解,以及我们通过工作负载分配优化能效的能力。我们提出了ALEA,一个工具来测量功率和能量消耗的粒度的基本块,使用概率的方法。ALEA通过统计采样提供细粒度的能量分析,克服了功率传感仪器的局限性。与最先进的能源测量工具相比,ALEA提供了更精细的粒度,而不会牺牲精度。ALEA在英特尔和ARM平台上测试的14个顺序和并行基准测试中实现了低开销的能量测量,平均出错率在1.4%和3.5%之间。采样方法将执行时间开销限制在大约1%。因此,ALEA适用于在线能源监测和优化。最后,ALEA是一个用户空间的工具,具有便携式,独立于机器的采样方法。我们展示了ALEA的两个用例,通过改变基本块之间的功率优化策略,与高性能执行基线相比,我们将k均值计算内核的能耗降低了37%,将海洋建模代码的能耗降低了33%。

英文摘要:

Energy efficiency is an essential requirement for all contemporary computing systems. We thus need tools to measure the energy consumption of computing systems and to understand how workloads affect it. Significant recent research effort has targeted direct power measurements on production computing systems using on-board sensors or external instruments. These direct methods have in turn guided studies of software techniques to reduce energy consumption via workload allocation and scaling. Unfortunately, direct energy measurements are hampered by the low power sampling frequency of power sensors. The coarse granularity of power sensing limits our understanding of how power is allocated in systems and our ability to optimize energy efficiency via workload allocation. We present ALEA, a tool to measure power and energy consumption at the granularity of basic blocks, using a probabilistic approach. ALEA provides fine-grained energy profiling via statistical sampling, which overcomes the limitations of power sensing instruments. Compared to state-of-the-art energy measurement tools, ALEA provides finer granularity without sacrificing accuracy. ALEA achieves low overhead energy measurements with mean error rates between 1.4% and 3.5% in 14 sequential and parallel benchmarks tested on both Intel and ARM platforms. The sampling method caps execution time overhead at approximately 1%. ALEA is thus suitable for online energy monitoring and optimization. Finally, ALEA is a user-space tool with a portable, machine-independent sampling method. We demonstrate two use cases of ALEA, where we reduce the energy consumption of a k-means computational kernel by 37% and an ocean modelling code by 33%, compared to high-performance execution baselines, by varying the power optimization strategy between basic blocks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑