Algorithms to Take Advantage of Hardware Prefetching

被引:0
作者
Pan, Shen [1 ]
Cherng, Cary [2 ]
Dick, Kevin [3 ]
Ladner, Richard E. [4 ]
机构
[1] Amazon, 605 5th Ave S, Seattle, WA 98104 USA
[2] Google Kirkland, Kirkland, WA 98003 USA
[3] CALTECH, Comp Sci Dept, Pasadena, CA 25680 USA
[4] Univ Washington, Dept Comp Sci, Seattle, WA 98195 USA
来源
PROCEEDINGS OF THE NINTH WORKSHOP ON ALGORITHM ENGINEERING AND EXPERIMENTS AND THE FOURTH WORKSHOP ON ANALYTIC ALGORITHMICS AND COMBINATORICS | 2007年
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Cache-oblivious and cache-aware algorithms have been developed to minimize cache misses. Some of the newest processors have hardware prefetching where cache misses are avoided by predicting ahead of time what memory will be needed in the future and bringing that memory into the cache before it 13 used. It is shown that hardware prefetching permits the standard Floyd-Warshall algorithm for all-pairs shortest paths to outperform cache-oblivious and cache-aware algorithms. A simple improvement to the standard simple dynamic programming algorithm yields an algorithm that takes advantage of prefetching, and outperforms cache-oblivious and cache-aware algorithms. Finally, it is shown that variants of standard FFT algorithms exhibit good prefetching performance.
引用
收藏
页码:91 / +
页数:2
相关论文
共 50 条
[11]   AN EVALUATION OF HARDWARE AND SOFTWARE DATA PREFETCHING [J].
BAER, JL ;
CHEN, TF .
APPLICATIONS IN PARALLEL AND DISTRIBUTED COMPUTING, 1994, 44 :257-266
[12]   The Game of Latency, Bandwidth, and Hardware Prefetching [J].
Panda, Biswabandan .
COMPUTER, 2024, 57 (06) :122-126
[13]   Best-Offset Hardware Prefetching [J].
Michaud, Pierre .
PROCEEDINGS OF THE 2016 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE (HPCA-22), 2016, :469-480
[14]   Loop Transformations Leveraging Hardware Prefetching [J].
Sioutas, Savvas ;
Stuijk, Sander ;
Corporaal, Henk ;
Basten, Twan ;
Somers, Lou .
PROCEEDINGS OF THE 2018 INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO'18), 2018, :254-264
[15]   LETS TAKE ADVANTAGE OF OUR ADVANTAGE [J].
DILLON, RD .
AGRICULTURAL EDUCATION, 1976, 49 (01) :3-3
[16]   Cooperative prefetching: Compiler and hardware support for effective instruction prefetching in modern processors [J].
Luk, CK ;
Mowry, TC .
31ST ANNUAL ACM/IEEE INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, PROCEEDINGS, 1998, :182-193
[17]   TAKE ADVANTAGE OF TECHNOLOGY [J].
JOHNSON, EC .
QUALITY PROGRESS, 1993, 26 (10) :23-24
[18]   TAKE ADVANTAGE OF PEOPLE [J].
SMOLUK, GR .
SPE JOURNAL, 1972, 28 (09) :3-&
[19]   Cheaters take advantage [J].
Irene Vacca .
Nature Reviews Microbiology, 2017, 15 (10) :575-575
[20]   Take advantage of opportunity [J].
BMG Metals Inc., Richmond, VA .
Mod. Met., 2006, 2 (54-56)