Skip to main content
Log in

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. T. S. Axelrod, Effects of Synchronization Barriers on Multiprocessor Performance,Parallel Computing 3:129–140 (1986).

    Google Scholar 

  2. L. Lamport, The Mutual Exclusion Problem (to appear inJACM).

  3. L. Lamport, A New Approach to Proving the Correctness of Multiprocess Programs,ACM Transactions on Programming Languages and Systems,1(1):84–97 (1979).

    Google Scholar 

  4. G. F. Pfister and V. A. Norton, Hot Spot Contention and Combining in Multistage Interconnection Networks,IEEE Trans. Comput. 34(10):943–948 (1985).

    Google Scholar 

  5. D. A. Patterson, Reduced Instruction Set Computers,Commun. ACM. 28(1):8–21 (1985).

    Google Scholar 

  6. E. D. Brooks III, A Butterfly Processor-Memory Interconnection for a Vector Processing Environment,Parallel Computing 4:103–110 (1987).

    Google Scholar 

  7. E. D. Brooks III, The Indirectk-aryn-cube for a Vector Processing Environment (to appear in:Parallel Computing, LLNL, Livermore, UCRL 94529 (1986).

Download references

Author information

Authors and Affiliations

Authors

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

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01407877

Key Words

Navigation