Abstract
Mutual exclusion is a fundamental distributed coordination problem. Shared-memory mutual exclusion research focuses on local-spin algorithms and uses the remote memory references (RMRs) metric. Attiya, Hendler, and Woelfel (40th STOC, 2008) established an Ω(log N) lower bound on the number of RMRs incurred by processes as they enter and exit the critical section, where N is the number of processes in the system. This matches the upper bound of Yang and Anderson (Distrib. Comput. 9(1):51-60, 1995). The upper and lower bounds apply for algorithms that only use read and write operations. The lower bound of Attiya et al.; however, only holds for deterministic algorithms. The question of whether randomized mutual exclusion algorithms, using reads and writes only, can achieve sub-logarithmic expected RMR complexity remained open. We answer this question in the affirmative by presenting starvation-free randomized mutual exclusion algorithms for the cache coherent (CC) and the distributed shared memory (DSM) model that have sub-logarithmic expected RMR complexity against the strong adversary. More specifically, each process incurs an expected number of O(log N / log log N) RMRs per passage through the entry and exit sections, while in the worst case the number of RMRs is O(log N).
| Original language | English |
|---|---|
| Pages (from-to) | 3-19 |
| Number of pages | 17 |
| Journal | Distributed Computing |
| Volume | 24 |
| Issue number | 1 |
| DOIs | |
| State | Published - 1 Jan 2011 |
Keywords
- Mutual exclusion
- RMRs
- Randomization
- Remote memory references
- Strong adversary
ASJC Scopus subject areas
- Theoretical Computer Science
- Hardware and Architecture
- Computer Networks and Communications
- Computational Theory and Mathematics