Abstract
Irregular parallel algorithms pose a significant challenge for achieving high performance because of the difficulty predicting memory access patterns or execution paths. Within an irregular application, fine-grained synchronization is one technique for managing the coordination of work; but in practice the actual performance for irregular problems depends on the input, the access pattern to shared data structures, the relative speed of processors, and the hardware support of synchronization primitives. In this paper, we focus on lock-free and mutual exclusion protocols for handling fine-grained synchronization. Mutual exclusion and lock-free protocols have received a fair amount of attention in coordinating accesses to shared data structures from concurrent processes. Mutual exclusion offers a simple programming abstraction, while lock-free data structures provide better fault tolerance and eliminate problems associated with critical sections such as priority inversion and deadlock. These synchronization protocols, however, are seldom used in parallel algorithm designs, especially for algorithms under the SPMD paradigm, as their implementations are highly hardware dependent and their costs are hard to characterize. Using graph-theoretic algorithms for illustrative purposes, we show experimental results on two shared-memory multiprocessors, the IBM pSeries 570 and the Sun Enterprise 4500, that irregular parallel algorithms with efficient fine-grained synchronization may yield good performance.
Original language | English |
---|---|
Pages (from-to) | 854-866 |
Number of pages | 13 |
Journal | Journal of Parallel and Distributed Computing |
Volume | 66 |
Issue number | 6 |
DOIs | |
State | Published - Jun 2006 |
Externally published | Yes |
Funding
∗Corresponding author. E-mail addresses: [email protected] (G. Cong), [email protected] (D.A. Bader). 1This work was supported in part by NSF Grants CAREER CCF 06-11589, ACI-00-93039, ITR ACI-00-81404, DEB-99-10123, ITR EIA-01-21377, Biocomplexity DEB-01-20709, DBI-0420513, ITR EF/BIO 03-31654; and DARPA Contract NBCH30390004.
Funders | Funder number |
---|---|
National Science Foundation | CCF 06-11589, ACI-00-93039, ITR EIA-01-21377, DBI-0420513, DEB-99-10123, DEB-01-20709, ITR ACI-00-81404, ITR EF/BIO 03-31654 |
Defense Advanced Research Projects Agency | NBCH30390004 |
Keywords
- High-performance algorithm engineering
- Irregular algorithm
- Parallel algorithms
- Shared memory