【24h】

A Trace-based Binary Compilation Framework for Energy-Aware Computing

机译:基于跟踪的二进制编译框架,用于能源感知计算

获取原文
获取原文并翻译 | 示例

摘要

Energy-aware compilers are becoming increasingly important for embedded systems due to the need to meet conflicting constraints on time, code size and power consumption. We introduce a trace-based, offline compiler framework on binaries and demonstrate its benefits in supporting energy optimisations. The key innovation lies in identifying frequently executed paths in a binary program and duplicating them as single-entry traces. Separating frequently from infrequently executed paths enables the compiler to focus both performance and energy optimisations on the hot traces. Traces constructed at the level of binaries are inherently inter-procedural, spanning both application and library code. Such a framework allows an embedded application developer to exploit optimisation opportunities made possible due to the information that is available only at link time. We describe the implementation of our trace-based framework in alto, a link-time optimiser for the Alpha architecture. We present a new algorithm for constructing the hot traces from binaries. This algorithm is both effective (since the execution cycles are mostly spent on traces) and practical (due to small code size increases caused). We have developed and implemented a new optimisation to reduce the functional unit leakage energy. We show how the traces facilitate the development of such an optimisation, which results in significant leakage energy savings for benchmark programs at the cost of small performance penalties.
机译:由于需要满足时间,代码大小和功耗方面相互矛盾的约束,因此能效编译器对于嵌入式系统变得越来越重要。我们在二进制文件中引入了基于跟踪的脱机编译器框架,并演示了其在支持能源优化方面的优势。关键创新在于识别二进制程序中经常执行的路径,并将其复制为单入口跟踪。频繁地与不频繁执行的路径分开可使编译器将性能和能量优化都集中在热迹线上。在二进制级别构造的跟踪本质上是跨过程的,跨应用程序和库代码。这样的框架使嵌入式应用程序开发人员可以利用由于仅在链接时可用的信息而带来的优化机会。我们在Alto中描述了基于跟踪的框架的实现,Alto是Alpha体系结构的链接时间优化器。我们提出了一种从二进制文件构造热迹线的新算法。该算法既有效(因为执行周期主要花费在跟踪上),又很实用(由于导致较小的代码大小增加)。我们已经开发并实施了一项新的优化技术,以减少功能单元的泄漏能量。我们展示了这些痕迹如何促进这种优化的发展,从而以较小的性能损失为代价,为基准程序节省了大量的泄漏能源。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号