Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Searching, merging, and sorting in parallel computation

Journal Article · · IEEE Trans. Comput.; (United States)
The number of comparison steps required for searching, merging, and sorting with >p> processors is studied. A merging algorithm is presented 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. This algorithm is used 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. 8 references.
Research Organization:
Univ. of Illinois, Urbana
OSTI ID:
5363554
Journal Information:
IEEE Trans. Comput.; (United States), Journal Name: IEEE Trans. Comput.; (United States) Vol. 10; ISSN ITCOB
Country of Publication:
United States
Language:
English

Similar Records

Optimal parallel merging and sorting without memory conflicts
Journal Article · Sat Oct 31 23:00:00 EST 1987 · IEEE Trans. Comput.; (United States) · OSTI ID:5912451

Parallel searching and merging on ZMOB. Technical report
Technical Report · Fri Jun 01 00:00:00 EDT 1984 · OSTI ID:6231896

Efficient implementation of Batcher's odd-even merge algorithm and its application in parallel sorting schemes
Journal Article · Mon Feb 28 23:00:00 EST 1983 · IEEE Trans. Comput.; (United States) · OSTI ID:5140174