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

Skip to main content

Evaluating Iterative Compilation

  • Conference paper
Languages and Compilers for Parallel Computing (LCPC 2002)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 2481))

Abstract

This paper describes a platform independent optimisation approach based on feedback-directed program restructuring. We have developed two strategies that search the optimisation space by means of profiling to find the best possible program variant. These strategies have no a priori knowledge of the target machine and can be run on any platform. In this paper our approach is evaluated on three full SPEC benchmarks, rather than the kernels evaluated in earlier studies where the optimisation space is relatively small. This approach was evaluated on six different platforms, where it is shown that we obtain on average a 20.5% reduction in execution time compared to the native compiler with full optimisation. By using training data instead of reference data for the search procedure, we can reduce compilation time and still give on average a 16.5% reduction in time when running on reference data. We show that our approach is able to give similar significant reductions in execution time over a state of the art high level restructurer based on static analysis and a platform specific profile feedback directed compiler that employs the same transformations as our iterative system.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Bilmes, J., Asanović, K., Chin, C.W., Demmel, J.: Optimizing matrix multiply using PHiPAC: A portable, high-performance, C coding methodology. In: ICS 1997 (1997)

    Google Scholar 

  2. Bodin, F., Kisuki, T., Knijnenburg, P.M.W., O’Boyle, M.F.P., Rohou, E.: Iterative Compilation in a Non-Linear Optimisation Space. In: Profile and Feedback Directed Compilation, PACT (1998)

    Google Scholar 

  3. Burke, M., et al.: The Jalapeno Dynamic Optimizing Compiler for Java. In: Proc. of ACM 1999 Java Grande Conference (June 1999)

    Google Scholar 

  4. Chow, K., Wu, Y.: Feedback-Directed Selection and Characterization of Compiler Optimizations, FDO (1999)

    Google Scholar 

  5. Cohn, R., Lowney, P.G.: Feedback Directed Optimization in Compaq’s Compilation Tools for Alpha, FDO (1999)

    Google Scholar 

  6. Han, H., Rivera, G., Tseng, C.-W.: Software Support for Improving Locality in Scientific Codes. In: CPC (2000)

    Google Scholar 

  7. Kisuki, T., Knijnenburg, P.M.W., O’Boyle, M.F.P.: Combined Selection of Tile Sizes and Unroll Factors Using Iterative Compilation. In: PACT (2000)

    Google Scholar 

  8. McKinley, K.S., Temam, O.: A Quantative Analysis of Loop Nest Locality. In: ASPLOS (1996)

    Google Scholar 

  9. Moura, J., Johnson, J., Johnson, R., Padua, D., Prasanna, V., Puschel, M., Singer, B., Veloso, M., Xiong, J.: Generating Platform-Adapted DSP Libraries using SPIRAL. In: Proc. HPEC 2001. MIT Lincoln Laboratories (2001)

    Google Scholar 

  10. Rivera, G., Tseng, C.-W.: Data Transformations for Eliminating Conflict Misses. In: PLDI (1998)

    Google Scholar 

  11. Smith, M.: Overcoming the Challenges to Feedback-Directed Optimizations. In: Dynamo 2000 (2000)

    Google Scholar 

  12. Voss, M.J., Eigenmann, R.: A framework for remote dynamic Program Optimization. In: Dynamo (2000)

    Google Scholar 

  13. Whaley, R.C., Dongarra, J.J.: Automatically tuned linear algebra software. In: Proc. Alliance (1998)

    Google Scholar 

  14. Wolf, M.E., Maydan, D.E., Chen, D.-K.: Combining loop transformations considering caches and scheduling. Int’l. J. of Parallel Programming 26(4), 479–503 (1998)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fursin, G.G., O’Boyle, M.F.P., Knijnenburg, P.M.W. (2005). Evaluating Iterative Compilation. In: Pugh, B., Tseng, CW. (eds) Languages and Compilers for Parallel Computing. LCPC 2002. Lecture Notes in Computer Science, vol 2481. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11596110_24

Download citation

  • DOI: https://doi.org/10.1007/11596110_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-30781-5

  • Online ISBN: 978-3-540-31612-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics