Balanced parallel sort on hypercube multiprocessors
- 1 May 1993
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 4 (5) , 572-581
- https://doi.org/10.1109/71.224220
Abstract
Cataloged from PDF version of article.A parallel sorting algorithm for sorting n elements\ud evenly distributed over Zd = p nodes of a d-dimensional hypercube\ud is presented. The average running time of the algorithm\ud is O( (n log n)/p + p log2 n). The algorithm maintains a perfect\ud load balance in the nodes by determining the (kn/p)th elements\ud (k = 1,. . . , (p - 1)) of the final sorted list in advance. These\ud p - 1 keys are used to partition the sorted sublists in each node\ud to redistribute data to the nodes to be merged in parallel. The\ud nodes finish the sort with an equal number of elements (n/p)\ud regardless of the data distribution. A parallel selection algorithm\ud for determining the balanced partition keys in O(p log2 n) time\ud is presented. The speed of the sorting algorithm is further enhanced\ud by the distanced communication capability of the iPSC/2\ud hypercube computer and a novel conflict-free routing algorithm.\ud Experimental results on a 16-node hypercube computer show\ud that the new sorting algorithm is competitive with the previous\ud algorithms, and faster for skewed data distributionsKeywords
This publication has 12 references indexed in Scilit:
- Optimum broadcasting and personalized communication in hypercubesIEEE Transactions on Computers, 1989
- Load balancing, selection sorting on the hypercubePublished by Association for Computing Machinery (ACM) ,1989
- A balanced bin sort for hypercube multicomputersThe Journal of Supercomputing, 1988
- Iterative algorithms for solution of large sparse systems of linear equations on hypercubesIEEE Transactions on Computers, 1988
- The iPSC/2 direct-connect communications technologyPublished by Association for Computing Machinery (ACM) ,1988
- Binsorting on hypercubes with d-port communicationPublished by Association for Computing Machinery (ACM) ,1988
- The complexity of selection and ranking in X + Y and matrices with sorted columnsJournal of Computer and System Sciences, 1982
- A Fast Selection Algorithm and the Problem of Optimum Distribution of EffortJournal of the ACM, 1979
- Implementing Quicksort programsCommunications of the ACM, 1978
- Access and Alignment of Data in an Array ProcessorIEEE Transactions on Computers, 1975