Optimal Memory-Anonymous Symmetric Deadlock-Free Mutual Exclusion

10/08/2018
by   Zahra Aghazadeh, et al.
0

The notion of an anonymous shared memory (recently introduced in PODC 2017) considers that processes use different names for the same memory location. Hence, there is permanent disagreement on the location names among processes. In this context, the PODC paper presented -among other results- a symmetric deadlock-free mutual exclusion (mutex) algorithm for two processes and a necessary condition on the size m of the anonymous memory for the existence of a symmetric deadlock-free mutex algorithm in an n-process system. This condition states that m must be greater than 1 and belong to the set M(n)={m:∀ ℓ:1<ℓ≤ n: (ℓ,m)=1} (symmetric means that, while each process has its own identity, process identities can only be compared with equality). The present paper answers several open problems related to symmetric deadlock-free mutual exclusion in an n-process system (n≥ 2) where the processes communicate through m registers. It first presents two algorithms. The first considers that the registers are anonymous read/write atomic registers and works for any m greater than 1 and belonging to the set M(n). It thus shows that this condition on m is both necessary and sufficient. The second algorithm considers anonymous read/modify/write atomic registers. It assumes that m∈ M(n). These algorithms differ in their design principles and their costs (measured as the number of registers which must contain the identity of a process to allow it to enter the critical section). The paper also shows that the condition m∈ M(n) is necessary for deadlock-free mutex on top of anonymous read/modify/write atomic registers. It follows that, when m>1, m∈ M(n) is a tight characterization of the size of the anonymous shared memory needed to solve deadlock-free mutex, be the anonymous registers read/write or read/modify/write.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/28/2019

Mutex-based Desanonymization of an Anonymous Read/Write Memory

Anonymous shared memory is a memory in which processes use different nam...
research
03/06/2022

Election in Fully Anonymous Shared Memory Systems: Tight Space Bounds and Algorithms

This article addresses election in fully anonymous systems made up of n ...
research
09/20/2023

Memory-Anonymous Starvation-Free Mutual Exclusion: Possibility and Impossibility Results

In an anonymous shared memory system, all inter-process communications a...
research
08/10/2020

Fully Read/Write Fence-Free Work-Stealing with Multiplicity

Work-stealing is a popular technique to implement dynamic load balancing...
research
03/25/2019

Two Mutual Exclusion Algorithms for Shared Memory

In this paper, we introduce two algorithms that solve the mutual exclusi...
research
03/26/2021

Extending Classic Paxos for High-performance Read-Modify-Write Registers

In this work we provide a detailed specification of how we extended and ...
research
11/20/2017

Schlegel Diagram and Optimizable Immediate Snapshot Protocol

In the topological study of distributed systems, the immediate snapshot ...

Please sign up or login with your details

Forgot password? Click here to reset