School of Informatics - University of Edinburgh Institute for Computing Systems Architecture - School of Informatics
Institute for Computing
Systems Architecture

Synthetic Trace-Driven Simulation of Cache Memory

    Paper - Synthetic Trace-Driven Simulation of Cache Memory
  • Type: Paper
  • Authors:
    R.Hassan, A.Harris, N.P.Topham and A.Efthymiou.
  • The 4th IEEE International Symposium on Embedded Computing (SEC'07), Niagara Falls, Canada, May 2007.
  • Download as PDF
  • Abstract:

    The widening gap between CPU and memory speed has made caches an integral feature of modern high- performance processors. The high degree of configurability of cache memory can require extensive design space exploration and is generally performed using execution-driven or trace-driven simulation. Execution-driven simulators can be highly accurate but require a detailed development flow and may impose performance costs. Trace-driven simulators are an efficient alternative but maintaining large traces can present storage and portability problems. We propose a distribution-driven trace generation methodology as an alternative to traditional execution- and trace- driven simulation. An adaptation of the Least Recently Used Stack Model is used to concisely capture the key locality features in a trace and a two-state Markov chain model is used for trace generation. Simulation and analysis of a variety of embedded application traces demonstrate the cacheability characteristics of the synthetic traces are generally very well preserved and similar to their real trace, and we also highlight the potential performance improvement over ISA emulation.