Abstract
We describe and algorithm for barrier synchronization that requires only read and write to shared store. The algorithm is faster than the traditionallocked counter approach for two processors and has an attractive log2 N time scaling for largerN. The algorithm is free of hot spots and critical regions and requires a shared memory bandwidth which grows linearly withN, the number of participating processors. We verify the technique using both a real shared memory multiprocessor, for numbers of processors up to 30, and a shared memory multiprocessor simulator, for number of processors up to 256.
Similar content being viewed by others
References
T. S. Axelrod, Effects of Synchronization Barriers on Multiprocessor Performance,Parallel Computing 3:129–140 (1986).
L. Lamport, The Mutual Exclusion Problem (to appear inJACM).
L. Lamport, A New Approach to Proving the Correctness of Multiprocess Programs,ACM Transactions on Programming Languages and Systems,1(1):84–97 (1979).
G. F. Pfister and V. A. Norton, Hot Spot Contention and Combining in Multistage Interconnection Networks,IEEE Trans. Comput. 34(10):943–948 (1985).
D. A. Patterson, Reduced Instruction Set Computers,Commun. ACM. 28(1):8–21 (1985).
E. D. Brooks III, A Butterfly Processor-Memory Interconnection for a Vector Processing Environment,Parallel Computing 4:103–110 (1987).
E. D. Brooks III, The Indirectk-aryn-cube for a Vector Processing Environment (to appear in:Parallel Computing, LLNL, Livermore, UCRL 94529 (1986).
Author information
Authors and Affiliations
Additional information
Work performed under the auspices of the U.S. Department of Energy by the Lawrence Livermore National Laboratory under contract No. W-7405-ENG-48.
Rights and permissions
About this article
Cite this article
Brooks, E.D. The butterfly barrier. Int J Parallel Prog 15, 295–307 (1986). https://doi.org/10.1007/BF01407877
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.1007/BF01407877