An automated method for software controlled cache prefetching

被引:0
|
作者
Zucker, DF [1 ]
Lee, RB [1 ]
Flynn, MJ [1 ]
机构
[1] Stanford Univ, Dept Elect Engn, Comp Syst Lab, Stanford, CA 94305 USA
关键词
prefetching; cache; SPEC95; software prefetching; stride based prefetching; mpeg;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As the gap between cycle time and main memory access time increases, memory system performance becomes increasingly important, The trend to higher instruction level parallelism with superscalar processors puts even higher demands on the memory system. Prefetching is a common strategy to tolerate this increased memory latency. This paper presents a software only technique to prefetch data to the CPU cache before it is needed in order combat this problem. The software prefetching technique presented is motivated by emulation of a hardware stride prediction table (SPT). Performance similar, and in some cases superior, to the hardware based technique is achieved with no additional hardware costs. In the first step, a simulation of the hardware SPT is conducted to identify where useful prefetches are best added, In the next step, software prefetches are added to the executable code, The technique is automated and could be implemented by a compiler as a two phase optimization of a profile step followed by an optimization step. Data is presented for both SPEC95 and multimedia benchmarks, In the best case, a performance improvement of 2.78X is observed over the same code with no prefetching at no extra hardware costs.
引用
收藏
页码:106 / 114
页数:9
相关论文
共 50 条
  • [21] Instruction cache prefetching with extended BTB
    Chi, SA
    Shiu, RM
    Chiu, JC
    Chang, SE
    Chung, CP
    1997 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1997, : 360 - 365
  • [22] Data Cache Prefetching With Dynamic Adaptation
    Khan, Minhaj Ahmad
    COMPUTER JOURNAL, 2011, 54 (05): : 815 - 823
  • [23] Page Size Aware Cache Prefetching
    Vavouliotis, Georgios
    Chacon, Gino
    Alvarez, Lluc
    Gratz, Paul V.
    Jimenez, Daniel A.
    Casas, Marc
    2022 55TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2022, : 956 - 974
  • [24] Stride prefetching for the secondary data cache
    Ki, A
    Knowles, AE
    JOURNAL OF SYSTEMS ARCHITECTURE, 2000, 46 (12) : 1093 - 1102
  • [25] SCP: Synergistic Cache Compression and Prefetching
    Patel, Bhargavraj
    Hardavellas, Nikos
    Memik, Gokhan
    2015 33RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2015, : 164 - 171
  • [26] Compressed cache layout aware prefetching
    Charmchi, Niloofar
    Collange, Caroline
    Seznec, Andre
    2019 31ST INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD 2019), 2019, : 25 - 28
  • [27] Path and cache conscious prefetching (PCCP)
    Zhen He
    Alonso Marquez
    The VLDB Journal, 2007, 16 : 235 - 249
  • [28] Path and cache conscious prefetching (PCCP)
    He, Zhen
    Marquez, Alonso
    VLDB JOURNAL, 2007, 16 (02): : 235 - 249
  • [29] Software prefetching for software pipelined loops
    Sanchez, FJ
    Gonzalez, A
    PROCEEDINGS OF THE THIRTY-FIRST HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOL VII: SOFTWARE TECHNOLOGY TRACK, 1998, : 778 - 779
  • [30] Automated Detection of Instruction Cache Leaks in Modular Exponentiation Software
    Zankl, Andreas
    Heyszl, Johann
    Sigl, Georg
    SMART CARD RESEARCH AND ADVANCED APPLICATIONS, CARDIS 2016, 2017, 10146 : 228 - 244