Formal Definitions of Memory Consistency Models

01/23/2021
by   Jordi Bataller Mascarell, et al.
0

Shared Memory is a mechanism that allows several processes to communicate with each other by accessing – writing or reading – a set of variables that they have in common. A Consistency Model defines how each process observes the state of the Memory, according to the accesses performed by it and by the rest of the processes in the system. Therefore, it determines what value a read returns when a given process issues it. This implies that there must be an agreement among all, or among processes in different subsets, on the order in which all or a subset of the accesses happened. It is clear that a higher quantity of accesses or proceses taking part in the agreement makes it possibly harder or slower to be achieved. This is the main reason for which a number of Consistency Models for Shared Memory have been introduced. This paper is a handy summary of [2] and [3] where consistency models (Sequential, Causal, PRAM, Cache, Processors, Slow), including synchronized ones (Weak, Release, Entry), were formally defined. This provides a better understanding of those models and a way to reason and compare them through a concise notation. There are many papers on this subject in the literature such as [11] with which this work shares some concepts.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/12/2019

Fully Anonymous Shared Memory Algorithms

Process anonymity has been studied for a long time. Memory anonymity is ...
research
08/04/2022

Impact of the Consistency Model on Checkpointing of Distributed Shared Memory

In this report, we consider the impact of the consistency model on check...
research
02/02/2018

Extending Causal Consistency to any Object Defined by a Sequential Specification

This paper presents a simple generalization of causal consistency suited...
research
04/03/2018

Database Consistency Models

A data store allows application processes to put and get data from a sha...
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
10/11/2017

Weak Memory Models with Matching Axiomatic and Operational Definitions

Memory consistency models are notorious for being difficult to define pr...
research
03/16/2021

Wait-free approximate agreement on graphs

Approximate agreement is one of the few variants of consensus that can b...

Please sign up or login with your details

Forgot password? Click here to reset