An Adaptive Approach to Recoverable Mutual Exlcusion

06/12/2020
by   Sahil Dhoked, et al.
0

Mutual exclusion (ME) is one of the most commonly used techniques to handle conflicts in concurrent systems. Traditionally, mutual exclusion algorithms have been designed under the assumption that a process does not fail while acquiring/releasing a lock or while executing its critical section. However, failures do occur in real life, potentially leaving the lock in an inconsistent state. This gives rise to the problem of recoverable mutual exclusion (RME) that involves designing a mutual exclusion algorithm that can tolerate failures, while maintaining safety and liveness properties. One of the important measures of performance of any ME algorithm, including an RME algorithm, is the number of remote memory references (RMRs) made by a process (for acquiring and releasing a lock as well as recovering the lock structure after a failure). The best known RME algorithm solves the problem for n processes in sub-logarithmic number of RMRs, given by 𝒪(log n/loglog n), irrespective of the number of failures in the system. In this work, we present a new algorithm for solving the RME problem whose RMR complexity gradually adapts to the number of failures that have occurred in the system "recently". In the absence of failures, our algorithm generates only 𝒪(1) RMRs. Furthermore, its RMR complexity is given by 𝒪(min{√(F), log n/loglog n}) where F is the total number of failures in the "recent" past. In addition to read and write instructions, our algorithm uses compare-and-swap () and fetch-and-store () hardware instructions, both of which are commonly available in most modern processors.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/15/2021

Adaptive and Fair Transformation for Recoverable Mutual Exclusion

Mutual exclusion is one of the most commonly used techniques to handle c...
research
03/02/2021

Memory Reclamation for Recoverable Mutual Exclusion

Mutual exclusion (ME) is a commonly used technique to handle conflicts i...
research
12/05/2020

Recoverable Mutual Exclusion with Abortability

Recent advances in non-volatile main memory (NVRAM) technology have spur...
research
04/03/2019

Recoverable Mutual Exclusion with Sub-logarithmic RMR Complexity on CC and DSM machines

In light of recent advances in non-volatile main memory technology, Gola...
research
11/15/2020

Recoverable, Abortable, and Adaptive Mutual Exclusion with Sublogarithmic RMR Complexity

We present the first recoverable mutual exclusion (RME) algorithm that i...
research
09/20/2023

Better Sooner Rather Than Later

This article unifies and generalizes fundamental results related to n-pr...
research
05/29/2019

The Impact of RDMA on Agreement

Remote Direct Memory Access (RDMA) is becoming widely available in data ...

Please sign up or login with your details

Forgot password? Click here to reset