Learned memory prefetching cuts computing delays by up to ten times
Neural Memory Orchestration
Distributed, Parallel, and Cluster ComputingMachine LearningOperating Systems
Summary
Modern high-performance computing tasks often get slowed down waiting for data from memory rather than processing power. Traditional methods predict simple memory access patterns but struggle with complex, irregular ones that real tasks show. The authors created Overseer, a system that watches and predicts future memory needs using machine learning, then prepares data in advance to avoid delays. Tested on heavy memory usage tasks, Overseer significantly speeds up performance and reduces major memory faults.
What this means in practice
- •For system administrators: Deploy real-time learned page prefetching to reduce latency in memory-intensive computing workloads on existing hardware.
- •For cloud infrastructure engineers: Integrate end-to-end machine-learned memory prefetching in data center servers to improve throughput for applications with irregular access patterns.
Authors
Michael Zizov, Boris Morose
Abstract
Modern HPC workloads increasingly stall on the memory hierarchy rather than on compute, and page faults from mmap'd files, swap, and tiered memory are a growing fraction of wall time. Heuristic prefetchers in the kernel handle stride-like and temporally clustered patterns well but degrade sharply on the irregular, data-dependent access streams typical of these workloads. Learned prefetchers have been shown to capture such patterns in simulation but have not been taken to a deployed pipeline running against live workloads on real hardware. We present Overseer, an end-to-end learned page-prefetching system. An eBPF collector observes page faults on the target host, a transformer predictor (OverNet) runs on network-attached inference hardware and emits future page addresses, and a kernel-resident enforcer materializes those pages into the target's address space before they are demanded. OverNet encodes fault sequences through per-instance ordinal ranks over deltas, which lets a single trained model serve any target process without retraining. On two page-fault-heavy workloads, Overseer reduces runtime by roughly 35% on Hilbert-curve traversal and by roughly an order of magnitude on dense matrix multiplication, with corresponding reductions in major-fault counts.