arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.09955cs.AR
收藏

迈向智能预取:复杂内存访问预测技术综述

Toward Intelligent Prefetching: A Survey on Complex Memory Access Prediction Techniques

Shiv Nadar IoE(希夫纳达尔工程学院)

Sheel Sindhu Manohar

AI总结:

本文系统综述了基于机器学习的复杂内存访问预测技术,提出三维分类法,并通过多维度比较分析揭示了准确率-开销帕累托前沿、模型复杂度与缓存层级映射关系以及运行时适应性与模型容量之间的基本矛盾。

摘要:

数据预取是一种关键技术,通过预测未来内存访问并在需求前将数据检索到片上缓存,弥合处理器与内存之间的性能差距。虽然基于下一行、步长和相关启发式的传统预取器在规则访问模式下表现良好,但对于现代工作负载(如图分析、稀疏矩阵计算和指针密集型应用)中普遍存在的不规则、数据依赖模式,它们根本不足。本综述采用PRISMA指导的选择方法对论文进行系统回顾。我们提出一个结构化分类法,从三个维度组织预取技术:局部性类型(包括空间和时间局部性)、实现层(包括硬件、软件和混合方法),以及对于日益重要的基于ML的预取器,学习范式(包括监督学习、强化学习和无监督学习)与训练模式(包括在线和离线训练)配对。通过对基于ML的预取器在存储开销、准确率、推理延迟、硬件可行性和泛化能力方面的多维度比较分析,我们确定了三个关键发现:由模型类别定义的准确率-开销帕累托前沿、模型复杂度与缓存层级之间的自然架构映射,以及运行时适应性与模型容量之间的基本矛盾,这激发了分层集成架构。

英文摘要:

Data prefetching is a critical technique for bridging the processor-memory performance gap by predicting future memory accesses and retrieving data into on-chip caches before demand. While traditional prefetchers based on next-line, stride, and correlation heuristics perform well for regular access patterns, they are fundamentally inadequate for the irregular, data-dependent patterns prevalent in modern workloads such as graph analytics, sparse matrix computations, and pointer-intensive applications. This survey presents a systematic review of papers using a PRISMA-guided selection methodology. We propose a structured taxonomy that organizes prefetching techniques across three dimensions: locality type, including spatial and temporal locality; implementation layer, including hardware, software, and hybrid approaches; and, for the increasingly important class of ML-based prefetchers, learning paradigm, including supervised, reinforcement, and unsupervised learning, paired with training mode, including online and offline training. Through a multi-dimensional comparative analysis of ML-based prefetchers evaluated across storage overhead, accuracy, inference latency, hardware feasibility, and generalization ability, we identify three key findings: an accuracy-overhead Pareto frontier defined by model class, a natural architectural mapping between model complexity and cache hierarchy level, and a fundamental tension between runtime adaptability and model capacity that motivates hierarchical ensemble architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑