TY - JOUR
T1 - Partitioned parallel radix sort
AU - Lee, Shin Jae
AU - Jeon, Minsoo
AU - Kim, Dongseung
AU - Sohn, Andrew
N1 - Funding Information:
1The work is partially supported by KRF (1999-E00287), KOSEF (985-0900-003-2), STEPI (97NF03-04-A-01) and NSF (INT-9722545). The preliminary version of the paper was presented in the Third International Symp. on High Performance Computing, Tokyo, Japan, October 2000.
PY - 2002
Y1 - 2002
N2 - Load balanced parallel radix sort solved the load imbalance problem present in parallel radix sort. By redistributing the keys in each round of radix, each processor has exactly the same number of keys, thereby reducing the overall sorting time. Load balanced radix sort is currently known as the fastest internal sorting method for distributed-memory multiprocessors. However, as the computation time is balanced, the communication time emerges as the bottleneck of the overall sorting performance due to key redistribution. We present in this report a new parallel radix sorter that solves the communication problem of balanced radix sort, called partitioned parallel radix sort. The new method reduces the communication time by eliminating the redistribution steps. The keys are first sorted in a top-down fashion (left-to-right as opposed to right-to-left) by using some most significant bits. Once the keys are localized to each processor, the rest of sorting is confined within each processor, hence eliminating the need for global redistribution of keys. It enables well balanced communication and computation across processors. The proposed method has been implemented in three different distributed-memory platforms, including IBM SP2, Cray T3E, and PC Cluster. Experimental results with various key distributions indicate that partitioned parallel radix sort indeed shows significant improvements over balanced radix sort. IBM SP2 shows 13% to 30% improvement while Cray/SGI T3E does 20% to 100% in execution time. PC cluster shows over 2.4-fold improvement in execution time.
AB - Load balanced parallel radix sort solved the load imbalance problem present in parallel radix sort. By redistributing the keys in each round of radix, each processor has exactly the same number of keys, thereby reducing the overall sorting time. Load balanced radix sort is currently known as the fastest internal sorting method for distributed-memory multiprocessors. However, as the computation time is balanced, the communication time emerges as the bottleneck of the overall sorting performance due to key redistribution. We present in this report a new parallel radix sorter that solves the communication problem of balanced radix sort, called partitioned parallel radix sort. The new method reduces the communication time by eliminating the redistribution steps. The keys are first sorted in a top-down fashion (left-to-right as opposed to right-to-left) by using some most significant bits. Once the keys are localized to each processor, the rest of sorting is confined within each processor, hence eliminating the need for global redistribution of keys. It enables well balanced communication and computation across processors. The proposed method has been implemented in three different distributed-memory platforms, including IBM SP2, Cray T3E, and PC Cluster. Experimental results with various key distributions indicate that partitioned parallel radix sort indeed shows significant improvements over balanced radix sort. IBM SP2 shows 13% to 30% improvement while Cray/SGI T3E does 20% to 100% in execution time. PC cluster shows over 2.4-fold improvement in execution time.
KW - Distributed-memory machines
KW - Load balancing
KW - Parallel sorting
KW - Radix sort
UR - http://www.scopus.com/inward/record.url?scp=0036112596&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0036112596&partnerID=8YFLogxK
U2 - 10.1006/jpdc.2001.1808
DO - 10.1006/jpdc.2001.1808
M3 - Article
AN - SCOPUS:0036112596
SN - 0743-7315
VL - 62
SP - 656
EP - 668
JO - Journal of Parallel and Distributed Computing
JF - Journal of Parallel and Distributed Computing
IS - 4
ER -