Inherent Limitations of Hybrid Transactional Memory
Dan Alistarh, Justin Kopinsky, Petr Kuznetsov, Srivatsan Ravi, Nir, Shavit

TL;DR
This paper investigates the fundamental limitations of hybrid transactional memory systems, demonstrating inherent trade-offs between concurrency and instrumentation costs, and providing optimal implementation bounds.
Contribution
It introduces a formal model for HyTM, proves impossibility results for uninstrumented reads/writes, and establishes linear instrumentation costs in opaque progressive HyTM.
Findings
Strictly serializable HyTM cannot have uninstrumented reads and writes.
Hardware transactions in opaque progressive HyTM require linear instrumentation costs.
Provided upper bound implementations are optimal regarding instrumentation costs.
Abstract
Several Hybrid Transactional Memory (HyTM) schemes have recently been proposed to complement the fast, but best-effort, nature of Hardware Transactional Memory (HTM) with a slow, reliable software backup. However, the fundamental limitations of building a HyTM with nontrivial concurrency between hardware and software transactions are still not well understood. In this paper, we propose a general model for HyTM implementations, which captures the ability of hardware transactions to buffer memory accesses, and allows us to formally quantify and analyze the amount of overhead (instrumentation) of a HyTM scheme. We prove the following: (1) it is impossible to build a strictly serializable HyTM implementation that has both uninstrumented reads and writes, even for weak progress guarantees, and (2) under reasonable assumptions, in any opaque progressive HyTM, a hardware transaction must…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Cognitive Functions and Memory · Advanced Data Storage Technologies
