Scalability evaluation of barrier algorithms for OpenMP

Ramachandra Nanjegowda, Oscar Hernandez, Barbara Chapman, Haoqiang H. Jin

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

17 Scopus citations

Abstract

OpenMP relies heavily on barrier synchronization to coordinate the work of threads that are performing the computations in a parallel region. A good implementation of barriers is thus an important part of any implementation of this API. As the number of cores in shared and distributed shared memory machines continues to grow, the quality of the barrier implementation is critical for application scalability. There are a number of known algorithms for providing barriers in software. In this paper, we consider some of the most widely used approaches for implementing barriers on large-scale shared-memory multiprocessor systems: a "blocking" implementation that de-schedules a waiting thread, a "centralized" busy wait and three forms of distributed "busy" wait implementations are discussed. We have implemented the barrier algorithms in the runtime library associated with a research compiler, OpenUH. We first compare the impact of these algorithms on the overheads incurred for OpenMP constructs that involve a barrier, possibly implicitly. We then show how the different barrier implementations influence the performance of two different OpenMP application codes.

Original languageEnglish
Title of host publicationEvolving OpenMP in an Age of Extreme Parallelism - 5th International Workshop on OpenMP, IWOMP 2009, Proceedings
Pages42-52
Number of pages11
DOIs
StatePublished - 2009
Externally publishedYes
Event5th International Workshop on OpenMP, IWOMP 2009 - Dresden, Germany
Duration: Jun 3 2009Jun 5 2009

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5568 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference5th International Workshop on OpenMP, IWOMP 2009
Country/TerritoryGermany
CityDresden
Period06/3/0906/5/09

Fingerprint

Dive into the research topics of 'Scalability evaluation of barrier algorithms for OpenMP'. Together they form a unique fingerprint.

Cite this