A FAST, SCALABLE MUTUAL EXCLUSION ALGORITHM

Citation
Jh. Yang et Jh. Anderson, A FAST, SCALABLE MUTUAL EXCLUSION ALGORITHM, Distributed computing, 9(1), 1995, pp. 51-60
Citations number
17
Categorie Soggetti
Controlo Theory & Cybernetics","Computer Science Theory & Methods
Journal title
ISSN journal
01782770
Volume
9
Issue
1
Year of publication
1995
Pages
51 - 60
Database
ISI
SICI code
0178-2770(1995)9:1<51:AFSMEA>2.0.ZU;2-Z
Abstract
This paper is concerned with synchornization under read/write atomicit y in shared memory multi-processors. We present a new algorithm for N- process mutual exclusion that requires only read and write operations and that has O(logN) time complexity, where ''time'' is measured by co unting remote memory references. The time complexity of this algorithm is better than that of all prior solutions to the mutual exclusion pr oblem that are based upon atomic read and write instructions; in fact, the time complexity of most prior solutions is unbounded. Performance studies are presented that show that our mutual exclusion algorithm e xhibits scalable performance under heavy contention. In fact, its perf ormance rivals that of the fastest queue-based spin locks based on str ong primitives such as compare-and-swap and fetch-and-add. We also pre sent a modified version of our algorithm that generates only O(1) memo ry references in the absence of contention.