Ewerton Daniel de Lima, T. C. S. Xavier, A. F. Silva, L. B. Ruiz
{"title":"编译性能和电源效率","authors":"Ewerton Daniel de Lima, T. C. S. Xavier, A. F. Silva, L. B. Ruiz","doi":"10.1109/PATMOS.2013.6662167","DOIUrl":null,"url":null,"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%.","PeriodicalId":287176,"journal":{"name":"2013 23rd International Workshop on Power and Timing Modeling, Optimization and Simulation (PATMOS)","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-11-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"22","resultStr":"{\"title\":\"Compiling for performance and power efficiency\",\"authors\":\"Ewerton Daniel de Lima, T. C. S. Xavier, A. F. Silva, L. B. Ruiz\",\"doi\":\"10.1109/PATMOS.2013.6662167\",\"DOIUrl\":null,\"url\":null,\"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%.\",\"PeriodicalId\":287176,\"journal\":{\"name\":\"2013 23rd International Workshop on Power and Timing Modeling, Optimization and Simulation (PATMOS)\",\"volume\":\"3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-11-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"22\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 23rd International Workshop on Power and Timing Modeling, Optimization and Simulation (PATMOS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PATMOS.2013.6662167\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 23rd International Workshop on Power and Timing Modeling, Optimization and Simulation (PATMOS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PATMOS.2013.6662167","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
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%.