Issue No. 10 - October (1983 vol. 32)

ISSN: 0018-9340

pp: 942-946

C.P. Kruskal , Department of Computer Science, University of Illinois

ABSTRACT

We study the number of comparison steps required for searching, merging, and sorting with P processors. We present a merging algorithm that is optimal up to a constant factor when merging two lists of equal size (independent of the number of processors); as a special case, with N processors it merges two lists, each of size N, in 1.893 lg lg N + 4 comparison steps. We use the merging algorithm to obtain a sorting algorithm that, in particular, sorts N values with N processors in 1.893 lg N lg lg N/lg lg lg N(plus lower order terms) comparison steps. The algorithms can be implemented on a shared memory machine that allows concurrent reads from the same location with constant overhead at each comparison step.

INDEX TERMS

sorting, Comparison problems, computational complexity, merging, parallel computation, searching

CITATION

C.P. Kruskal, "Searching, Merging, and Sorting in Parallel Computation",

*IEEE Transactions on Computers*, vol. 32, no. , pp. 942-946, October 1983, doi:10.1109/TC.1983.1676138CITATIONS

SEARCH