Title :
Compiling for performance and power efficiency
Author :
De Lima, Ewerton Daniel ; De Souza Xavier, Tiago Cariolano ; Faustino da Silva, Anderson ; Beatryz Ruiz, Linnyer
Author_Institution :
Inf. Dept., State Univ. of Maringa - Brazil, Maringá, Brazil
Abstract :
Performance and power efficiency are issues that can be addressed by the compiler, due to the fact that the compiler will generate code that will exercise several parts of the processor. The mainstream compilers apply several optimizations in order to improve the quality of the final code, but not all optimizations will result in a performance gain and/or power efficiency. In fact, in some cases, some optimizations can cause performance loss and increase the power consumption, due to the program characteristics do not fit the characteristics of optimizations. Therefore, it is a challenge, even for the most expert programmer, to know which optimizations and in which order will generate the best target code for a program in terms of multiple goals. The goal of this paper is to describe COSPpp, a case-based reasoning approach that automatically selects a compiler optimization set for a program that outperforms a well-engineered compiler optimization level, in terms of multiple goals. The results obtained by the proposed approach indicates that it achieves improvement in most cases. In fact, COSPpp achieves a balanced performance and power efficiency ratio close to 7%.
Keywords :
case-based reasoning; optimising compilers; performance evaluation; power consumption; COSPpp; case-based reasoning approach; compiler; optimizations; performance efficiency; performance loss; power consumption; power efficiency; program characteristics; Cognition; Hardware; Optimization; Power demand; Program processors; Radiation detectors; Space exploration; Case-based Reasoning; Compiler Optimization Selection Problem; Performance; Power Efficiency;
Conference_Titel :
Power and Timing Modeling, Optimization and Simulation (PATMOS), 2013 23rd International Workshop on
Conference_Location :
Karlsruhe
DOI :
10.1109/PATMOS.2013.6662167