1;3409;0c Closing the Complexity Gap between FCFS Mutual Exclusion and Mutual Exclusion

Closing the Complexity Gap between FCFS Mutual Exclusion and Mutual Exclusion

Distributed Computing, 22nd International Symposium, DISC 2008, vol. 5218, 2008
Pages: 93-108DOI: 10.1007/978-3-540-87779-0_7

DISC

bibtex

First-Come-First-Served (FCFS) mutual exclusion (ME) is the problem of ensuring that processes attempting to concurrently access a shared resource do so one by one, in a fair order. In this paper, we close the complexity gap between FCFS ME and ME in the asynchronous shared memory model where processes communicate using atomic reads and writes only, and do not fail. Our main result is the first known FCFS ME algorithm that makes O(logN) remote memory references (RMRs) per passage and uses only atomic reads and writes. Our algorithm is also adaptive to point contention. More precisely, the number of RMRs a process makes per passage in our algorithm is Θ( min (k,logN)), where k is the point contention. Our algorithm matches known RMR complexity lower bounds for the class of ME algorithms that use reads and writes only, and beats the RMR complexity of prior algorithms in this class that have the FCFS property.