Two-Phase Barrier: A Synchronization Primitive for Improving the Processor Utilization

Cited 2 time in webofscience Cited 0 time in scopus
  • Hit : 399
  • Download : 0
Barrier is widely used for synchronization in parallel programs. Since the process arrived earlier than others should wait at the barrier, the total processor utilization decreases. In this paper, to find the sources of the barrier waiting time, parallel programs are executed on the various grain sizes through execution-driven simulations. In simulation studies, we found that even if approximately equal amounts of work are distributed to each processor, all processes may not arrive at a barrier at the same time. The reasons are that the different numbers of cache misses and instructions within in partitioned grains result in the difference in arrival time of processors at the barrier. In this paper, the two-phased barrier is considered to reduce the blind waiting time in the traditional barrier scheme, which can be simply constructed by dividing one specific stage for the synchronization into two stages. On each stage, processes decide their stall or not, which is dependent on the current execution state of grains running on any given processors. Simulation results show that the reduced barrier waiting times attributed to the two-phased barrier contribute to the performance improvement of parallel programs.
Publisher
Springer/Plenum Publishers
Issue Date
2001-12
Language
English
Article Type
Article
Keywords

SHARED-MEMORY MULTIPROCESSORS

Citation

INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, v.29, no.6, pp.607 - 627

ISSN
0885-7458
DOI
10.1023/A:1013153020460
URI
http://hdl.handle.net/10203/79760
Appears in Collection
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 2 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0