并行可连接B树在Fork-Join I/O模型中的研究
Parallel Joinable B-Trees in the Fork-Join I/O Model
AI总结:
本文针对并行基于连接的树集合操作I/O效率低的问题,提出Fork-Join I/O模型,并设计基于B树的并行算法,实现并集、交集、差集操作的I/O工作与跨度界限。
摘要:
平衡搜索树在计算机科学中被广泛用于高效维护动态有序数据。为了利用树支持高效的集合操作(如并集、交集、差集),基于连接(join)的框架得到了广泛研究。该框架在并行设置中尤其受到关注,并已被证明能够实现简单且理论上高效的树集合操作。尽管并行基于连接的树被广泛采用,先前关于此类数据结构的工作的一个主要缺点是其输入/输出(I/O)访问模式效率低下。一些近期工作(例如C树和PaC树)专注于这些算法的更I/O友好的实现。然而,令人惊讶的是,目前尚无关于这些算法I/O成本界限的结果。这些算法能否在树上提供紧致的、可证明的I/O成本保证仍然是一个开放问题。\n本文研究基于搜索树算法和连接框架的高效并行集合操作算法,特别关注这些算法中的I/O效率。为了更好地刻画这些算法在并行中的I/O效率,我们引入了一个新的计算模型——Fork-Join I/O模型,用于衡量fork-join并行中的I/O成本。该模型衡量总块传输量(I/O工作)及其关键路径(I/O跨度)。在该模型下,我们提出了基于B树的新解决方案。我们的并行算法计算两棵B树的并集、交集和差集,其I/O工作为$O(m \log_B(n/m))$,I/O跨度为$O(\log_B m \cdot \log_2 \log_B n + \log_B n)$,其中$n$和$m \leq n$是两棵树的大小,$B$是块大小。
英文摘要:
Balanced search trees are widely used in computer science to efficiently maintain dynamic ordered data. To support efficient set operations (e.g., union, intersection, difference) using trees, the join-based framework is widely studied. This framework has received particular attention in the parallel setting, and has been shown to be effective in enabling simple and theoretically efficient set operations on trees. Despite the widespread adoption of parallel join-based trees, a major drawback of previous work on such data structures is the inefficiency of their input/output (I/O) access patterns. Some recent work (e.g., C-trees and PaC-trees) focused on more I/O-friendly implementations of these algorithms. Surprisingly, however, there have been no results on bounding the I/O-costs for these algorithms. It remains open whether these algorithms can provide tight, provable guarantees in I/O-costs on trees. This paper studies efficient parallel algorithms for set operations based on search tree algorithms using a join-based framework, with a special focus on achieving I/O efficiency in these algorithms. To better capture the I/O-efficiency in these algorithms in parallel, we introduce a new computational model, Fork-Join I/O Model, to measure the I/O costs in fork-join parallelism. This model measures the total block transfers (I/O work) and their critical path (I/O span). Under this model, we propose our new solution based on B-trees. Our parallel algorithm computes the union, intersection, and difference of two B-trees with $O(m \log_B(n/m))$ I/O work and $O(\log_B m \cdot \log_2 \log_B n + \log_B n)$ I/O span, where $n$ and $m \leq n$ are the sizes of the two trees, and $B$ is the block size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。