Improved parallel integer sorting without concurrent writing

被引:41
作者
Albers, S [1 ]
Hagerup, T [1 ]
机构
[1] UNIV SAARLAND, GRADUIERTENKOLLEG INFORMAT, D-66041 SAARBRUCKEN, GERMANY
关键词
D O I
10.1006/inco.1997.2632
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show that n integers in the range 1, ..., n can be sorted stably on an EREW PRAM using O(t) time and O(n(root log n log log n + (log n)(2)/t)) operations, for arbitrary given t greater than or equal to log n log log n, and on a CREW PRAM using O(t) time and O(n(root log n + log n/2(t/log n))) operations, for arbitrary given t greater than or equal to log n. In addition, we are able to sort n arbitrary integers on a randomized CREW PRAM within the same resource bounds with high probability. In each case our algorithm is a factor of almost Theta(root log n) closer to optimality than all previous algorithms for the stated problem in the stated model, end our third result matches the operation count of the best previous sequential algorithm. We also show that n integers in the range 1, ..., m can he sorted in O((log n)(2)) time with O(n) operations on an EREW PRAM using a nonstandard word length of O(log n log log n log m) bits, thereby greatly improving the upper bound on the word length necessary to sort integers with a linear time-processor product, even sequentially. Our algorithms were inspired by, and in one case directly use, the fusion trees of Fredman and Willard. (C) 1997 Academic Press.
引用
收藏
页码:25 / 51
页数:27
相关论文
共 37 条
[11]  
Cormen T. H., 1990, INTRO ALGORITHMS
[12]   SURPASSING THE INFORMATION-THEORETIC BOUND WITH FUSION TREES [J].
FREDMAN, ML ;
WILLARD, DE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1993, 47 (03) :424-436
[13]  
Goodrich M. T., 1993, Proceedings of Seventh International Parallel Processing Symposium (Cat. No.93TH0513-2), P318, DOI 10.1109/IPPS.1993.262899
[14]  
GOODRICH MT, 1994, PROCEEDINGS OF THE FIFTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P241
[15]   IMPROVED NONCONSERVATIVE SEQUENTIAL AND PARALLEL INTEGER SORTING [J].
HAGERUP, T ;
SHEN, H .
INFORMATION PROCESSING LETTERS, 1990, 36 (02) :57-63
[16]  
HAGERUP T, 1992, AN S FDN CO, P628
[17]   OPTIMAL MERGING AND SORTING ON THE EREW PRAM [J].
HAGERUP, T ;
RUB, C .
INFORMATION PROCESSING LETTERS, 1989, 33 (04) :181-185
[18]  
Hagerup T., 1993, P 5 ANN S PARALLEL A, P346, DOI [10.1145/165231.157380, DOI 10.1145/165231.157380]
[19]  
Jaja J., 1992, INTRO PARALLEL ALGOR
[20]  
KIRKPATRICK D, 1984, THEOR COMPUT SCI, V28, P263, DOI 10.1016/0304-3975(83)90023-3