Computer Science > Distributed, Parallel, and Cluster Computing
[Submitted on 27 Nov 2012 (v1), revised 27 May 2013 (this version, v4), latest version 12 Oct 2013 (v5)]
Title:On Non-Interference and Locality in Transactional Memory
View PDFAbstract:The promise of transactional memory is to make concurrent programming tractable and efficient by allowing the user to assemble sequences of actions in atomic transactions with all-or-nothing semantics. It is usually expedcted that transactional memory must ensure that all committed transactions constitute a serial execution respecting the real-time order. In contrast, aborted or incomplete transactions should not "take effect" But what does "not taking effect" mean exactly?
It seems natural to expect that the writes of aborted or incomplete transactions do not appear in the global serial execution, and, thus, no committed transaction can be affected by them. We consider another, less obvious, feature of "not taking effect" called non-interference: aborted or incomplete transactions should not force any other transaction to abort. More precisely, by removing a subset of aborted or incomplete transactions from the history, we should not be able to turn an aborted transaction into a committed one.
We show that for a correctness criterion to be implementable in a non-interfering way it is sufficient %and, in many cases, necessary, to be local, i.e., to only require that every transaction can be serialized along with (a subset of) the transactions committed before its last event. For example, opacity requires that all aborted transactions to fit in a single global serialization (along with all the committed transactions) is not local and cannot achieve non-interference. We propose a simple though efficient implementation that satisfies non-interference and local opacity, a novel correctness criterion that is interesting in its own right. In addition to strict serializability, local opacity captures the safety semantics of opacity: aborted transactions do not witness inconsistent states.
Submission history
From: Petr Kuznetsov [view email][v1] Tue, 27 Nov 2012 14:31:06 UTC (54 KB)
[v2] Fri, 7 Dec 2012 22:15:53 UTC (54 KB)
[v3] Fri, 11 Jan 2013 12:29:37 UTC (55 KB)
[v4] Mon, 27 May 2013 13:51:56 UTC (59 KB)
[v5] Sat, 12 Oct 2013 12:23:21 UTC (44 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.