JOURNAL ARTICLE

Load-balanced parallel merge sort on distributed memory parallel computers

Abstract

Sort can be speeded up on parallel computers by dividing and computing data individually in parallel. Merge sort can be parallelized, however, the conventional algorithm implemented on distributed memory computers has poor performance due to the successive reduction of the number of active (non-idling) processors by a half, up to one in the last merging stage. This paper presents load-balanced parallel merge sort algorithm where all processors participate in merging throughout the computation. Data are evenly distributed to all processors, and every processor is forced to work in merging phase. Significant enhancement of the performance has been achieved. Our analysis shows the upper bound of the speedup of the merge time as (P -1)= logP. We have had a speedup of 9.6 (upper bound is 10.5) on 32-processor Cray T3E in sorting of 4M 32-bit integers. The same idea can be applied to parallellize other sorting algorithms.

Keywords:
Merge sort Parallel computing Computer science Speedup Merge (version control) Merge algorithm sort Computation Sorting algorithm Distributed memory Parallel algorithm Sorting Algorithm Shared memory

Metrics

4
Cited By
0.00
FWCI (Field Weighted Citation Impact)
18
Refs
0.26
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Parallel Computing and Optimization Techniques
Physical Sciences →  Computer Science →  Hardware and Architecture
Interconnection Networks and Systems
Physical Sciences →  Computer Science →  Computer Networks and Communications
Advanced Data Storage Technologies
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK-CHAPTER

Parallelizing Merge Sort onto Distributed Memory Parallel Computers

Minsoo JeonDongseung Kim

Lecture notes in computer science Year: 2002 Pages: 25-34
JOURNAL ARTICLE

Parallel Merge Sort with Load Balancing

Minsoo JeonDongseung Kim

Journal:   International Journal of Parallel Programming Year: 2003 Vol: 31 (1)Pages: 21-33
JOURNAL ARTICLE

Load balanced parallel radix sort

Andrew SohnYuetsu Kodama

Year: 1998 Pages: 305-312
JOURNAL ARTICLE

Parallel Merge Sort

Richard Cole

Journal:   SIAM Journal on Computing Year: 1988 Vol: 17 (4)Pages: 770-785
© 2026 ScienceGate Book Chapters — All rights reserved.