Recoverable Mutual Exclusion: [Extended Abstract]
Title | Recoverable Mutual Exclusion: [Extended Abstract] |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Golab, Wojciech, Ramaraju, Aditya |
Conference Name | Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-3964-3 |
Keywords | Concurrency, Fault tolerance, multi-core algorithms, mutual exclusion, non-volatile main memory, persistent data structures, pubcrawl170201, recovery, shared memory |
Abstract | Mutex locks have traditionally been the most common mechanism for protecting shared data structures in parallel programs. However, the robustness of such locks against process failures has not been studied thoroughly. Most (user-level) mutex algorithms are designed around the assumption that processes are reliable, meaning that a process may not fail while executing the lock acquisition and release code, or while inside the critical section. If such a failure does occur, then the liveness properties of a conventional mutex lock may cease to hold until the application or operating system intervenes by cleaning up the internal structure of the lock. For example, a process that is attempting to acquire an otherwise starvation-free mutex may be blocked forever waiting for a failed process to release the critical section. Adding to the difficulty, if the failed process recovers and attempts to acquire the same mutex again without appropriate cleanup, then the mutex may become corrupted to the point where it loses safety, notably the mutual exclusion property. We address this challenge by formalizing the problem of recoverable mutual exclusion, and proposing several solutions that vary both in their assumptions regarding hardware support for synchronization, and in their time complexity. Compared to known solutions, our algorithms are more robust as they do not restrict where or when a process may crash, and provide stricter guarantees in terms of time complexity, which we define in terms of remote memory references. |
URL | http://doi.acm.org/10.1145/2933057.2933087 |
DOI | 10.1145/2933057.2933087 |
Citation Key | golab_recoverable_2016 |