• DocumentCode
    2705223
  • Title

    A model-based framework: an approach for profit-driven optimization

  • Author

    Zhao, Min ; Childers, Bruce R. ; Soffa, Mary Lou

  • Author_Institution
    Pittsburgh Univ., PA, USA
  • fYear
    2005
  • fDate
    20-23 March 2005
  • Firstpage
    317
  • Lastpage
    327
  • Abstract
    Although optimizations have been applied for a number of years to improve the performance of software, problems that have been long-standing remain, which include knowing what optimizations to apply and how to apply them. To systematically tackle these problems, we need to understand the properties of optimizations. In our current research, we are investigating the profitability property, which is useful for determining the benefit of applying an optimization. Due to the high cost of applying optimizations and then experimentally evaluating their profitability, we use an analytic model framework for predicting the profitability of optimizations. In this paper, we target scalar optimizations, and in particular, describe framework instances for partial redundancy elimination (PRE) and loop invariant code motion (LICM). We implemented the framework for both optimizations and compare profit-driven PRE and LICM with a heuristic-driven approach. Our experiments demonstrate that a model-based approach is effective and efficient in that it can accurately predict the profitability of optimizations with low overhead. By predicting the profitability using models, we can selectively apply optimizations. The model-based approach does not require tuning of parameters used in heuristic approaches and works well across different code contexts and optimizations.
  • Keywords
    optimising compilers; partial evaluation (compilers); program control structures; redundancy; software performance evaluation; analytic model framework; heuristic-driven approach; loop invariant code motion; model-based framework; partial redundancy elimination; profit-driven optimization; profitability property; software performance; Computer architecture; Context modeling; Cost function; Hardware; Optimizing compilers; Predictive models; Profitability; Software performance; Technological innovation; Tiles;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization, 2005. CGO 2005. International Symposium on
  • Print_ISBN
    0-7695-2298-X
  • Type

    conf

  • DOI
    10.1109/CGO.2005.2
  • Filename
    1402098