arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.06782cs.PFcs.AR
收藏

异构平台上基于数据驱动的轻量级DVFS感知计数器功耗建模方法

A Data-Driven Approach to Lightweight DVFS-Aware Counter-Based Power Modeling for Heterogeneous Platforms

Sergio Mazzola, Thomas Benz, Björn Forsberg, Luca Benini

AI总结:

提出一种数据驱动的轻量级DVFS感知功耗建模方法,利用性能计数器选择最小子集训练线性模型,在异构平台上实现1.3%平均误差和500纳秒评估时间,适用于在线功耗管理。

摘要:

计算系统已转向高度并行和异构架构,以应对有限功耗预算带来的挑战。这些架构必须得到新型功耗管理范式的支持,以应对日益增长的设计规模、并行性和异构性,同时确保高精度和低开销。在本工作中,我们提出了一种系统性、自动化且架构无关的方法,用于对异构平台的CPU和GPU子系统进行精确且轻量级的DVFS感知统计功耗建模,该方法由子系统的本地性能监控计数器(PMCs)驱动。计数器选择由一种普遍适用的统计方法指导,该方法识别出与功耗 dissipation 稳健相关的最小计数器子集。基于所选计数器,我们训练一组轻量级线性模型,表征每个子系统在一系列频率下的行为。这些模型组成一个基于查找表的系统级模型,有效捕获功耗的非线性特性,展现出理想的响应性和可分解性。我们在真实硬件上通过测量NVIDIA Jetson AGX Xavier平台在一组基准测试上的总能耗来验证系统级模型。所得平均估计误差为1.3%,最大误差为3.1%。此外,该模型的最大评估运行时间为500纳秒,从而表明对系统利用率的影响可忽略不计,并适用于在线动态功耗管理(DPM)。

英文摘要:

Computing systems have shifted towards highly parallel and heterogeneous architectures to tackle the challenges imposed by limited power budgets. These architectures must be supported by novel power management paradigms addressing the increasing design size, parallelism, and heterogeneity while ensuring high accuracy and low overhead. In this work, we propose a systematic, automated, and architecture-agnostic approach to accurate and lightweight DVFS-aware statistical power modeling of the CPU and GPU sub-systems of a heterogeneous platform, driven by the sub-systems' local performance monitoring counters (PMCs). Counter selection is guided by a generally applicable statistical method that identifies the minimal subsets of counters robustly correlating to power dissipation. Based on the selected counters, we train a set of lightweight, linear models characterizing each sub-system over a range of frequencies. Such models compose a lookup-table-based system-level model that efficiently captures the non-linearity of power consumption, showing desirable responsiveness and decomposability. We validate the system-level model on real hardware by measuring the total energy consumption of an NVIDIA Jetson AGX Xavier platform over a set of benchmarks. The resulting average estimation error is 1.3%, with a maximum of 3.1%. Furthermore, the model shows a maximum evaluation runtime of 500 ns, thus implying a negligible impact on system utilization and applicability to online dynamic power management (DPM).

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

↑