Automatic compiler-inserted prefetching for pointer-based applications

Authors
Citation
Ck. Luk et Tc. Mowry, Automatic compiler-inserted prefetching for pointer-based applications, IEEE COMPUT, 48(2), 1999, pp. 134-141
Citations number
22
Categorie Soggetti
Computer Science & Engineering
Journal title
IEEE TRANSACTIONS ON COMPUTERS
ISSN journal
00189340 → ACNP
Volume
48
Issue
2
Year of publication
1999
Pages
134 - 141
Database
ISI
SICI code
0018-9340(199902)48:2<134:ACPFPA>2.0.ZU;2-H
Abstract
As the disparity between processor and memory speeds continues to grow, mem ory latency is becoming an increasingly important performance bottleneck. W hile software-controlled prefetching is an attractive technique for tolerat ing this latency, its success has been limited thus far to array-based nume ric codes. In this paper, we expand the scope of automatic compiler-inserte d prefetching to also include the recursive data structures commonly found in pointer-based applications. We propose three compiler-based prefetching schemes, and automate the most widely applicable scheme (greedy prefetching ) in an optimizing research compiler. Our experimental results demonstrate that compiler-inserted prefetching can offer significant performance gains on both uniprocessors and large-scale shared-memory multiprocessors.