paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Classifying Memory Access Patterns for Prefetching

面向预取的内存访问模式分类
ASPLOS Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems2020匹配度 2/10 · 论文属于体系结构/预取方向,基于指令数据流分析访存模式,与用户核心关注的 LLM/Agent 静态分析、AI 改进静态分析、浮点程序分析和贝叶斯程序分析均无直接关联;仅共享底层程序数据流分析技术,但应用场景差异较大。引用 82 inbox
Grant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy Ranganathan
crossref: 2026-09-12

AI 速览

一句话:提出基于指令数据流的访存模式分类方法,揭示现有预取器局限,并用软件预取注入超越先进硬件预取器。

预取是缓解微处理器访存停顿的重要技术,但应用访存行为难以理解,也难以判断某应用能否从特定预取器受益。本文提出一种对应用内存访问模式进行分类的新方法:利用指令数据流信息识别包括偏移与间接访问任意组合在内的多种模式,并将其抽象为预取内核,以刻画重用、步长、引用局部性和复杂地址生成。通过分析这些模式的复杂度与频率,作者可推理预取及时性与关键性,揭示现有预取器的局限;同时能计算多数高缺失指令的下一个地址,并提出软件预取注入方法。摘要报告该方法能够优于当前最先进的硬件预取器。

问题
应用访存行为理解不足,难以预测特定应用是否会从某类预取技术中获益。
方法
利用指令数据流信息识别偏移、间接等访存模式,归类为预取内核并分析其复杂度与频率;据此计算下一地址并注入软件预取。
评估
通过访存模式分析与软件预取注入,并与最先进硬件预取器比较,摘要报告该方法能够取得更优表现。
原文摘要(Abstract)

Prefetching is a well-studied technique for addressing the memory access stall time of contemporary microprocessors. However, despite a large body of related work, the memory access behavior of applications is not well understood, and it remains difficult to predict whether a particular application will benefit from a given prefetcher technique. In this work we propose a novel methodology to classify the memory access patterns of applications, enabling well-informed reasoning about the applicability of a certain prefetcher. Our approach leverages instruction dataflow information to uncover a wide range of access patterns, including arbitrary combinations of offsets and indirection. These combinations or prefetch kernels represent reuse, strides, reference locality, and complex address generation. By determining the complexity and frequency of these access patterns, we enable reasoning about prefetcher timeliness and criticality, exposing the limitations of existing prefetchers today. Moreover, using these kernels, we are able to compute the next address for the majority of top-missing instructions, and we propose a software prefetch injection methodology that is able to outperform state-of-the-art hardware prefetchers.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5441,
  title = {Classifying Memory Access Patterns for Prefetching},
  author = {Grant Ayers and Heiner Litz and Christos Kozyrakis and Parthasarathy Ranganathan},
  booktitle = {ASPLOS},
  year = {2020},
  doi = {10.1145/3373376.3378498}
}