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 条
[1]  
Ajtai Miklos, 1983, P 15 ANN ACM S THEOR, P1, DOI DOI 10.1145/800061.808726
[2]  
Andersson A., 1995, Proceedings of the Twenty-Seventh Annual ACM Symposium on the Theory of Computing, P427, DOI 10.1145/225058.225173
[3]  
Andersson A, 1995, AN S FDN CO, P655, DOI 10.1109/SFCS.1995.492667
[4]   FAST PARALLEL SPACE ALLOCATION, ESTIMATION, AND INTEGER SORTING [J].
BAST, H ;
HAGERUP, T .
INFORMATION AND COMPUTATION, 1995, 123 (01) :72-110
[5]  
Batcher Kenneth E., 1968, P AFIPS SPRING JOINT, P307, DOI DOI 10.1145/1468075.1468121
[6]   ON PARALLEL INTEGER MERGING [J].
BERKMAN, O ;
VISHKIN, U .
INFORMATION AND COMPUTATION, 1993, 106 (02) :266-285
[7]   IMPROVED DETERMINISTIC PARALLEL INTEGER SORTING [J].
BHATT, PCP ;
DIKS, K ;
HAGERUP, T ;
PRASAD, VC ;
RADZIK, T ;
SAXENA, S .
INFORMATION AND COMPUTATION, 1991, 94 (01) :29-47
[8]  
BOAS PV, 1977, INFORMATION PROCESSI, V6, P80
[9]   DETERMINISTIC COIN TOSSING WITH APPLICATIONS TO OPTIMAL PARALLEL LIST RANKING [J].
COLE, R ;
VISHKIN, U .
INFORMATION AND CONTROL, 1986, 70 (01) :32-53
[10]   PARALLEL MERGE SORT [J].
COLE, R .
SIAM JOURNAL ON COMPUTING, 1988, 17 (04) :770-785