跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 性能

arXiv:2509.18684 (cs)
[提交于 2025年9月23日]

标题:Static Estimation of Reuse Profiles for Arrays in Nested Loops

作者:Abdur Razzak, Atanu Barai, Nandakishore Santhi, Abdel-Hameed A. Badawy
查看论文《Static Estimation of Reuse Profiles for Arrays in Nested Loops》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Efficient memory access patterns play a crucial role in determining the overall performance of applications by exploiting temporal and spatial locality, thus maximizing cache locality. The Reuse Distance Histogram (RDH) is a widely used metric to quantify temporal locality, measuring the distance between consecutive accesses to the same memory location. Traditionally, calculating RDH requires program execution and memory trace collection to obtain dynamic memory access behavior. This trace collection is often time-consuming, resource-intensive, and unsuitable for early-stage optimization or large-scale applications. Static prediction, on the other hand, offers a significant speedup in estimating RDH and cache hit rates. However, these approaches lack accuracy, since the predictions come without running the program and knowing the complete memory access pattern, more specifically when arrays are used inside nested loops. This paper presents a novel static analysis framework for predicting the reuse profiles of array references in programs with nested loop structures, without requiring any runtime information. By analyzing loop bounds, access patterns in smaller problem sizes, and predictive equations, our method predicts access patterns of arrays and estimates reuse distances and cache hit rate at compile time. This paper extends our previous study by incorporating more analysis and improving prediction by addressing previously unhandled reuse patterns. We evaluate our technique against a widely accepted traditional trace-driven profiling tool, Parallel Reuse Distance Analysis (PARDA). The results demonstrate that our static predictor achieves comparable accuracy while offering orders-of-magnitude improvement in the analysis speed. This work offers a practical alternative to dynamic reuse profiling and paves the way for integration into compilers and static performance modeling tools.
评论: This paper is accepted at the MEMSYS 2025 conference, 11th International Symposium on Memory Systems, Washington D.C., October 7 - October 8, 2025
主题: 性能 (cs.PF)
引用方式: arXiv:2509.18684 [cs.PF]
  (或者 arXiv:2509.18684v1 [cs.PF] 对于此版本)
  https://doi.org/10.48550/arXiv.2509.18684

提交历史

来自:Abdur Razzak
[v1] 2025年9月23日 星期二 06:10:20 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PF
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站