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

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

计算机科学 > 性能

arXiv:2001.01653 (cs)
[提交于 2020年1月7日]

标题:A Fast Analytical Model of Fully Associative Caches

作者:Tobias Gysi, Tobias Grosser, Laurin Brandner, Torsten Hoefler
查看论文《A Fast Analytical Model of Fully Associative Caches》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:While the cost of computation is an easy to understand local property, the cost of data movement on cached architectures depends on global state, does not compose, and is hard to predict. As a result, programmers often fail to consider the cost of data movement. Existing cache models and simulators provide the missing information but are computationally expensive. We present a lightweight cache model for fully associative caches with least recently used (LRU) replacement policy that gives fast and accurate results. We count the cache misses without explicit enumeration of all memory accesses by using symbolic counting techniques twice: 1) to derive the stack distance for each memory access and 2) to count the memory accesses with stack distance larger than the cache size. While this technique seems infeasible in theory, due to non-linearities after the first round of counting, we show that the counting problems are sufficiently linear in practice. Our cache model often computes the results within seconds and contrary to simulation the execution time is mostly problem size independent. Our evaluation measures modeling errors below 0.6% on real hardware. By providing accurate data placement information we enable memory hierarchy aware software development.
评论: 14 pages, 16 figures, PLDI19
主题: 性能 (cs.PF)
引用方式: arXiv:2001.01653 [cs.PF]
  (或者 arXiv:2001.01653v1 [cs.PF] 对于此版本)
  https://doi.org/10.48550/arXiv.2001.01653
相关 DOI: https://doi.org/10.1145/3314221.3314606

提交历史

来自:Tobias Gysi
[v1] 2020年1月7日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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