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

关于深度嵌入式单、多线程程序多级能耗静态分析的价值与限度

On the Value and Limits of Multi-level Energy Consumption Static Analysis for Deeply Embedded Single and Multi-threaded Programs

Kyriakos Georgiou, Steve Kerrison, Kerstin Eder

摘要:

降低计算能耗的兴趣越来越大。能量透明是一个概念,它使程序的能量消耗从软件到硬件通过不同的系统层可见。这样的透明性可以在每一层和层之间实现能量优化,并且帮助程序员和操作系统两者做出能量感知决策。提取程序能耗的常用方法是直接测量目标硬件。这通常涉及大多数程序员不具备的专业设备和知识。在本文中,我们将研究如何利用现有的静态资源分析和能源建模方法来执行能源消耗静态分析(ECSA)的深度嵌入式程序。为了研究这一点,我们已经开发了ECSA技术,工作在指令集的水平和更高的水平,LLVM IR,通过一种新的映射技术。我们将ECSA应用于一组全面的主要工业基准测试,包括来自两种常用并发模式(任务农场和管道)的单线程和多线程嵌入式程序。我们比较我们的ECSA结果的硬件测量和预测的基础上获得的模拟痕迹。我们讨论了一些应用场景,ECSA的结果可以提供能源透明度,并得出结论,为今后的工作提出了一系列新的研究问题。

英文摘要:

There is growing interest in lowering the energy consumption of computation. Energy transparency is a concept that makes a program's energy consumption visible from software to hardware through the different system layers. Such transparency can enable energy optimizations at each layer and between layers, and help both programmers and operating systems make energy aware decisions. The common methodology of extracting the energy consumption of a program is through direct measurement of the target hardware. This usually involves specialized equipment and knowledge most programmers do not have. In this paper, we examine how existing methods for static resource analysis and energy modeling can be utilized to perform Energy Consumption Static Analysis (ECSA) for deeply embedded programs. To investigate this, we have developed ECSA techniques that work at the instruction set level and at a higher level, the LLVM IR, through a novel mapping technique. We apply our ECSA to a comprehensive set of mainly industrial benchmarks, including single-threaded and also multi-threaded embedded programs from two commonly used concurrency patterns, task farms and pipelines. We compare our ECSA results to hardware measurements and predictions obtained based on simulation traces. We discuss a number of application scenarios for which ECSA results can provide energy transparency and conclude with a set of new research questions for future work.

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

↑