Work-Optimal Asynchronous Algorithms for Shared Memory Parallel Computers
Authors:
- Charles MartelCMCharles Martel
- Arvin ParkAPArvin Park
- Ramesh SubramonianRSRamesh Subramonian
- 1 December 1992
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 21 (6) , 1070-1099
Abstract
This paper develops shared memory algorithms for asynchronous processor systems that require the same expected work as the best PRAM algorithms. These algorithms operate efficiently under general asynchronous processor behavior (where individual processor speeds are allowed to vary widely over time). This paper achieves these results by employing a methodology that uses randomization to schedule subtasks of a parallel program. The resulting algorithms allow processors to (i) have arbitrary asynchronous behavior, (ii) have fail-stop errors, (iii) join a computation at any time, and (iv) have no unique identifiers. This paper develops a performance metric for asynchronous parallel computations, called work, which is the total number of instructions (including busy-waiting instructions) performed by a collection of parallel processors during a computation. The main result is to compute any associative function of n variables with $O(n)$ expected work, using up to $n/\log n\log^* n$ asynchronous processors, and with $O(n\log n)$ expected work using up to n processors. These results provide a synchronization primitive that can be used to transform any PRAM program into an asynchronous PRAM program.
Keywords
This publication has 19 references indexed in Scilit:
- A bridging model for parallel computationCommunications of the ACM, 1990
- A complexity theory of efficient parallel algorithmsTheoretical Computer Science, 1990
- Efficient robust parallel computations1990
- Parallel Algorithms for Shared-Memory Machines1990
- Parallel tree contraction and its application1985
- A parallel-design distributed-implementation (PDDI) general-purpose computerTheoretical Computer Science, 1984
- Simulation of Parallel Random Access Machines by CircuitsSIAM Journal on Computing, 1984
- Fail-stop processorsACM Transactions on Computer Systems, 1983
- The Parallel Evaluation of General Arithmetic ExpressionsJournal of the ACM, 1974
- A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of ObservationsThe Annals of Mathematical Statistics, 1952