arXiv:2610.39797cs.AROct 2026

Manuscript Offprint

arXiv:2610.39797

Caerus: Prefetching by Thinking Globally and Acting Locally

Jacky Wong, Jacob Alexandrou, Yinting Huang, Luke Panayi, Lev Mukhanov, Sam Ainsworth, Paul Kelly

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Jacky Wong 1∗†^{1*†}, Jacob Alexandrou 1∗^{1*}, Yinting Huang 2^{2}, Luke Panayi 1^{1}

Lev Mukhanov 3^{3}, Sam Ainsworth 3^{3}, Paul H. J. Kelly 1^{1}

1^{1}Imperial College London, United Kingdom 2^{2}University of Cambridge, United Kingdom

3^{3}IMEC, United Kingdom

Abstract—Modern processors rely heavily on data prefetching to bridge the growing performance gap between computation and memory accesses. In offset prefetching, prefetches are issued at an address delta relative to the most recently observed access, selecting deltas that have exhibited high coverage in the recent access-stream history. The Best-Offset Prefetcher (BOP) exemplifies this approach by selecting a single uniformly-issued global offset that delivers timely prefetches. However, its lack of context-sensitive accuracy tracking results in significantly increased DRAM traffic and sometimes disappointing performance. Conversely, Berti, the state-of-the-art offset prefetcher, achieves impressive prefetching performance and accuracy. However, its Program-Counter (PC)-local approach to extracting offsets limits its ability to capture global memory patterns, meaning there are many scenarios where simpler global offset prefetchers, such as BOP, outperform it.

Observing the limitations of contemporary offset prefetchers, we present Caerus: an offset prefetcher that employs PC-local filtering on multiple non-overlapping globally derived offsets. Caerus extracts multiple offsets from the global memory trace and maximizes their combined coverage by training each offset only on accesses not already covered by previously learned offsets. The accuracy of each extracted offset is tracked per-PC based on whether it can cover future accesses for any PC. This allows Caerus to address complex delta patterns while maintaining high accuracy. In SPECspeed 2017, Caerus gains a geomean speedup of 8.3%, outperforming Berti by 2.0% while achieving low hardware and DRAM-traffic overhead.

Index Terms—Data Prefetching, Hardware Prefetching, Cache Systems, Microarchitecture

I. INTRODUCTION

Modern processors are increasingly constrained by memory latency. As CPU cores become faster and more parallel, the gap between computation speed and memory access time is expanding. This is particularly problematic in memory-intensive workloads where the cost of waiting for memory transactions dominates execution time.

To bridge this gap, almost all modern CPUs employ data prefetchers that speculate on future memory accesses and fetch addresses before they are explicitly requested. Offset prefetchers [31], [24], [14], [10], [33] have emerged as the preferred method of spatial prefetching, with the state-of-the-art being Berti [25]. Their practical relevance is further

Figure

Fig. 1: Geomean speedup (SPEC2017) vs. hardware/DRAM-traffic overhead (log-scale) of BOP [19], MLOP [33], Chimera [14], Berti [25], BertiGO [35], GBerti [30] and Caerus. Caerus achieves the highest performance while incurring low DRAM traffic and hardware cost.

demonstrated by the adoption of the Best-Offset Prefetcher (BOP) [19] in real systems [7], [29].

Offset prefetchers trigger timely prefetches by looking far enough back in the address stream, and can cover complex repeating patterns such as (+2,+3,+2,+3)(+2, +3, +2, +3) by learning a compound offset such as +5+5, rather than being limited to a single fixed stride (see Fig. 2). These factors significantly enhance the coverage and timeliness of offset prefetchers. Furthermore, since offset prefetchers do not obey precise ordering constraints, they are invariant to the negative effects of out-of-order execution.

However, we observe that Berti [25], [24], the current state-of-the-art design, has coverage limitations that harm its potential. This is due to its completely PC-localized training and filtering: an offset trained at one PC can never cover accesses from another PC (see Section II-A). Recent top DPC4 [1] entrants BertiGO [35] and GBerti [30] do not fix these underlying issues, with the winner, BertiGO, only improving on Berti by 0.5% (Fig. 1). Composite prefetchers such as Chimera [14] and Hyperion [10] acknowledge this inherent drawback and incorporate heuristics that employ orthogonal prefetchers. Hyperion derives offsets localized to

∗^{*}Equal contribution.

†^{\dagger} Corresponding Author: jacky.wong20@imperial.ac.uk

This work has been partially funded by UKRI grant EP/Y020499/1.

cover entire individual regions/pages [14], [10], while Chimera incorporates a BOP-like [19] prefetcher that uses one offset to cover all accesses [14]. However, both of these designs fail to realize and exploit an important property: that the performant offsets at a given PC may effectively cover the access of an entirely different PC.

BOP [19] avoids this limitation by considering offsets derived from a global scope. However, issuing the same offset prefetch at every PC ignores the local execution context and is often inaccurate [25]. This limits BOP to issuing just one offset, in order to not increase inaccuracy further. MLOP [33] issues from many offsets by trading off timeliness and coverage with each, but suffers from very high DRAM traffic, in turn harming performance (see Section II-B).

Given the limitations of contemporary offset prefetchers, we develop Caerus: a novel hybrid methodology that incorporates the granular per-PC accuracy tracking strategy of Berti, enabling a variable number of distinct offsets to be issued at different PCs, while preserving the comprehensive, global training scope of BOP. This requires several new insights:

  • We develop a next-best offset selection algorithm to choose the set of offsets that collectively maximizes coverage by minimizing wasteful redundancy between distinct offsets that cover the same loads. This handles the problem of overlap: the best offset(s) at PC A might cover all the same loads as the best offset(s) at PC B, leaving accesses at PC C not prefetched at all.

  • We then apply a filter on these overlap-resistant offsets based on their relevance in the load’s PC-local context, allowing Caerus to achieve both high coverage and accuracy.

  • Finally we introduce a practical method for tracking timeliness inspired by BOP but generalized to complex conditional, multi-offset prefetches, avoiding Berti’s complex cache timeliness tags.

Caerus achieves an 8.3% speedup in SPECspeed 2017, outperforming all of its competitors by a wide margin (Fig. 1) while being highly frugal. Caerus achieves comparable DRAM traffic and hardware size to the original Berti [25], while outperforming it by 2.0%. It also outperforms the DPC4 winner, BertiGO [35], by 1.5% while consuming only a tenth of the hardware resources and half the excess DRAM traffic.

References (41)