Deterministic Constant-Amortized-RMR Abortable Mutex for CC and DSM
-
Published:2021-12-31
Issue:4
Volume:8
Page:1-26
-
ISSN:2329-4949
-
Container-title:ACM Transactions on Parallel Computing
-
language:en
-
Short-container-title:ACM Trans. Parallel Comput.
Author:
Jayanti Prasad1,
Jayanti Siddhartha2
Affiliation:
1. Dartmouth College, Hanover, USA
2. MIT, Cambridge, USA
Abstract
The abortable mutual exclusion problem, proposed by Scott and Scherer in response to the needs in real-time systems and databases, is a variant of mutual exclusion that allows processes to abort from their attempt to acquire the lock. Worst-case constant remote memory reference algorithms for mutual exclusion using hardware instructions such as Fetch&Add or Fetch&Store have long existed for both cache coherent (CC) and distributed shared memory multiprocessors, but no such algorithms are known for abortable mutual exclusion. Even relaxing the worst-case requirement to amortized, algorithms are only known for the CC model.
In this article, we improve this state of the art by designing a deterministic algorithm that uses Fetch&Store to achieve amortized
O
(1) remote memory reference in both the CC and distributed shared memory models. Our algorithm supports Fast Abort (a process aborts within six steps of receiving the abort signal) and has the following additional desirable properties: it supports an arbitrary number of processes of arbitrary names, requires only
O
(1) space per process, and satisfies a novel fairness condition that we call
Airline FCFS
. Our algorithm is short with fewer than a dozen lines of code.
Funder
James Family Professorship
NDSEG Fellowship
U.S. Department of Defense
Publisher
Association for Computing Machinery (ACM)
Subject
Computational Theory and Mathematics,Computer Science Applications,Hardware and Architecture,Modelling and Simulation,Software
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Constant RMR System-wide Failure Resilient Durable Locks with Dynamic Joining;Proceedings of the 35th ACM Symposium on Parallelism in Algorithms and Architectures;2023-06-17