Issue No. 05 - May (1993 vol. 4)

ISSN: 1045-9219

pp: 572-581

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/71.224220

ABSTRACT

<p>A parallel sorting algorithm for sorting n elements evenly distributed over 2/sup d/ p nodes of a d-dimensional hypercube is presented. The average running time of the algorithm is O((n log n)/p+p log 2n). The algorithm maintains a perfect load balance in the nodes by determining the (kn/p)th elements (k1,. . ., (p-1)) of the final sorted list in advance. These p-1 keys are used to partition the sorted sublists in each node to redistribute data to the nodes to be merged in parallel. The nodes finish the sort with an equal number of elements (n/p) regardless of the data distribution. A parallel selection algorithm for determining the balanced partition keys in O(p log2n) time is presented. The speed of the sorting algorithm is further enhanced by the distance-d communication capability of the iPSC/2 hypercube computer and a novel conflict-free routing algorithm. Experimental results on a 16-node hypercube computer show that the sorting algorithm is competitive with the previous algorithms and faster for skewed data distributions.</p>

INDEX TERMS

Index Termsparallel sort; hypercube multiprocessors; hypercube; parallel selection algorithm;conflict-free routing; 16-node hypercube; computational complexity; hypercubenetworks; parallel algorithms; sorting

CITATION

B. Abali, A. Bataineh, F. özgü, "Balanced Parallel Sort on Hypercube Multiprocessors",

*IEEE Transactions on Parallel & Distributed Systems*, vol. 4, no. , pp. 572-581, May 1993, doi:10.1109/71.224220