1992 · 38 citations · 31 references
ComputingComputer ScienceAlgorithmsParallel AlgorithmsParallel ComputingData ParallelismParallel Data StructuresParallel Performance AnalysisParallel SortingSorting AlgorithmsParallel Sort AlgorithmsParallel Sorting Algorithms
Flashsort [RV83,86] and Samplesort [HC83] are related parallel sorting algorithms proposed in the literature. Both utilize a sophisticated randomized sampling technique to form a splitter set, but Samplesort distributes the splitter set to each processor while Flashsort uses splitter-directed routing. In this paper we present B-Flashsort, a new batched-routing variant of Flashsort designed to sort N>P values using P processors connected in a d-dimensional mesh and using constant space in addition to the input and output. The key advantage of the Flashsort approach over Samplesort is a decrease in memory requirements, by avoiding the broadcast of the splitter set to all processors. The practical advantage of B-Ftashsort over Flashsort is that it replaces pipelined splitter-directed routing with a set of synchronous local communications and bounds recursion, while still being demonstrably efficient. The performance of B-Flashsort and Samplesort is compared using a parameterized analytic model in the style of [BLM+91 ] to show that on a d-dimensional toroidal mesh B-Flashsort improves on Samplesort when (N/P) < P/(cllog P +c2dP1/d +C3), for machine-dependent parameters c1, C2, and C3. Empirical confirmation of the analytical model is obtained through implementations on a MasPar MP-1 of Samplesort and two B-Fhtshsort variants.
31
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
Sorting networks and their applications
Kenneth E. Batcher · 1968 · 2.4K citations
Computer-Aided Design · 1985 · 931 citations
Richard Cole · SIAM Journal on Computing · 1988 · 734 citations