Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

A Fast, Scalable Mutual Exclusion Algorithm \Lambda JaeHeon Yang

Summary: A Fast, Scalable Mutual Exclusion Algorithm \Lambda
Jae­Heon Yang
Department of Mathematics and Computer Science
Mills College
Oakland, California 94613
James H. Anderson
Department of Computer Science
The University of North Carolina at Chapel Hill
Chapel Hill, North Carolina 27599­3175
October 1993
Revised November 1994
This paper is concerned with synchronization under read/write atomicity 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(log N) time complexity, where ``time'' is measured by counting remote memory
references. The time complexity of this algorithm is better than that of all prior solutions to the mutual
exclusion problem 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 exhibits scalable performance under heavy contention. In fact, its performance rivals
that of the fastest queue­based spin locks based on strong primitives such as compare­and­swap and


Source: Anderson, James - Department of Computer Science, University of North Carolina at Chapel Hill


Collections: Computer Technologies and Information Sciences