DocumentCode
3354868
Title
Dynamic trace selection using performance monitoring hardware sampling
Author
Chen, Howard ; Hsu, Wei-Chung ; Lu, Jiwei ; Yew, Pen-Chung ; Dong-Yuan Chen
fYear
2003
fDate
23-26 March 2003
Firstpage
79
Lastpage
90
Abstract
Optimizing programs at run-time provides opportunities to apply aggressive optimizations to programs based on information that was not available at compile time. At run time, programs can be adapted to better exploit architectural features, optimize the use of dynamic libraries, and simplify code based on run-time constants. Our profiling system provides a framework for collecting information required for performing run-time optimization. We sample the performance hardware registers available on an Itanium processor, and select a set of code that is likely to lead to important performance-events. We gather distribution information about the performance-events we wish to monitor, and test our traces by estimating the ability for dynamic patching of a program to execute run-time generated traces. Our results show that we are able to capture 58% of execution time across various SPEC2000 integer benchmarks using our profile and patching techniques on a relatively small number of frequently executed execution paths. Our profiling and detection system overhead increases execution time by only 2-4%.
Keywords
optimising compilers; Itanium processor; aggressive optimizations; compile time; dynamic trace selection; optimizations; performance hardware; performance monitoring; profiling system; Hardware; Monitoring; Sampling methods;
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.1191535
Filename
1191535
Link To Document