Selective victim caching: A method to improve the performance of direct-mapped caches

被引:21
|
作者
Stiliadis, D [1 ]
Varma, A [1 ]
机构
[1] UNIV CALIF SANTA CRUZ,DEPT COMP ENGN,SANTA CRUZ,CA 95064
基金
美国国家科学基金会;
关键词
victim cache; direct-mapped cache; instruction cache; data cache; cache simulation;
D O I
10.1109/12.589235
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Although direct-mapped caches suffer from higher miss ratios as compared to set-associative caches, they are attractive for today's high-speed pipelined processors that require very low access times. Victim caching was proposed by Jouppi [1] as an approach to improve the miss rate of direct-mapped caches without affecting their access time. This approach augments the direct-mapped main cache with a small fully-associate cache, called victim cache, that stores cache blocks evicted from the main cache as a result of replacements. We propose and evaluate an improvement of this scheme, called selective victim caching. In this scheme, incoming blocks into the first-level cache are placed selectively in the main cache or a small victim cache by the use of a prediction scheme based on their past history of use. In addition, interchanges of blocks between the main cache and the victim cache are also performed selectively. We show that the scheme results in significant improvements in miss rate as well as the average memory access time, for both small and large caches (4 Kbytes-128 Kbytes). For example, simulations with ten instruction traces from the SPEC '92 benchmark suite showed an average improvement of approximately 21 percent in miss rate over simple victim caching for a 16-Kbyte cache with a block size of 32 bytes; the number of blocks interchanged between the main and victim caches reduced by approximately 70 percent. Implementation alternatives for the scheme in an on-chip processor cache are also described.
引用
收藏
页码:603 / 610
页数:8
相关论文
共 15 条
  • [1] A CASE FOR DIRECT-MAPPED CACHES
    HILL, MD
    [J]. COMPUTER, 1988, 21 (12) : 25 - 40
  • [2] Opportunistic Compression for Direct-Mapped DRAM Caches
    Alameldeen, Alaa R.
    Agarwal, Rajat
    [J]. PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON MEMORY SYSTEMS (MEMSYS 2018), 2018, : 129 - 136
  • [3] Precise Timing Analysis for Direct-Mapped Caches
    Andalam, Sidharta
    Sinha, Roopak
    Roop, Partha
    Girault, Alain
    Reineke, Jan
    [J]. 2013 50TH ACM / EDAC / IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2013,
  • [4] AVOIDING CONFLICT MISSES DYNAMICALLY IN LARGE DIRECT-MAPPED CACHES
    BERSHAD, BN
    LEE, D
    ROMER, TH
    CHEN, JB
    [J]. SIGPLAN NOTICES, 1994, 29 (11): : 158 - 170
  • [5] Balanced cache: Reducing conflict misses of direct-mapped caches through programmable decoders
    Zhang, Chuanjun
    [J]. 33RD INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHTIECTURE, PROCEEDINGS, 2006, : 155 - 166
  • [6] Improving the Performance of Hybrid Caches Using Partitioned Victim Caching
    Agarwal, Sukarn
    Kapoor, Hemangee K.
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (01)
  • [7] Balanced instruction cache: Reducing conflict misses of direct-mapped caches through balanced subarray accesses
    Department of Electrical and Computer Engineering, San Diego State University
    [J]. IEEE Comput. Archit. Lett., 2006, 1 (2-5):
  • [8] A method to derive the cache performance of irregular applications on machines with direct mapped caches
    Scholtes, Carsten
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2005, 1 (2-4) : 157 - 174
  • [9] A probabilistic method for calculating hit ratios in direct mapped caches
    Rajaram, G
    Rajaraman, V
    [J]. JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 1996, 19 (03) : 309 - 319
  • [10] Accurately Estimating Worst-Case Execution Time for Multi-Core Processors with Shared Direct-Mapped Instruction Caches
    Zhang, Wei
    Yan, Jun
    [J]. 2009 15TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2009, : 455 - 463