|国家预印本平台
首页|Improved Prefetching Techniques for Linked Data Structures

Improved Prefetching Techniques for Linked Data Structures

Improved Prefetching Techniques for Linked Data Structures

来源:Arxiv_logoArxiv
英文摘要

With ever-increasing main memory stall times, we need novel techniques to reduce effective memory access latencies. Prefetching has been shown to be an effective solution, especially with contiguous data structures that follow the traditional principles of spatial and temporal locality. However, on linked data structures$-$made up of many nodes linked together with pointers$-$typical prefetchers struggle, failing to predict accesses as elements are arbitrarily scattered throughout memory and access patters are arbitrarily complex and hence difficult to predict. To remedy these issues, we introduce $\textit{Linkey}$, a novel prefetcher that utilizes hints from the programmer/compiler to cache layout information and accurately prefetch linked data structures. $\textit{Linkey}$ obtains substantial performance improvements over a striding baseline. We achieve a geomean 13% reduction in miss rate with a maximum improvement of 58.8%, and a 65.4% geomean increase in accuracy, with many benchmarks improving from 0%. On benchmarks where $\textit{Linkey}$ is applicable, we observe a geomean IPC improvement of 1.40%, up to 12.1%.

Nikola Vuk Maruszewski

计算技术、计算机技术

Nikola Vuk Maruszewski.Improved Prefetching Techniques for Linked Data Structures[EB/OL].(2025-05-27)[2025-06-18].https://arxiv.org/abs/2505.21669.点此复制

评论