paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CRISP: critical slice prefetching

CRISP:关键切片预取
ASPLOS Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2022匹配度 1/10 · 该论文属于计算机体系结构与编译优化方向,核心是通过软硬件协同的关键性调度隐藏不规则访存延迟,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户研究方向。引用 35 inbox
Heiner Litz, Grant Ayers, Parthasarathy Ranganathan
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出CRISP,通过软硬件协同的关键性调度提前执行滞后加载及其切片,以隐藏不规则访存延迟。

DRAM高访问延迟仍是微处理器性能瓶颈,现有预取无法有效应对不规则访存,而runahead执行等预测技术硬件复杂度高、难以实现。本文提出CRISP,一种轻量级关键切片预取机制:在软件中完成访存分类、加载与分支切片提取及优先级分析,硬件仅增加简单指令前缀并小幅修改指令调度器;它按关键性调度,尽早执行delinquent load及其load slice,并用类似方式隐藏分支误预测等其他高延迟。评估显示,在访存延迟受限应用上IPC最高提升38%,平均提升8.4%。

问题
不规则内存访问模式的高延迟难以被现有预取隐藏,而能预测此类访问的硬件机制又因复杂度过高而难以实现。
方法
提出CRISP,由软件负责访存分类、load/branch slice提取与优先级分析,硬件仅增加简单指令前缀并微调指令调度器,基于关键性尽早执行delinquent loads及其切片。
评估
在访存延迟受限应用上测量IPC,最高提升38%,平均提升8.4%。
原文摘要(Abstract)

The high access latency of DRAM continues to be a performance challenge for contemporary microprocessor systems. Prefetching is a well-established technique to address this problem, however, existing implemented designs fail to provide any performance benefits in the presence of irregular memory access patterns. The hardware complexity of prior techniques that can predict irregular memory accesses such as runahead execution has proven untenable for implementation in real hardware. We propose a lightweight mechanism to hide the high latency of irregular memory access patterns by leveraging criticality-based scheduling. In particular, our technique executes delinquent loads and their load slices as early as possible, hiding a significant fraction of their latency. Furthermore, we observe that the latency induced by branch mispredictions and other high latency instructions can be hidden with a similar approach. Our proposal only requires minimal hardware modifications by performing memory access classification, load and branch slice extraction, as well as priority analysis exclusively in software. As a result, our technique is feasible to implement, introducing only a simple new instruction prefix while requiring minimal modifications of the instruction scheduler. Our technique increases the IPC of memory-latency-bound applications by up to 38% and by 8.4% on average.

链接与引用

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

BibTeX
@inproceedings{LitzAR22,
  title = {CRISP: critical slice prefetching},
  author = {Heiner Litz and Grant Ayers and Parthasarathy Ranganathan},
  booktitle = {ASPLOS},
  year = {2022},
  doi = {10.1145/3503222.3507745}
}