Cache Simulation Based on Runtime Instrumentation for OpenMP Applications

  • Authors:
  • Jie Tao;Josef Weidendorfer

  • Affiliations:
  • -;-

  • Venue:
  • ANSS '04 Proceedings of the 37th annual symposium on Simulation
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

To enable optimizations in memory access behavior ofhigh performance applications, cache monitoring is a crucialprocess. Simulation of cache hardware is needed in orderto allow research for non-existing cache architectures,and on the other hand, to get more insight into metrics notmeasured by hardware counters in existing processors.One focus of EP-Cache, a project investigating efficientprogramming on cache architectures, is on developingcache monitoring hardware to give precise informationabout the cache behavior of OpenMP applications on SMPmachines. As the hardware is still in an early state of development,getting experience with the monitoring software infrastructureto be built for use in real applications requirescache simulation.Two techniques are used for the cache simulation engine:driven by instrumentation integrated at source level and instrumentationintegrated at runtime by rewriting code on-the-fly. In this paper, we mainly describe the second technique together with a sample code, showing the advantagesand feasibility of this approach. Additionally, in order toallow a comparison, we also give a brief description of theexperience with the source instrumentation technique.