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

采用正交相序法降低锅炉能耗

Compiler Phase Ordering as an Orthogonal Approach for Reducing Energy Consumption

Ricardo Nobre, Luís Reis, João M. P. Cardoso

摘要:

当选择传递和它们在标准优化级别(如GCC -O3)中应用的顺序时,编译器编写人员通常主要关注生成的程序二进制文件的性能。在某些领域,如嵌入式系统和高性能计算(HPC),它有时可能是可以接受的,以减缓计算,如果能源消耗可以显着减少。嵌入式系统通常依赖于电池,除了能量之外,还具有功耗限制,而HPC中心越来越关注电力和冷却成本。依赖于功率策略来应用频率/电压缩放和/或将CPU改变到空闲状态(例如,在突发中的功率电平之间交替)作为减少能量的主要方法,这留下了使用其它正交方法进行改进的潜力。在这项工作中,我们评估的影响,编译器通过序列专业化(也称为编译器阶段排序)作为一种手段,以减少能源消耗的一组程序/功能相比,使用标准的编译器阶段顺序提供的,例如,-OX旗我们使用我们的阶段选择和排序框架来探索Clang+LLVM编译器的设计空间,该编译器针对ODROID板中的多核ARM处理器和超级计算中心中代表节点的双x86桌面。我们的实验与一组有代表性的内核表明,我们可以减少能源消耗高达24%,其中一些改进只能部分解释的执行时间的改进。实验显示了运行速度更快的应用程序消耗更多能量的情况。此外,我们努力的编译器序列探索空间的性能和能源的影响方面的特点。

英文摘要:

Compiler writers typically focus primarily on the performance of the generated program binaries when selecting the passes and the order in which they are applied in the standard optimization levels, such as GCC -O3. In some domains, such as embedded systems and High-Performance Computing (HPC), it might be sometimes acceptable to slowdown computations if the energy consumed can be significantly decreased. Embedded systems often rely on a battery and besides energy also have power dissipation limitations, while HPC centers have a growing concern with electricity and cooling costs. Relying on power policies to apply frequency/voltage scaling and/or change the CPU to idle states (e.g., alternate between power levels in bursts) as the main method to reduce energy leaves potential for improvement using other orthogonal approaches. In this work we evaluate the impact of compiler pass sequences specialization (also known as compiler phase ordering) as a means to reduce the energy consumed by a set of programs/functions when comparing with the use of the standard compiler phase orders provided by, e.g., -OX flags. We use our phase selection and ordering framework to explore the design space in the context of a Clang+LLVM compiler targeting a multicore ARM processor in an ODROID board and a dual x86 desktop representative of a node in a Supercomputing center. Our experiments with a set of representative kernels show that there we can reduce energy consumption by up to 24% and that some of these improvements can only be partially explained by improvements to execution time. The experiments show cases where applications that run faster consume more energy. Additionally, we make an effort to characterize the compiler sequence exploration space in terms of their impact on performance and energy.

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

↑