DocumentCode
2705025
Title
A programmable hardware path profiler
Author
Vaswani, Kapil ; Thazhuthaveetil, Matthew J. ; Srikant, Y.N.
Author_Institution
Dept. of Comput. Sci. & Autom., Indian Inst. of Sci., Bangalore, India
fYear
2005
fDate
20-23 March 2005
Firstpage
217
Lastpage
228
Abstract
For aggressive path-based program optimizations to be profitable in cost-sensitive environments, accurate path profiles must be available at low overheads. In this paper, we propose a low-overhead, non-intrusive hardware path profiling scheme that can be programmed to detect several types of paths including acyclic, intra-procedural paths, paths for a whole program path and extended paths. The profiler consists of a path stack, which detects paths and generates a sequence of path descriptors using branch information from the processor pipeline, and a hot path table that collects a profile of hot paths for later use by a program optimizer. With assistance from the processor´s event detection logic, our profiler can track a host of architectural metrics along paths, enabling context-sensitive performance monitoring and bottleneck analysis. We illustrate the utility of our scheme by associating paths with a power metric that estimates power consumption in the cache hierarchy caused by instructions along the path. Experiments using programs from the SPEC CPU2000 benchmark suite show that our path profiler, occupying 7KB of hardware real-estate, collects accurate path profiles (average overlap of 88% with a perfect profile) at negligible execution time overheads (0.6% on average).
Keywords
cache storage; optimising compilers; branch information; cache hierarchy; context-sensitive performance monitoring; event detection logic; path stack; power consumption; processor pipeline; program optimization; programmable hardware path profiler; Automation; Computer science; Energy consumption; Event detection; Hardware; Logic; Monitoring; Optimizing compilers; Performance analysis; Pipelines;
fLanguage
English
Publisher
ieee
Conference_Titel
Code Generation and Optimization, 2005. CGO 2005. International Symposium on
Print_ISBN
0-7695-2298-X
Type
conf
DOI
10.1109/CGO.2005.3
Filename
1402090
Link To Document