Abstract
Little work has been done on the performance of barrier synchronization using two-phase blocking, as the common wisdom is that it is useless to spin if the total number of threads in the system exceeds the number of processors. We challenge this and show that it may be beneficial to spin-wait even if the number of threads is up to double the number of processors, especially if the waiting time is at least twice the context switch overhead (rather than being equal to it). We also characterize the alternating synchronization pattern that applications based on barriers tend to fall into which is quite different from the patterns typically assumed in theoretical analyses.
Original language | English |
---|---|
Title of host publication | Proceedings - International Parallel and Distributed Processing Symposium, IPDPS 2002 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 755-762 |
Number of pages | 8 |
ISBN (Electronic) | 0769515738, 9780769515731 |
DOIs | |
State | Published - 2002 |
Event | 16th International Parallel and Distributed Processing Symposium, IPDPS 2002 - Ft. Lauderdale, United States Duration: 15 Apr 2002 → 19 Apr 2002 |
Publication series
Name | Proceedings - International Parallel and Distributed Processing Symposium, IPDPS 2002 |
---|
Conference
Conference | 16th International Parallel and Distributed Processing Symposium, IPDPS 2002 |
---|---|
Country/Territory | United States |
City | Ft. Lauderdale |
Period | 15/04/02 → 19/04/02 |
Bibliographical note
Publisher Copyright:© 2002 IEEE.