面向现代移动 GPU 的基于 PMC 的自动化功耗建模方法
Automated PMC-based Power Modeling Methodology for Modern Mobile GPUs
AI总结:
针对利用率-频率模型难以刻画现代移动 GPU 微架构差异的问题,提出 APGPM 自动筛选最优 PMC 集合以构建高精度功耗模型,并在两款移动 GPU 上显著降低误差。
摘要:
智能手机上机器学习工作负载的兴起,已推动 GPU 成为现代智能手机中最耗电的组件之一,并提升了移动应用优化 GPU 功耗消耗的需求。优化移动 GPU 的功耗进而需要在应用执行期间准确估计其功耗。本文中,我们观察到现有基于利用率-频率的 GPU 模型无法捕捉现代移动 GPU 多样化的微架构使用情况。我们表明,这些模型在多样化 GPU 工作负载下建模精度较差,并研究了近期为桌面/服务器 GPU 提出的基于性能监控计数器(PMC)的模型,是否能够用于准确地为移动 GPU 功耗建模。我们的研究表明,现代智能手机中使用的主流移动 GPU 所附带的 PMC 足以对移动 GPU 功耗进行建模,但如果全部一起使用则会表现出多重共线性。我们提出 APGPM,这是一种移动 GPU 功耗建模方法,可自动选择一组最优 PMC,使 GPU 功耗模型精度最大化。在两款具有代表性的移动 GPU 上的评估表明,APGPM 生成的 GPU 功耗模型将现有方法的 MAPE 建模误差降低了 1.95 倍至 2.66 倍(即降低 11.3% 至 15.4%),同时仅使用可用 PMC 总数的 4.66% 至 20.41%。
英文摘要:
The rise of machine learning workload on smartphones has propelled GPUs into one of the most power-hungry components of modern smartphones and elevates the need for optimizing the GPU power draw by mobile apps. Optimizing the power consumption of mobile GPUs in turn requires accurate estimation of their power draw during app execution. In this paper, we observe that the prior-art, utilization-frequency based GPU models cannot capture the diverse micro-architectural usage of modern mobile GPUs.We show that these models suffer poor modeling accuracy under diverse GPU workload, and study whether performance monitoring counter (PMC)-based models recently proposed for desktop/server GPUs can be applied to accurately model mobile GPU power. Our study shows that the PMCs that come with dominating mobile GPUs used in modern smartphones are sufficient to model mobile GPU power, but exhibit multicollinearity if used altogether. We present APGPM, the mobile GPU power modeling methodology that automatically selects an optimal set of PMCs that maximizes the GPU power model accuracy. Evaluation on two representative mobile GPUs shows that APGPM-generated GPU power models reduce the MAPE modeling error of prior-art by 1.95x to 2.66x (i.e., by 11.3% to 15.4%) while using only 4.66% to 20.41% of the total number of available PMCs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。