DocumentCode
3355125
Title
An infrastructure for adaptive dynamic optimization
Author
Bruening, Derek ; Garnett, Timothy ; Amarasinghe, Saman
Author_Institution
Lab. for Comput. Sci., MIT, Cambridge, MA, USA
fYear
2003
fDate
23-26 March 2003
Firstpage
265
Lastpage
275
Abstract
Dynamic optimization is emerging as a promising approach to overcome many of the obstacles of traditional static compilation. But while there are a number of compiler infrastructures for developing static optimizations, there are very few for developing dynamic optimizations. We present a framework for implementing dynamic analyses and optimizations. We provide an interface for building external modules, or clients, for the DynamoRIO dynamic code modification system. This interface abstracts away many low-level details of the DynamoRIO runtime system while exposing a simple and powerful, yet efficient and lightweight API. This is achieved by restricting optimization units to linear streams of code and using adaptive levels of detail for representing instructions. The interface is not restricted to optimization and can be used for instrumentation, profiling, dynamic translation, etc. To demonstrate the usefulness and effectiveness of our framework, we implemented several optimizations. These improve the performance of some applications by as much as 40% relative to native execution. The average speedup relative to base DynamoRIO performance is 12%.
Keywords
application program interfaces; optimising compilers; DynamoRIO dynamic code modification system; adaptive dynamic optimization infrastructure; adaptive levels of detail; average speedup; base DynamoRIO performance; clients; compiler infrastructures; dynamic analyses; dynamic optimizations; dynamic translation; external modules; lightweight API; linear streams; optimization units; profiling; static compilation; static optimizations; Abstracts; Application software; Computer science; Instruments; Laboratories; Optimizing compilers; Performance analysis; Runtime; Software libraries; Software performance;
fLanguage
English
Publisher
ieee
Conference_Titel
Code Generation and Optimization, 2003. CGO 2003. International Symposium on
Print_ISBN
0-7695-1913-X
Type
conf
DOI
10.1109/CGO.2003.1191551
Filename
1191551
Link To Document