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

能量流图:软件能耗建模

Energy Flow Graph: Modeling Software Energy Consumption

Dalhousie University(达尔豪斯大学)

Saurabhsingh Rajput, Tushar Sharma

AI总结:

本文提出能量流图模型,用于分析软件执行路径的能耗差异,通过静态分析和级联模型实现能耗优化,展示在不同领域中的应用效果。

摘要:

计算系统的能耗增长要求从以性能为中心的设计转向将能耗作为主要设计考虑因素。当前方法将能耗视为整体确定性属性,忽略了计算路径依赖性,不同执行路径通过同一软件消耗的能耗差异显著。本文引入能量流图(EFG),一种形式化模型,将计算过程表示为具有能耗成本的状态转换系统。EFG在软件工程中具有多种应用,包括静态分析最优能耗执行路径和级联模型,后者可预测组合优化效果而无需 exhaustive 测试。早期实验表明 EFG 在不同领域中的通用性:在软件程序中验证的 350 万次执行中,15.6% 的解决方案表现出高路径依赖性方差(CV > 0.1),结构优化可实现高达 705 倍的能耗减少。在 AI 管道中,级联模型在 5.1% 的误差内预测优化组合,仅使用 22 次测量即可从 420 万种可能性中进行选择。EFG 将能耗优化从试错法转变为系统分析,为计算领域中的绿色软件工程提供了基础。

英文摘要:

The growing energy demands of computational systems necessitate a fundamental shift from performance-centric design to one that treats energy consumption as one of the primary design considerations. Current approaches treat energy consumption as an aggregate, deterministic property, overlooking the path-dependent nature of computation, where different execution paths through the same software consume dramatically different energy. We introduce the Energy Flow Graph (EFG), a formal model that represents computational processes as state-transition systems with energy costs for both states and transitions. EFG enables various applications in software engineering, including static analysis of energy-optimal execution paths and a multiplicative cascade model that predicts combined optimization effects without exhaustive testing. Our early experiments demonstrate EFG's versatility across domains: in software programs validated through 3.5 million executions, 15.6% of solutions exhibit high path-dependent variance (CV $>$ 0.1), while structural optimization reveals up to 705$\times$ energy reduction. In AI pipelines, the cascade model predicts optimization combinations within 5.1% error, enabling selection from 4.2 million possibilities using only 22 measurements. The EFG transforms energy optimization from trial-and-error to systematic analysis, providing a foundation for green software engineering across computational domains.

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

↑