• DocumentCode
    3271796
  • Title

    Improving cache performance by combining cost-sensitivity and locality principles in cache replacement algorithms

  • Author

    Sheikh, Rami ; Kharbutli, Mazen

  • Author_Institution
    North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2010
  • fDate
    3-6 Oct. 2010
  • Firstpage
    76
  • Lastpage
    83
  • Abstract
    Due to the ever increasing performance gap between the processor and the main memory, it becomes crucial to bridge that gap by designing an efficient memory hierarchy capable of reducing the average memory access time. The cache replacement algorithm plays a central role in designing an efficient memory hierarchy. Many of the recent studies in cache replacement algorithms have focused on improving L2 cache replacement algorithms by minimizing the miss count. However, depending on the dependency chain, cache miss bursts, and other factors, a processor´s ability to partially hide the cost of an L2 cache miss varies; that is, cache miss costs are not uniform. Therefore, a better solution would account also for the aggregate miss cost in designing cache replacement algorithms. Our proposed solution combines the two principles of locality and cost-sensitivity into one which we call: LACS: Locality-Aware Cost-Sensitive cache replacement algorithm. LACS estimates a cache block´s cost from the number of instructions the processor manages to issue during a cache miss on that block and then victimizes cache blocks with low cost and poor locality in order to maximize the overall cache performance. When LACS is evaluated using a uniprocessor architecture model, it speeds up 10 L2 cache performance-constrained SPEC CPU2000 benchmarks by up to 85% and 15% on average while not slowing down any of the 20 SPEC CPU2000 benchmarks evaluated. When evaluated using a dual-core CMP architecture model, LACS speeds up 6 SPEC CPU2000 benchmark pairs by up to 44% and 11% on average.
  • Keywords
    cache storage; storage management; L2 cache replacement; average memory access time; cache miss bursts; cache performance; cache replacement algorithms; cost sensitivity; dependency chain; locality principles; locality-aware cost-sensitive cache replacement algorithm; main memory; memory hierarchy; miss count; performance gap; processor; Algorithm design and analysis; Approximation algorithms; Benchmark testing; Classification algorithms; Partitioning algorithms; Prediction algorithms; Radiation detectors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Design (ICCD), 2010 IEEE International Conference on
  • Conference_Location
    Amsterdam
  • ISSN
    1063-6404
  • Print_ISBN
    978-1-4244-8936-7
  • Type

    conf

  • DOI
    10.1109/ICCD.2010.5647594
  • Filename
    5647594