DocumentCode
2031807
Title
Static prediction of recursion frequency using machine learning to enable hot spot optimizations
Author
Tetzlaff, Dirk ; Glesner, Sabine
Author_Institution
Dept. of Software Eng. for Embedded Syst., Tech. Univ. Berlin, Berlin, Germany
fYear
2012
fDate
11-12 Oct. 2012
Firstpage
42
Lastpage
51
Abstract
Recursion poses a severe problem for static optimizations because its execution frequency usually depends upon runtime values, hence being rarely predictable at compile time. As a consequence, optimization potential of programs is sacrificed since possible hot paths where most of the execution time is spent and where optimization would be beneficial might be undiscovered. In this paper, we propose a sophisticated machine learning based approach to statically predict the recursion frequency of functions for programs in real-world application domains, which can be used to guide various hot spot optimizations. Our experiments with 369 programs of 25 benchmark suites from different domains demonstrate that our approach is applicable to a wide range of programs with different behavior and yields more precise heuristics than those generated by pure static analyses. Moreover, our results provide valuable insights into recursive structures in general, when they appear and how deep they are.
Keywords
learning (artificial intelligence); optimisation; program diagnostics; hot paths; hot spot optimizations; machine learning based approach; pure static analyses; real-world application domains; recursion frequency; static prediction;
fLanguage
English
Publisher
ieee
Conference_Titel
Embedded Systems for Real-time Multimedia (ESTIMedia), 2012 IEEE 10th Symposium on
Conference_Location
Tampere
Print_ISBN
978-1-4673-4968-0
Electronic_ISBN
978-1-4673-4966-6
Type
conf
DOI
10.1109/ESTIMedia.2012.6507027
Filename
6507027
Link To Document