Shared last-level caches (LLCs) increasingly dominate server processor die area, forcing architects to trade core counts for cache capacity. While intelligent data prefetching offers a pathway to reclaim this silicon, designing coordinated, multi-level prefetching policies for multi-core systems is bottlenecked by day-long, cycle-level simulations. This simulation wall limits even LLM-based microarchitecture discovery; the state-of-the-art ArchAgent system evolves one cache level at a time on single-core benchmarks, adds multi-core configurations only at the end, and trails the human champion under multi-core shared cache contention. We introduce DuoArchitect, an autonomous agentic framework for multi-fidelity, multi-core co-discovery of prefetchers. Agents jointly evolve evaluation proxies and coordinated prefetching policies across the L1D, L2, and LLC hierarchies, constructing simulation proxies 3-26x faster than cluster evaluation and hardware diagnostic oracles to guide the search. To study how much cache silicon a smarter prefetcher can replace, we evaluate and evolve prefetchers under reduced cache budgets, and find that evolving under our tightest cache constraint (with both the L2 and LLC halved) produced our strongest prefetcher overall at every cache size we tested: DuoArch-Nano. On the Fourth Data Prefetching Championship (DPC4) benchmarks with full-size caches, DuoArch-Nano delivers a 9.2% geomean IPC speedup (+10.5% on four-core mixes) while reducing four-core DRAM traffic by 11.4%, more than doubling the gains of the human champion BertiGO and the agentic ArchAgent v2. When the LLC is halved, DuoArch-Nano erases the baseline's 8.6% overall slowdown and edges out the full-LLC baseline overall (+0.88%), showing that agentic frameworks can generate prefetchers that reclaim megabytes of LLC SRAM per core with zero overall IPC penalty.
Figures & tables
Figure 1. Speedup over the full-size baseline, (a) with full-size caches and (b) with 50% LLC.
Figure 2. Overview of DuoArchitect and its 3 evaluation tiers.
Figure 3. L1D of DuoArch-Nano: stages deep lookahead into L2, with stream and page-delta helpers and an online configuration selector.
Figure 4. L2 of DuoArch-Nano: Pythia behind a code-aware gate, with region-footprint and neighbour engines and a page-table-line retention engine.
Figure 5. LLC of DuoArch-Nano: a temporal correlator with accuracy and bandwidth gates and four-core sharing controls.
1 channel, 4,800 MT/s (fullBW, 4C) or 800 MT/s (limitBW)
1C regimes
610 traces (50M/200M) at 4,800 MT/s (fullBW) and 800 MT/s (limitBW)
4C regime
483 4-trace mixes (20M/50M per core) at 4,800 MT/s, harmonic-mean IPC
Table 1. DPC4 processor hierarchy and evaluation regimes.
Figure 6. Official speedup over the baseline with full-size caches for every setting on each machine.
L1D
L2
LLC
L1D
L2
L2 PF
DRAM
Design
MPKI
MPKI
MPKI
Acc. %
Acc. %
PKI
PKI
1C FullBW
Baseline
22.33
10.09
6.53
70.7
47.2
49.0
21.0
ArchAgent v2
18.36
8.14
5.56
81.1
67.3
35.4
18.5
DuoArch-Nano
22.15
8.35
5.15
83.3
69.2
53.7
18.0
1C LimitBW
Table 2. Cache counters on the full-size machine.
Figure 7. DRAM requests per kilo-instruction per machine. The dashed line marks the baseline with full-size caches.
Figure 8. Speedup over the same-size baseline on the 50% L2 + 50% LLC machine for every trace at fullBW/limitBW and every 4C mix, sorted per design.
Level
Diagnostic Yardstick
What It Measures & Key Finding
Resulting Mechanism (Search Gain)
L1D
Miss-latency probe
Measures L1D miss latency on 1C vs. 4C: per-PC Berti beat page-keyed Berti (+2–3% 1C, +2.4% 4C), but its aggressive streams pushed 4C miss latency to 1,000–1,200 cycles (vs. ∼ 250 on 1C).
Per-PC timely-delta Berti with a high-latency throttle ( ≤1 prefetch/trigger above 350 cycles).
L2
Per-trace ablation
Disables the baseline’s L2 Pythia trace-by-trace under limited bandwidth: gained +20.0% on a SPEC trace and +9.2% on a Graph trace, but lost − 9.3% on BFS (ruling out a static switch).
Online set-dueling gate that dynamically enables or disables Pythia at runtime.
L2
Idealized page-walk & pinning oracle
Simulates 0-cycle page walks and pins PTE lines in L2 vs. LLC: free walks gained +7–19% on Google traces, and pinning PTEs in the 1 MB L2 gained +2.2–8.3% (vs. ∼ 0% in the LLC).
L2 PTE retention engine (pins cost no extra storage) that infers PTE lines and refreshes them at MRU (+1.24%).
LLC
Offline miss-stream profiler
Profiles Markov coverage of residual LLC misses: covered 33–43% on pointer-chasing SPEC traces (2–20% on Google), while 4C co-runners caused 30% of a victim’s link evictions.
256 KB LLC temporal correlator (+0.65%) with sampled table writes under 4C (+0.46% 4C).
LLC and L1D
Single-mix replacement oracle
Tests silencing fast cores’ L1Ds (+9–17% on two mixes, − 27% on two others) and inserting co-runner LLC fills at lowest priority (lifting the slowest victim core’s IPC by +34%).
Victim-conditional fairness relay (+1.5% 4C) and borrowed-way victim pins.
Table 3. Bottleneck-diagnostic yardsticks built by DuoArchitect on the 50% L2 + 50% LLC machine and the mechanisms it drove.
Figure 9. Evolutionary trajectory of DuoArch-Nano on the 50% L2 + 50% LLC machine (official speedup over the same-size baseline). Callouts highlight the major step gains and the mechanisms they introduced (the x-axis omits an idle gap on days 9.9–11.7).
Trace Counts
Typical Window
Faster By
Ordered Right
56 (Template)
2M/8M
3.0×
86% (19/22)
16–20
1M/4M–3M/10M
26×
77% (55/71)
7–15
1M/2M–2M/2M
65×
57% (142/250)
≤6
0M/1M–2M/3M
59×
50% (67/135)
Table 4. Speed–fidelity trade-off across candidate-ranking yardsticks in DuoArch-Nano, grouped by trace count.
Figure 10. Per-level ablation of DuoArch-Nano on the 50% L2 + 50% LLC machine (speedup over the same-size baseline).
Figure 11. Overall official speedup (geomean) of the three small-cache designs over the baseline on the same machine.
Figure 12. Official IPC per suite against the full-size baseline at fullBW, limitBW and 4C.
Hierarchical memory organizes information into levels of abstraction or timescale so AI systems can retain, update, and retrieve useful context efficiently.