• DocumentCode
    3472196
  • Title

    Fast and effective orchestration of compiler optimizations for automatic performance tuning

  • Author

    Pan, Zhelong ; Eigenmann, Rudolf

  • Author_Institution
    Sch. of Electr. & Comput. Eng., Purdue Univ., West Lafayette, IN, USA
  • fYear
    2006
  • fDate
    26-29 March 2006
  • Abstract
    Although compile-time optimizations generally improve program performance, degradations caused by individual techniques are to be expected. One promising research direction to overcome this problem is the development of dynamic, feedback-directed optimization orchestration algorithms, which automatically search for the combination of optimization techniques that achieves the best program performance. The challenge is to develop an orchestration algorithm that finds, in an exponential search space, a solution that is close to the best, in acceptable time. In this paper, we build such a fast and effective algorithm, called combined elimination (CE). The key advance of CE over existing techniques is that it takes the least tuning time (57% of the closest alternative), while achieving the same program performance. We conduct the experiments on both a Pentium IV machine and a SPARC II machine, by measuring performance of SPEC CPU2000 benchmarks under a large set of 38 GCC compiler options. Furthermore, through orchestrating a small set of optimizations causing the most degradation, we show that the performance achieved by CE is close to the upper bound obtained by an exhaustive search algorithm. The gap is less than 0.2% on average.
  • Keywords
    optimising compilers; search problems; automatic performance tuning; combined elimination; compiler optimizations; exponential search space; feedback-directed optimization orchestration algorithms; Algorithm design and analysis; Binary codes; Convergence; Degradation; Iterative algorithms; Optimizing compilers; Program processors; Statistical analysis; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization, 2006. CGO 2006. International Symposium on
  • Print_ISBN
    0-7695-2499-0
  • Type

    conf

  • DOI
    10.1109/CGO.2006.38
  • Filename
    1611551