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 条
  • [1] WCET analysis of unified cache with software prefetching
    An, Li-Kui
    Gu, Zhi-Min
    Fu, Yin-Xia
    Zhao, Xin
    Gan, Zhi-Hua
    Beijing Ligong Daxue Xuebao/Transaction of Beijing Institute of Technology, 2015, 35 (07): : 730 - 736
  • [2] Prefetching Irregular References for Software Cache on Cell
    Chen, Tong
    Zhang, Tao
    Sura, Zehra
    Tallada, Marc Gonzalez
    O'Brien, Kathryn
    O'Brien, Kevin
    CGO 2008: SIXTH INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, PROCEEDINGS, 2008, : 155 - 164
  • [3] Hardware and software cache prefetching techniques for MPEG benchmarks
    Zucker, DF
    Lee, RB
    Flynn, MJ
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2000, 10 (05) : 782 - 796
  • [4] Adaptive software prefetching in scalable multiprocessors using cache information
    Park, D
    Seong, BH
    Saavedra, RH
    PARALLEL COMPUTING, 2001, 27 (09) : 1173 - 1195
  • [5] Interrupt triggered software prefetching for embedded CPU instruction cache
    Batcher, Ken W.
    Walker, Robert A.
    PROCEEDINGS OF THE 12TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, 2006, : 91 - +
  • [6] Secondary cache enhancement using a novel tagged prefetching method
    Ki, A
    MICROPROCESSORS AND MICROSYSTEMS, 1999, 23 (04) : 245 - 253
  • [7] BURST-CONTROLLED PREFETCHING TO REDUCE FINITE CACHE PENALTY.
    Hoevel, L.W.
    Voldman, J.
    1600, (26):
  • [8] A SOFTWARE-CONTROLLED PREFETCHING MECHANISM FOR SOFTWARE-MANAGED TLBS
    PARK, JS
    AHN, GS
    MICROPROCESSING AND MICROPROGRAMMING, 1995, 41 (02): : 121 - 136
  • [9] Software-controlled prefetching mechanism for software-managed TLBs
    Electronics and Telecommunications, Research Inst, Taejon, Korea, Republic of
    Microprocess Microprogram, 2 (121-136):
  • [10] Cache Prefetching in Embedded DSPs
    Vaintraub, Adiel
    Kahn, Roger
    Weiss, Shlomo
    2018 IEEE INTERNATIONAL CONFERENCE ON THE SCIENCE OF ELECTRICAL ENGINEERING IN ISRAEL (ICSEE), 2018,