Automatic configuration of GCC using irace

Leslie Pérez Cáceres, Federico Pagnozzi, Alberto Franzin, Thomas Stützle

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

13 Scopus citations

Abstract

Automatic algorithm configuration techniques have proved to be successful in finding performance-optimizing parameter settings of many search-based decision and optimization algorithms. A recurrent, important step in software development is the compilation of source code written in some programming language into machine-executable code. The generation of performance-optimized machine code itself is a difficult task that can be parametrized in many different possible ways. While modern compilers usually offer different levels of optimization as possible defaults, they have a larger number of other flags and numerical parameters that impact properties of the generated machine-code. While the generation of performance-optimized machine code has received large attention and is dealt with in the research area of auto-tuning, the usage of standard automatic algorithm configuration software has not been explored, even though, as we show in this article, the performance of the compiled code has significant stochasticity, just as standard optimization algorithms. As a practical case study, we consider the configuration of the well-known GNU compiler collection (GCC) for minimizing the run-time of machine code for various heuristic search methods. Our experimental results show that, depending on the specific code to be optimized, improvements of up to 40% of execution time when compared to the -O2 and -O3 optimization flags is possible.

Original languageEnglish
Title of host publicationArtificial Evolution - 13th International Conference, Evolution Artificielle, EA 2017, Revised Selected Papers
EditorsPierre Parrend, Evelyne Lutton, Pierrick Legrand, Nicolas Monmarche, Marc Schoenauer
PublisherSpringer Verlag
Pages202-216
Number of pages15
ISBN (Print)9783319781327
DOIs
StatePublished - 2018
Externally publishedYes
Event13th International Conference on Artificial Evolution, EA 2017 - Paris, France
Duration: 25 Oct 201727 Oct 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10764 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference13th International Conference on Artificial Evolution, EA 2017
Country/TerritoryFrance
CityParis
Period25/10/1727/10/17

Keywords

  • Automatic configuration
  • GCC
  • Irace
  • Parameter tuning

Fingerprint

Dive into the research topics of 'Automatic configuration of GCC using irace'. Together they form a unique fingerprint.

Cite this