• DocumentCode
    1919997
  • Title

    Estimating the Performance of Cache Replacement Policies

  • Author

    Grund, Daniel ; Reineke, Jan

  • Author_Institution
    Saarland Univ., Saarbrucken
  • fYear
    2008
  • fDate
    5-7 June 2008
  • Firstpage
    101
  • Lastpage
    112
  • Abstract
    Caches are commonly employed to hide the latency gap between memory and the CPU by exploiting locality in memory accesses. The cache performance strongly influences a system´s overall performance, as this gap is large and ever-increasing. The efficiency of a given cache architecture - usually measured by its miss ratio - varies greatly depending on the software being executed. We present an efficient method to estimate the miss ratio using a stochastic model. The model takes into account the parameters of the cache architecture and a concise characterization of the software´s locality. In contrast to previous approaches, we consider the replacement policy as an important component of the cache architecture. To this end, we introduce policy tables as a concise representation of replacement policies. The software ´s locality is characterized by stack histograms or our extension thereof: History stack histograms, which refine stack histograms by distinguishing contexts of accesses. Simulation results on the SPEC benchmarks demonstrate the strong influence of the replacement policy on the miss ratio and the precision of our estimates: average absolute errors between 0.18% and 2.92%.
  • Keywords
    cache storage; software architecture; stochastic processes; cache performance; cache replacement policies; memory accesses; stochastic model; Computer architecture; Delay; Design optimization; Histograms; History; Memory architecture; Optimizing compilers; Predictive models; Software measurement; Stochastic processes;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Formal Methods and Models for Co-Design, 2008. MEMOCODE 2008. 6th ACM/IEEE International Conference on
  • Conference_Location
    Anaheim, CA
  • Print_ISBN
    978-1-4244-2417-7
  • Type

    conf

  • DOI
    10.1109/MEMCOD.2008.4547695
  • Filename
    4547695