Batch-Parallel Euler Tour Trees

被引:0
|
作者
Tseng, Thomas [1 ]
Dhulipala, Laxman [1 ]
Blelloch, Guy [1 ]
机构
[1] Carnegie Mellon Univ, Comp Sci Dept, Pittsburgh, PA 15213 USA
关键词
DYNAMIC TREES; ALGORITHMS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The dynamic trees problem is to maintain a forest undergoing edge insertions and deletions while supporting queries for information such as connectivity. There are many existing data structures for this problem, but few of them are capable of exploiting parallelism in the batch setting, in which large batches of edges are inserted or deleted from the forest at once. In this paper, we demonstrate that the Euler tour tree, an existing sequential dynamic trees data structure, can be parallelized in the batch setting. For a batch of k updates over a forest of n vertices, our parallel Euler tour trees perform O(k log(1+n/k)) expected work with O(log n) depth with high probability. Our work bound is asymptotically optimal, and we improve on the depth bound achieved by Acar et al. for the batch-parallel dynamic trees problem [1]. Our main building block for parallelizing Euler tour trees is a batch-parallel skip list data structure, which we believe may be of independent interest. Euler tour trees require a sequence data structure capable of joins and splits. Traditionally, balanced binary trees are used, but they are difficult to join or split in parallel when processing batches of updates. We show that skip lists, on the other hand, support batches of joins or splits of size k over n elements with O(k log(1 + n/k)) work in expectation and O(log n) depth with high probability. We also achieve the same efficiency bounds for augmented skip lists, which allows us to augment our Euler tour trees to support subtree queries. Our data structures achieve between 67-96x self-relative speedup on 72 cores with hyper-threading on large batch sizes. Our data structures also significantly outperform the fastest existing sequential dynamic trees data structures empirically.
引用
收藏
页码:92 / 106
页数:15
相关论文
共 50 条
  • [1] Improving Digital Circuit Simulation with Batch-Parallel Logic Evaluation
    Patrou, Maria
    Legault, Jean-Philippe
    Graham, Aaron G.
    Kent, Kenneth B.
    2019 22ND EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2019, : 144 - 151
  • [2] CPMA: An Efficient Batch-Parallel Compressed Set Without Pointers
    Wheatman, Brian
    Burns, Randal
    Buluc, Aydin
    Xu, Helen
    PROCEEDINGS OF THE 29TH ACM SIGPLAN ANNUAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, PPOPP 2024, 2024, : 348 - 363
  • [3] BatchLayout: A Batch-Parallel Force-Directed Graph Layout Algorithm in Shared Memory
    Rahman, Md Khaledur
    Sujon, Majedul Haque
    Azad, Ariful
    2020 IEEE PACIFIC VISUALIZATION SYMPOSIUM (PACIFICVIS), 2020, : 16 - 25
  • [4] The Euler tour technique and parallel rooted spanning tree
    Cong, G
    Bader, DA
    2004 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, PROCEEDINGS, 2004, : 448 - 457
  • [5] The Euler tour technique and parallel rooted spanning tree
    Cong, Guojing
    Bader, David A.
    Proc. Int. Conf. Parallel Process., 1600, (448-457):
  • [6] HAMILTON CYCLES IN EULER TOUR GRAPH
    ZHANG, FJ
    GUO, XF
    JOURNAL OF COMBINATORIAL THEORY SERIES B, 1986, 40 (01) : 1 - 8
  • [7] HAMILTON CYCLES IN DIRECTED EULER TOUR GRAPHS
    ZHANG, FJ
    GUO, XF
    DISCRETE MATHEMATICS, 1987, 64 (2-3) : 289 - 298
  • [8] Deterministic and Work-Efficient Parallel Batch-Dynamic Trees in Low Span
    Anderson, Daniel
    Blelloch, Guy E.
    arXiv, 2023,
  • [9] Deterministic and Low-Span Work-Efficient Parallel Batch-Dynamic Trees
    Anderson, Daniel
    Blelloch, Guy E.
    PROCEEDINGS OF THE 36TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, SPAA 2024, 2024, : 247 - 258
  • [10] Algebraic decision trees and Euler characteristics
    Yao, Andrew Chi-Chih, 1600, Elsevier Science B.V., Amsterdam, Netherlands (141): : 1 - 2