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

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

计算机科学 > 数据结构与算法

arXiv:0705.1033 (cs)
[提交于 2007年5月8日 (v1),最后修订于 2009年10月5日 (此版本, v2)]

标题:Optimal Cache-Oblivious Mesh Layouts

作者:Michael A. Bender, Bradley C. Kuszmaul, Shang-Hua Teng, Kebin Wang
查看论文《Optimal Cache-Oblivious Mesh Layouts》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A mesh is a graph that divides physical space into regularly-shaped regions. Meshes computations form the basis of many applications, e.g. finite-element methods, image rendering, and collision detection. In one important mesh primitive, called a mesh update, each mesh vertex stores a value and repeatedly updates this value based on the values stored in all neighboring vertices. The performance of a mesh update depends on the layout of the mesh in memory. This paper shows how to find a memory layout that guarantees that the mesh update has asymptotically optimal memory performance for any set of memory parameters. Such a memory layout is called cache-oblivious. Formally, for a $d$-dimensional mesh $G$, block size $B$, and cache size $M$ (where $M=\Omega(B^d)$), the mesh update of $G$ uses $O(1+|G|/B)$ memory transfers. The paper also shows how the mesh-update performance degrades for smaller caches, where $M=o(B^d)$. The paper then gives two algorithms for finding cache-oblivious mesh layouts. The first layout algorithm runs in time $O(|G|\log^2|G|)$ both in expectation and with high probability on a RAM. It uses $O(1+|G|\log^2(|G|/M)/B)$ memory transfers in expectation and $O(1+(|G|/B)(\log^2(|G|/M) + \log|G|))$ memory transfers with high probability in the cache-oblivious and disk-access machine (DAM) models. The layout is obtained by finding a fully balanced decomposition tree of $G$ and then performing an in-order traversal of the leaves of the tree. The second algorithm runs faster by almost a $\log|G|/\log\log|G|$ factor in all three memory models, both in expectation and with high probability. The layout obtained by finding a relax-balanced decomposition tree of $G$ and then performing an in-order traversal of the leaves of the tree.
主题: 数据结构与算法 (cs.DS); 计算工程、金融与科学 (cs.CE); 数学软件 (cs.MS); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:0705.1033 [cs.DS]
  (或者 arXiv:0705.1033v2 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.0705.1033

提交历史

来自:Kebin Wang
[v1] 2007年5月8日 星期二 05:59:55 UTC (49 KB)
[v2] 2009年10月5日 星期一 18:45:25 UTC (37 KB)
全文链接:

访问论文:

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

当前浏览上下文:

cs.MS
< 上一篇   |   下一篇 >
最新 | 近期 | 2009-10
切换浏览方式为:
cs
cs.DS
cs.CE
cs.NA
math.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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