Back to Search Start Over

METRIC: Memory Tracing via Dynamic Binary Rewriting to Identify Cache Inefficiencies.

Authors :
Marathe, Jaydeep
Mueller, Frank
Mohan, Tushar
Mckee, Sally A.
de Supinski, Bronis R.
Yoo, Andy
Source :
ACM Transactions on Programming Languages & Systems. Mar2007, Vol. 29 Issue 2, Special section p1-36. 36p. 1 Chart, 2 Graphs.
Publication Year :
2007

Abstract

With the diverging improvements in CPU speeds and memory access latencies, detecting and removing memory access bottlenecks becomes increasingly important. In this work we present METRIC, a software framework for isolating and understanding such bottlenecks using partial access traces. METRIC extracts access traces from executing programs without special compiler or linker support. We make four primary contributions. First, we present a framework for extracting partial access traces based on dynamic binary rewriting of the executing application. Second, we introduce a novel algorithm for compressing these traces. The algorithm generates constant space representations for regular accesses occurring in nested loop structures. Third, we use these traces for offline incremental memory hierarchy simulation. We extract symbolic information from the application executable and use this to generate detailed source-code correlated statistics including per-reference metrics, cache evictor information, and stream metrics. Finally, we demonstrate how this information can be used to isolate and understand memory access inefficiencies. This illustrates a potential advantage of METRIC over compile-time analysis for sample codes, particularly when interprocedural analysis is required. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01640925
Volume :
29
Issue :
2
Database :
Academic Search Index
Journal :
ACM Transactions on Programming Languages & Systems
Publication Type :
Academic Journal
Accession number :
25824220
Full Text :
https://doi.org/101145/1216374.1216380