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

The complexity of parallel sorting

Journal Article · · SIAM J. Comput.; (United States)
DOI:https://doi.org/10.1137/0216008· OSTI ID:6537775

The model the authors consider is the (concurrent-write, PRIORITY) PRAM. It has n synchronous processors, which communicate via an infinite shared memory. When several processors simultaneously write to the same cell, the one with the largest index succeeds. They allow the processors arbitrary computational power. The main result is that sorting n integers requires ..cap omega..(..sqrt..log n) steps in this strong model. This bound is proved in two stages. First, using a novel Ramsey theoretic argument, we ''reduce'' sorting on a PRAM to sorting on a parallel merge tree. This tree is a generalization of Valiant's parallel comparison tree from (V) in which at every step n pairs of (previously ordered) sets are merged (rather then n pairs of elements compared). The second stage is proving the lower bound for such trees. The Ramsey theoretic technique, together with known methods for bounding the ''degree'' of the computation, can be used to unify and generalize previous lower bounds for PRAM's. For example, they show that the computation of any symmetric polynomial (e.g. the sum or product) on n integers requires exactly log/sub 2/n steps.

Research Organization:
J.W. Goethe Universitat, Frankfurt
OSTI ID:
6537775
Journal Information:
SIAM J. Comput.; (United States), Journal Name: SIAM J. Comput.; (United States) Vol. 16:1; ISSN SMJCA
Country of Publication:
United States
Language:
English

Similar Records

Deterministic simulation of idealized parallel computers on more realistic ones
Journal Article · Thu Oct 01 00:00:00 EDT 1987 · SIAM J. Comput.; (United States) · OSTI ID:5793238

Simulation of parallel random access machines by circuits
Journal Article · Tue May 01 00:00:00 EDT 1984 · SIAM J. Comput.; (United States) · OSTI ID:6300636

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