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 条
  • [31] Software-controlled cache architecture for energy efficiency
    Yang, CL
    Tseng, HW
    Ho, CC
    Wu, JL
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2005, 15 (05) : 634 - 644
  • [32] Behavior analysis of software controlled Cache replacement policy
    Du, Hongyan
    Pan, Yi
    Tian, Xingyan
    Ou, Xinliang
    Huazhong Keji Daxue Xuebao (Ziran Kexue Ban)/Journal of Huazhong University of Science and Technology (Natural Science Edition), 2009, 37 (08): : 19 - 22
  • [33] MITHRIL: Mining Sporadic Associations for Cache Prefetching
    Yang, Juncheng
    Karimi, Reza
    Saemundsson, Trausti
    Wildani, Avani
    Vigfusson, Ymir
    PROCEEDINGS OF THE 2017 SYMPOSIUM ON CLOUD COMPUTING (SOCC '17), 2017, : 66 - 79
  • [34] A prefetching algorithm for improving web cache performance
    Umapathi, C.
    Raja, J.
    Journal of Applied Sciences, 2006, 6 (15) : 3122 - 3127
  • [35] A performance study of instruction cache prefetching methods
    Hsu, WC
    Smith, JE
    IEEE TRANSACTIONS ON COMPUTERS, 1998, 47 (05) : 497 - 508
  • [36] A Software Method of Reconfigurable Technology on SoC Cache
    Wang, Yilei
    Liu, Chanjuan
    Li, Tao
    Gao, Ming
    ITESS: 2008 PROCEEDINGS OF INFORMATION TECHNOLOGY AND ENVIRONMENTAL SYSTEM SCIENCES, PT 1, 2008, : 1004 - 1010
  • [37] SARC: Sequential prefetching in adaptive replacement cache
    Gill, BS
    Modha, DS
    USENIX ASSOCIATION PROCEEDINGS OF THE GENERAL TRACK: 2005 UNENIX ANNUAL TECHNICAL CONFERENCE, 2005, : 293 - 308
  • [38] Instruction cache prefetching directed by branch prediction
    Chiu, JC
    Shiu, RM
    Chi, SA
    Chung, CP
    IEE PROCEEDINGS-COMPUTERS AND DIGITAL TECHNIQUES, 1999, 146 (05): : 241 - 246
  • [39] Instruction cache prefetching directed by branch prediction
    Institute of Computer Science and Information Engineering, National Chiao Tung University, Hsinchu 30050, Taiwan
    IEE Proc Comput Digital Tech, 5 (241-246):
  • [40] Markov Tree Prediction on Web Cache Prefetching
    Feng, Wenying
    Man, Shushuang
    Hu, Gongzhu
    SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, 2009, 209 : 105 - +