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

METRION:一个用于准确软件能耗测量的框架

METRION: A Framework for Accurate Software Energy Measurement

University of Augsburg(奥格斯堡大学)

Benjamin Weigell, Simon Hornung, Bernhard Bauer

AI总结:

METRION框架通过能耗归因模型准确测量软件在CPU和DRAM层面的能耗,为IT基础设施和应用层面的节能优化提供支持。

摘要:

信息和通信技术行业在2020年约占全球温室气体排放量的1.4%,占全球电力消耗的4%,预计这两个数值都将上升。为减少这种环境影响,采用了优化策略来减少IT基础设施和应用层面的能耗。然而,有效的优化需要首先确定主要的能耗消费者,其次需要能够量化优化是否实现了预期的节能效果。因此,我们引入了一个能耗归因模型,该模型在CPU和DRAM层面量化了应用的能耗,考虑了同时多线程、频率缩放、多插槽架构和非统一内存访问的影响。为确保跨平台适用性,我们将所提出模型整合到一个可扩展的框架中,即METRION,包括一个平台无关的数据模型和一个初始实现,用于使用Intel CPU的Linux系统。我们在三种不同的负载下评估了METRION,并证明了能耗归因模型能够准确捕捉仅针对CPU的应用的CPU能耗,平均绝对百分比误差为4.2%,以及针对DRAM的应用的DRAM能耗,误差为16.1%。

英文摘要:

The Information and Communication Technology sector accounted for approximately 1.4% of global greenhouse gas emissions and 4% of the world's electricity consumption in 2020, with both expected to rise. To reduce this environmental impact, optimization strategies are employed to reduce energy consumption at the IT infrastructure and application levels. However, effective optimization requires, firstly, the identification of major energy consumers and, secondly, the ability to quantify whether an optimization has achieved the intended energy savings. Accurate determination of application-level energy consumption is thus essential. Therefore, we introduce an energy attribution model that quantifies the energy consumption of applications on CPU and DRAM at the thread level, considering the influence of Simultaneous Multithreading, frequency scaling, multi-socket architectures, and Non-Uniform Memory Access. To ensure cross-platform applicability, we integrate the proposed model into an extensible framework, METRION, including a platform-independent data model and an initial implementation for Linux systems using Intel CPUs. We evaluate METRION across three different workloads and demonstrate that the energy attribution model can accurately capture the CPU energy consumption of applications targeting solely the CPU with a Mean Absolute Percentage Error of 4.2%, and the DRAM energy consumption of applications targeting DRAM with an 16.1% error.

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

↑