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 条
  • [41] COMPILERS NEW ROLE IN DATA CACHE PREFETCHING
    CHI, CH
    INFORMATION PROCESSING '94, VOL I: TECHNOLOGY AND FOUNDATIONS, 1994, 51 : 189 - 194
  • [42] Combative Cache Efficacy Techniques: Cache Replacement in the Context of Independent Prefetching in Last Level Cache
    Gomes, Cesar
    Hempstead, Mark
    2015 33RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2015, : 423 - 426
  • [43] BERT4Cache: a bidirectional encoder representations for data prefetching in cache
    Shang, Jing
    Wu, Zhihui
    Xiao, Zhiwen
    Zhang, Yifei
    Wang, Jibin
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [44] BERT4Cache: a bidirectional encoder representations for data prefetching in cache
    Shang, Jing
    Wu, Zhihui
    Xiao, Zhiwen
    Zhang, Yifei
    Wang, Jibin
    PeerJ Computer Science, 2024, 10 : 1 - 21
  • [45] Graph4Cache: A Graph Neural Network Model for Cache Prefetching
    Shang, Jing
    Wu, Zhihui
    Xiao, Zhiwen
    Zhang, Yifei
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2024, 61 (08): : 1945 - 1956
  • [46] Software data prefetching for software pipelined loops
    Sánchez, J
    González, A
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1999, 58 (02) : 236 - 259
  • [47] Software-Behavior-Aware Prefetching Method in Embedded RISC Systems
    Li, Sizhao
    Han, Xinyu
    2020 IEEE 14TH INTERNATIONAL CONFERENCE ON ANTI-COUNTERFEITING, SECURITY, AND IDENTIFICATION (ASID), 2020, : 16 - 19
  • [48] SOFTWARE-CONTROLLED CACHE COHERENCE PROTOCOL FOR MULTICACHE SYSTEMS
    LOPRIORE, L
    INFORMATION PROCESSING LETTERS, 1989, 33 (03) : 125 - 130
  • [49] Broadcast based cache invalidation and prefetching in mobile environment
    Chand, N
    Joshi, R
    Misra, M
    HIGH PERFORMANCE COMPUTING - HIPC 2004, 2004, 3296 : 410 - 419
  • [50] A miss history-based architecture for cache prefetching
    Phalke, V
    Gopinath, B
    MEMORY MANAGEMENT, 1995, 986 : 381 - 398