paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Evaluating the Accuracy of Software Energy Consumption Models for Java Applications at Process and Transaction Levels

评估 Java 应用在进程与事务层面的软件能耗模型准确性
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 1/10 · 该论文研究 Java 应用软件能耗模型(JoularJX、OTJAE)在进程/事务层面的准确性,属于运行时能耗建模与测量,与用户关注的 PL→AI 静态分析、Agentic 程序、浮点/贝叶斯程序分析及 LLM 交叉方向基本无关。引用 4 inbox
Andreas Brunnert
crossref: 2026-09-12

AI 速览

一句话:评估 JoularJX 与 OTJAE 两个基于 CPU 需求的 Java 能耗模型在进程和事务层面的准确性。

软件能耗难以直接量化,因为能耗实际由运行软件的硬件产生。在虚拟化或容器化环境中,RAPL 等直接测量往往不可用,因此常根据 CPU、内存、存储或网络利用率等指标建立能耗模型进行估算。本文评估 JoularJX 与 OpenTelemetry Java-Agent 扩展(OTJAE)及其底层基于 CPU 需求的模型,在 Java 应用的进程与事务层面计算能耗的准确性,并与硬件服务器实测结果对比。结果表明,在中高负载(CPU 利用率 50% 至 100%)下模型预测与实测高度吻合,但在较低负载下差异显著。

问题
软件本身不耗能,能耗来自硬件;在虚拟化/容器化和云环境中直接测量软件能耗通常不可行,因此需要用能耗模型从 CPU 等指标估算,但模型准确性需要验证。
方法
本文对 JoularJX 和 OpenTelemetry Java-Agent 扩展(OTJAE)及其底层基于 CPU 需求的能耗模型进行评测,在 Java 应用的进程和事务两个层面将模型计算值与硬件服务器实测值进行比较。
评估
评估显示,在 CPU 利用率 50% 到 100% 的中高负载场景下,模型预测与实测高度吻合;在较低负载水平下,预测结果差异显著。
原文摘要(Abstract)

The energy consumption of software systems is hard to quantify because software does not consume energy itself but rather the hardware that it runs on. To address this challenge, technologies such as the Intel Running Average Power Limit (RAPL) interface have been developed to measure the energy consumed by various hardware resources at runtime. Additionally, specialized tools like JoularJX have been created to attribute RAPL measurements to individual software systems and their components. However, these tools are typically limited to software running directly on a server, without virtualization or containerization. In virtualized or containerized environments, direct energy measurements are only possible if the hypervisor or container runtime forwards this information to the guests—a practice not widely adopted, particularly in cloud environments. In such cases, energy consumption models are used to estimate software energy usage based on other metrics, such as CPU, memory, storage, or network utilization. One recently released tool following this approach is the OpenTelemetry Java-Agent extension (OTJAE), making it suitable for environments where direct measurements are not feasible. This study aims to evaluate the accuracy of JoularJX and OTJAE, along with their underlying models, in calculating energy consumption at both the process and transaction levels of Java applications. Both models under examination are based on CPU demand measurements. We are able to show that the model predictions match actual measurements obtained from a hardware server with high accuracy in medium and high load scenarios (50% to 100% CPU utilization) but vary significantly for lower load levels.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9076,
  title = {Evaluating the Accuracy of Software Energy Consumption Models for Java Applications at Process and Transaction Levels},
  author = {Andreas Brunnert},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728709}
}