DocumentCode
2996779
Title
Cache simulation based on runtime instrumentation for OpenMP applications
Author
Tao, Jie ; Weidendorfer, Josef
Author_Institution
Inst. fur Rechnerentwurf und Fehlertoleranz, Univ. Karlsruhe, Germany
fYear
2004
fDate
18-22 April 2004
Firstpage
97
Lastpage
103
Abstract
To enable optimizations in memory access behavior of high performance applications, cache monitoring is a crucial process. Simulation of cache hardware is needed in order to allow research for non-existing cache architectures, and on the other hand, to get more insight into metrics not measured by hardware counters in existing processors. One focus of EP-Cache, a project investigating efficient programming on cache architectures, is on developing cache monitoring hardware to give precise information about the cache behavior of OpenMP applications on SMP machines. As the hardware is still in an early state of development, getting experience with the monitoring software infrastructure to be built for use in real applications requires cache simulation. Two techniques are used for the cache simulation engine: driven by instrumentation integrated at source level and instrumentation integrated at runtime by rewriting code on-the-fly. In this paper, we mainly describe the second technique together with a sample code, showing the advantages and feasibility of this approach. Additionally, in order to allow a comparison, we also give a brief description of the experience with the source instrumentation technique.
Keywords
cache storage; memory architecture; message passing; middleware; open systems; program compilers; system monitoring; EP-Cache; OpenMP applications; SMP machines; cache architectures; cache hardware; cache monitoring; cache simulation; hardware counters; high performance applications; memory access behavior; monitoring software infrastructure; runtime instrumentation; runtime on-the-fly code rewriting; Application software; Assembly; Hardware; Instruments; Libraries; Monitoring; Open source software; Runtime; Switches; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Simulation Symposium, 2004. Proceedings. 37th Annual
ISSN
1080-241X
Print_ISBN
0-7695-2110-X
Type
conf
DOI
10.1109/SIMSYM.2004.1299472
Filename
1299472
Link To Document