Joinable Parallel Balanced Binary Trees
Joinable Parallel Balanced Binary Trees
复制标题
可连接的并行平衡二叉树
DOI:
10.1145/3512769
复制
发表时间:
2022
影响因子:
1.6
通讯作者:
Sun, Yihan
中科院分区:
文献类型:
--
作者:
Blelloch, Guy;Ferizovic, Daniel;Sun, Yihan
In this article, we show how a single function,join, can be used to implement parallelbalanced binary search trees(BSTs) simply and efficiently. Based onjoin, our approach applies to multiple balanced tree data structures, and a variety of functions for ordered sets and maps. We describe our technique as an algorithmic framework calledjoin-based algorithms. We show that thejoinfunction fully captures what is needed for rebalancing trees for a variety of tree algorithms, as long as the balancing scheme satisfies certain properties, which we refer to asjoinabletrees. We discuss four balancing schemes that are joinable: AVL trees, red-black trees, weight-balanced trees, and treaps. We present a variety of tree algorithms that apply to joinable trees, includinginsert,delete,union,intersection,difference,split,range,filter, and so on, most of them also parallel. These algorithms are generic across balancing schemes. Many algorithms are optimal in the comparison model, and we provide a general proof to show the efficiency in work for joinable trees. The algorithms are highly parallel, all with polylogarithmic span (parallel dependence). Specifically, the set-set operationsunion,intersection, anddifferencehave workand polylogarithmic span for input set sizesand.We implemented and tested our algorithms on the four balancing schemes. In general, all four schemes have quite similar performance, but the weight-balanced tree slightly outperforms the others. They have the same speedup characteristics, getting around 73speedup on 72 cores (144 hyperthreads). Experimental results also show that our implementation outperforms existing parallel implementations, and our sequential version achieves close or much better performance than the sequential merging algorithm in C++ Standard Template Library (STL) on various input sizes.
登录
查看更多内容
DOI:
10.1145/3460874
发表时间:
2018-07
期刊:
ACM Transactions on Parallel Computing (TOPC)
影响因子:
--
作者:
Kjell Winblad;Konstantinos Sagonas;B. Jonsson
通讯作者:
Kjell Winblad;Konstantinos Sagonas;B. Jonsson
影响因子:
1.1
作者:
M. Chrobak;Tomasz Szymacha;A. Krawczyk
通讯作者:
A. Krawczyk
DOI:
--
发表时间:
2007
期刊:
International Workshop on Languages and Compilers for Parallel Computing
影响因子:
--
作者:
Ilie Gabriel Tanase;C. Raman;Mauro Bianco;N. Amato;Lawrence Rauchwerger
通讯作者:
Lawrence Rauchwerger
DOI:
10.1145/2935764.2935768
发表时间:
2016
期刊:
Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
G. Blelloch;Daniel Ferizovic;Yihan Sun
通讯作者:
Yihan Sun
DOI:
10.1137/1.9781611975499.13
发表时间:
2018
期刊:
ACM Transactions on Database Systems (TODS)
影响因子:
--
作者:
Yihan Sun;G. Blelloch
通讯作者:
G. Blelloch