Skip to main content

GA-Based Compiler Parameter Set Tuning

  • Conference paper
  • First Online:
Artificial Intelligence and Evolutionary Algorithms in Engineering Systems

Abstract

Determining nearly optimal optimization options for modern-day compilers is a combinatorial problem. Added to this, specific to a given application, platform and optimization objective, fine-tuning the parameter set being used by various optimization passes, enhance the complexity further. In this paper, we apply genetic algorithm (GA) to tune compiler parameter set and investigate the impact of fine-tuning the parameter set on the code size. The effectiveness of GA-based parameter tuning mechanism is demonstrated with the benchmark programs from SPEC2006 benchmark suite that there is a significant impact of tuning the parameter values on the code size. Results obtained by the proposed GA-based parameter tuning technique are compared with existing methods and that shows significant performance gains.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

References

  1. F. Agakov, E. Bonilla, J. Cavazos et al., Using machine learning to focus iterative optimization, in Proceedings of CGO (2006)

    Google Scholar 

  2. K.D. Cooper, P.J. Schielke, D. Subramanian, Optimizing for reduced code space using genetic algorithms. SIGPLAN Not. 34(7), 1–9 (1999)

    Article  Google Scholar 

  3. M. Haneda, P.M.W. Knijnenburg, H.A.G. Wijshoff, Automatic selection of compiler options using non-parametric inferential statistics. 14th International Conference on Parallel Architectures and Compilation Techniques (PACT’05)

    Google Scholar 

  4. V. Adve, The next generation of compilers, in Proceedings of CGO (2009)

    Google Scholar 

  5. M. Duranton, D. Black-Schaffer, S. Yehia, K. De Bosschere, Computing Systems: Research Challenges Ahead the HiPEAC Vision (2011/2012)

    Google Scholar 

  6. J. Cavazos, M.F.P. O’Boyle, Method-specific dynamic compilation using logistic regression, in Proceedings of OOPSLA’06

    Google Scholar 

  7. P. Lokuciejewski, S. Plazar, H. Falk, P. Marwedel, L. Thiele, Multi-objective exploration of compiler optimizations for real-time systems, in Proceedings of ISORC (2010)

    Google Scholar 

  8. N.A.B.S. Chebolu, R. Wankar, R.R. Chillarige, Tuning the optimization parameter set for code size, in Proceedings of MIWAI (2012)

    Google Scholar 

  9. A. Martinez-Alvarez, J. Calvo-Zaragoza, S. Cuenca-Asensi, A. Ortiz, A. Jimeno-Morenilla, Multi-objective adaptive evolutionary strategy for tuning compilations. Neurocomputing 123, 381–389 (2014)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to N. A. B Sankar Chebolu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer India

About this paper

Cite this paper

Chebolu, N.A.B.S., Wankar, R., Chillarige, R.R. (2015). GA-Based Compiler Parameter Set Tuning. In: Suresh, L., Dash, S., Panigrahi, B. (eds) Artificial Intelligence and Evolutionary Algorithms in Engineering Systems. Advances in Intelligent Systems and Computing, vol 324. Springer, New Delhi. https://doi.org/10.1007/978-81-322-2126-5_22

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-2126-5_22

  • Published:

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-2125-8

  • Online ISBN: 978-81-322-2126-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics