Beyond binary search: parallel in-place construction of implicit search tree layouts

被引:8
|
作者
Berney, Kyle [1 ]
Casanova, Henri [1 ]
Higuchi, Alyssa [1 ]
Karsin, Ben [1 ]
Sitchinava, Nodari [1 ]
机构
[1] Univ Hawaii Manoa, Dept Informat & Comp Sci, Honolulu, HI 96822 USA
基金
美国国家科学基金会;
关键词
permutation; searching; parallel; in-place; PERFECT; CYCLES;
D O I
10.1109/IPDPS.2018.00116
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We present parallel algorithms to efficiently permute a sorted array into the level-order binary search tree (BST), level-order B-tree (B-tree), and van Emde Boas (vEB) layouts inplace. We analytically determine the complexity of our algorithms and empirically measure their performance. Results indicate that on both CPU and GPU architectures B-tree layouts provide the best query performance. However, when considering the total time to permute the data and to perform a series of search queries, our vEB permutation provides the best performance on the CPU. We show that, given an input of N=500M 64-bit integers, the benefits of query performance (compared to binary search) outweigh the cost of in-place permutation using our algorithms when performing at least 5M queries (1% of N) and 27M queries (6% of N), on our CPU and GPU platforms, respectively.
引用
收藏
页码:1070 / 1079
页数:10
相关论文
共 50 条