Two algorithms for barrier synchronization

Debra Hensgen, Raphael Finkel, Udi Manber

Producción científica: Articlerevisión exhaustiva

161 Citas (Scopus)

Resumen

We describe two new algorithms for implementing barrier synchronization on a shared-memory multicomputer. Both algorithms are based on a method due to Brooks. We first improve Brooks' algorithm by introducing double buffering. Our dissemination algorithm replaces Brook's communication pattern with an information dissemination algorithm described by Han and Finkel. Our tournament algorithm uses a different communication pattern and generally requires fewer total instructions. The resulting algorithms improve Brook's original barrier by a factor of two when the number of processes is a power of two. When the number of processes is not a power of two, these algorithms improve even more upon Brooks' algorithm because absent processes need not be simulated. These algorithms share with Brooks' barrier the limitation that each of the n processes meeting at the barrier must be assigned identifiers i such that 0≤i<n.

Idioma originalEnglish
Páginas (desde-hasta)1-17
Número de páginas17
PublicaciónInternational Journal of Parallel Programming
Volumen17
N.º1
DOI
EstadoPublished - feb 1988

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Information Systems

Huella

Profundice en los temas de investigación de 'Two algorithms for barrier synchronization'. En conjunto forman una huella única.

Citar esto