LACS: A Locality-Aware Cost-Sensitive Cache Replacement Algorithm

被引:16
|
作者
Kharbutli, Mazen [1 ]
Sheikh, Rami [2 ]
机构
[1] Jordan Univ Sci & Technol, Dept Comp Engn, Irbid 22110, Jordan
[2] N Carolina State Univ, Dept Elect & Comp Engn, Raleigh, NC 27695 USA
关键词
Cache memories; caches; cache replacement algorithms; cost-sensitive cache replacement; shared caches; HIGH-PERFORMANCE;
D O I
10.1109/TC.2013.61
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The design of an effective last-level cache (LLC) in general-and an effective cache replacement/partitioning algorithm in particular-is critical to the overall system performance. The processor's ability to hide the LLC miss penalty differs widely from one miss to another. The more instructions the processor manages to issue during the miss, the better it is capable of hiding the miss penalty and the lower the cost of that miss. This nonuniformity in the processor's ability to hide LLC miss latencies, and the resultant nonuniformity in the performance impact of LLC misses, opens up an opportunity for a new cost-sensitive cache replacement algorithm. This paper makes two key contributions. First, It proposes a framework for estimating the costs of cache blocks at run-time based on the processor's ability to (partially) hide their miss latencies. Second, It proposes a simple, low-hardware overhead, yet effective, cache replacement algorithm that is locality-aware and cost-sensitive (LACS). LACS is thoroughly evaluated using a detailed simulation environment. LACS speeds up 12 LLC-performance-constrained SPEC CPU2006 benchmarks by up to 51% and 11% on average. When evaluated using a dual/quad-core CMP with a shared LLC, LACS significantly outperforms LRU in terms of performance and fairness, achieving improvements up to 54%.
引用
收藏
页码:1975 / 1987
页数:13
相关论文
共 50 条
  • [1] Locality-aware cache random replacement policies
    Benedicte, Pedro
    Hernandez, Carles
    Abella, Jaume
    Cazorla, Francisco J.
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2019, 93 : 48 - 61
  • [2] Cost-sensitive cache replacement algorithms
    Jeong, J
    Dubois, M
    [J]. NINTH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2003, : 327 - 337
  • [3] Spatial Locality-Aware Cache Partitioning for Effective Cache Sharing
    Gupta, Saurabh
    Zhou, Huiyang
    [J]. 2015 44TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP), 2015, : 150 - 159
  • [4] Locality-Aware Data Replication in the Last-Level Cache
    Kurian, George
    Devadas, Srinivas
    Khan, Omer
    [J]. 2014 20TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA-20), 2014, : 1 - 12
  • [5] Sparbit: Towards to a Logarithmic-Cost and Data Locality-Aware MPI Allgather Algorithm
    Loch, Wilton Jaciel
    Koslovski, Guilherme Piegas
    [J]. JOURNAL OF GRID COMPUTING, 2023, 21 (02)
  • [6] Sparbit: Towards to a Logarithmic-Cost and Data Locality-Aware MPI Allgather Algorithm
    Wilton Jaciel Loch
    Guilherme Piêgas Koslovski
    [J]. Journal of Grid Computing, 2023, 21
  • [7] Sparbit: a new logarithmic-cost and data locality-aware MPI Allgather algorithm
    Loch, Wilton Jaciel
    Koslovski, Guilherme Piegas
    [J]. 2021 IEEE 33RD INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD 2021), 2021, : 167 - 176
  • [8] Cache Storage Optimization for Locality-Aware Peer-to-Peer Multimedia Distribution
    Di Pascale, Emanuele
    Ruffini, Marco
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2015, : 5565 - 5570
  • [9] Locality-Aware Replacement Algorithm in Flash Memory to Optimize Cloud Computing for Smart Factory of Industry 4.0
    He, Jianfan
    Jia, Gangyong
    Han, Guangjie
    Wang, Hao
    Yang, Xuan
    [J]. IEEE ACCESS, 2017, 5 : 16252 - 16262
  • [10] Locality-aware data replication in the last-level cache for large scale multicores
    Farrukh Hijaz
    Qingchuan Shi
    George Kurian
    Srinivas Devadas
    Omer Khan
    [J]. The Journal of Supercomputing, 2016, 72 : 718 - 752