Abstract
Conventional wisdom holds that contention due to busy-wait synchronization is a major obstacle to scalability and acceptable performance in large shared-memory multiprocessors. We argue the contrary, and present fast, simple algorithms for contention-free mutual exclusion, reader-writer control, and barrier synchronization. These algorithms, based on widely available fetch-and-Φ instructions, exploit local access to shared memory to avoid contention. We compare our algorithms to previous approaches in both qualitative and quantitative terms, presenting their performance on the Sequent Symmetry and BBN Butterfly multiprocessors. Our results highlight the importance of local access to shared memory, provide a case against the construction of so-called 'dance hall' machines, and suggest that special-purpose hardware support for synchronization is unlikely to be cost effective on machines with sequentially consistent memory.
Cite
CITATION STYLE
Mellor-Crummey, J. M., & Scott, M. L. (1991). Synchronization without contention. In International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS (Vol. 26, pp. 269–278). Publ by ACM. https://doi.org/10.1145/106973.106999
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.