Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/SC.2004.47acmconferencesArticle/Chapter ViewAbstractPublication PagesscConference Proceedingsconference-collections
Article

Rating Compiler Optimizations for Automatic Performance Tuning

Published: 06 November 2004 Publication History

Abstract

To achieve maximum performance gains through compiler optimization, most automatic performance tuning systems use a feed-back directed approach to rate the code versions generated under different optimization options and to search for the best one. They all face the problem that code versions are only comparable if they run under the same execution context. This paper proposes three accurate, fast and flexible rating approaches that address this problem. The three methods identify comparable execution contexts, model relationships between contexts, or force re-execution of the code under the same context, respectively. We apply these methods in an automatic offline tuning scenario. Our performance tuning system improves the program performance of a selection of SPEC CPU 2000 benchmarks by up to 178% (26% on average). Our techniques reduce program tuning time by up to 96% (80% on average), compared to the state-of-the-art tuning scenario that compares optimization techniques using whole-program execution.

References

[1]
{1} William Blume and Rudolf Eigenmann. Symbolic range propagation. In the 9th International Parallel Processing Symposium, pages 357-363, 1995.
[2]
{2} Kingsum Chow and Youfeng Wu. Feedback-directed selection and characterization of compiler optimizations. In Second Workshop on Feedback Directed Optimizations, Israel, November 1999.
[3]
{3} Keith D. Cooper, Devika Subramanian, and Linda Torczon. Adaptive optimizing compilers for the 21st century. The Journal of Supercomputing, 23(1):7-22, 2002.
[4]
{4} Pedro C. Diniz and Martin C. Rinard. Dynamic feedback: An effective technique for adaptive computing. In SIGPLAN Conference on Programming Language Design and Implementation, pages 71-84, 1997.
[5]
{5} Free Software Foundation, http://gcc.gnu.org/onlinedocs/gcc-3.3.3/gcc/. GCC online documentation, 2003.
[6]
{6} Elana D. Granston and Anne Holler. Automatic recommendation of compiler options. In 4th Workshop on Feedback-Directed and Dynamic Optimization (FDDO-4). December 2001.
[7]
{7} Brian Grant, Matthai Philipose, Markus Mock, Craig Chambers, and Susan J. Eggers. An evaluation of staged run-time optimizations in dyc. In Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation, pages 293-304. ACM Press, 1999.
[8]
{8} Toru Kisuki, Peter M. W. Knijnenburg, Michael F. P. O'Boyle, Francois Bodin, and Harry A. G. Wijshoff. A feasibility study in iterative compilation. In ISHPC, pages 121-132, 1999.
[9]
{9} Peter Lee and Mark Leone. Optimizing ML with run-time code generation. In SIGPLAN Conference on Programming Language Design and Implementation, pages 137-148, 1996.
[10]
{10} Markus Mock, Craig Chambers, and Susan J. Eggers. Calpa: a tool for automating selective dynamic compilation. In International Symposium on Microarchitecture, pages 291-302, 2000.
[11]
{11} Zhelong Pan and Rudolf Eigenmann. Compiler optimization orchestration for peak performance. Technical Report TR-ECE-04-01, School of Electrical and Computer Engineering, Purdue University, 2004.
[12]
{12} Mark Stephenson, Saman Amarasinghe, Martin Martin, and Una-May O'Reilly. Meta optimization: improving compiler heuristics with machine learning. In Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation, pages 77-90. ACM Press, 2003.
[13]
{13} Spyridon Triantafyllis, Manish Vachharajani, Neil Vachharajani, and David I. August. Compiler optimization-space exploration. In Proceedings of the international symposium on Code generation and optimization, pages 204-215, 2003.
[14]
{14} Michael Voss and Rudolf Eigenmann. ADAPT: Automated de-coupled adaptive program transformation. In International Conference on Parallel Processing, pages 163-170, 2000.
[15]
{15} Michael J. Voss and Rudolf Eigemann. High-level adaptive program optimization with ADAPT. ACM SIGPLAN Notices, 36(7):93-102, 2001.
[16]
{16} R. Clint Whaley and Jack J. Dongarra. Automatically tuned linear algebra software. Technical Report UT-CS-97-366, 1997.
[17]
{17} Kamen Yotov, Xiaoming Li, Gang Ren, Michael Cibulskis, Gerald DeJong, Maria Garzaran, David Padua, Keshav Pingali, Paul Stodghill, and Peng Wu. A comparison of empirical and model-driven optimization. In Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation, pages 63-76. ACM Press, 2003.

Cited By

View all
  • (2018)A Survey on Compiler Autotuning using Machine LearningACM Computing Surveys10.1145/319797851:5(1-42)Online publication date: 18-Sep-2018
  • (2013)On the determination of inlining vectors for program optimizationProceedings of the 22nd international conference on Compiler Construction10.1007/978-3-642-37051-9_9(164-183)Online publication date: 16-Mar-2013
  • (2013)Algorithms of the combination of compiler optimization options for automatic performance tuningProceedings of the 2013 international conference on Information and Communication Technology10.1007/978-3-642-36818-9_10(91-100)Online publication date: 25-Mar-2013
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SC '04: Proceedings of the 2004 ACM/IEEE conference on Supercomputing
November 2004
724 pages
ISBN:0769521533

Sponsors

Publisher

IEEE Computer Society

United States

Publication History

Published: 06 November 2004

Check for updates

Qualifiers

  • Article

Conference

SC '04
Sponsor:

Acceptance Rates

SC '04 Paper Acceptance Rate 60 of 200 submissions, 30%;
Overall Acceptance Rate 1,516 of 6,373 submissions, 24%

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)1
Reflects downloads up to 22 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)A Survey on Compiler Autotuning using Machine LearningACM Computing Surveys10.1145/319797851:5(1-42)Online publication date: 18-Sep-2018
  • (2013)On the determination of inlining vectors for program optimizationProceedings of the 22nd international conference on Compiler Construction10.1007/978-3-642-37051-9_9(164-183)Online publication date: 16-Mar-2013
  • (2013)Algorithms of the combination of compiler optimization options for automatic performance tuningProceedings of the 2013 international conference on Information and Communication Technology10.1007/978-3-642-36818-9_10(91-100)Online publication date: 25-Mar-2013
  • (2012)Deconstructing iterative optimizationACM Transactions on Architecture and Code Optimization10.1145/2355585.23555949:3(1-30)Online publication date: 5-Oct-2012
  • (2010)Collective optimizationACM Transactions on Architecture and Code Optimization10.1145/1880043.18800477:4(1-29)Online publication date: 30-Dec-2010
  • (2008)PEAK—a fast and effective performance tuning system via compiler optimization orchestrationACM Transactions on Programming Languages and Systems10.1145/1353445.135345130:3(1-43)Online publication date: 21-May-2008
  • (2007)Speculative thread decomposition through empirical optimizationProceedings of the 12th ACM SIGPLAN symposium on Principles and practice of parallel programming10.1145/1229428.1229474(205-214)Online publication date: 14-Mar-2007
  • (2006)Fast, automatic, procedure-level performance tuningProceedings of the 15th international conference on Parallel architectures and compilation techniques10.1145/1152154.1152182(173-181)Online publication date: 16-Sep-2006
  • (2006)Fast and Effective Orchestration of Compiler Optimizations for Automatic Performance TuningProceedings of the International Symposium on Code Generation and Optimization10.1109/CGO.2006.38(319-332)Online publication date: 26-Mar-2006

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media