Crafty: Efficient, HTM-Compatible Persistent Transactions

Kaan Genç, Michael D. Bond, Guoqing Harry Xu
4/1/2020
cs.PL

Official code: PLaSSticity/Crafty (4 stars, C, last commit 2022-08-23).

Abstract

Byte-addressable persistent memory, such as Intel/Micron 3D XPoint, is an emerging technology that bridges the gap between volatile memory and persistent storage. Data in persistent memory survives crashes and restarts; however, it is challenging to ensure that this data is consistent after failures.

Show full abstract

Existing approaches incur significant performance costs to ensure crash consistency. This paper introduces Crafty, a new approach for ensuring consistency and atomicity on persistent memory operations using commodity hardware with existing hardware transactional memory (HTM) capabilities, while incurring low overhead. Crafty employs a novel technique called nondestructive undo logging that leverages commodity HTM to control persist ordering. Our evaluation shows that Crafty outperforms state-of-the-art prior work under low contention, and performs competitively under high contention.

View on arXivView PDF

Code Implementations(1)

PLaSSticity/CraftyOfficial100%

Public implementation of Crafty, published in PLDI 2020. https://arxiv.org/abs/2004.00262

43C, C++Apr 3, 20204 years ago

Similar Papers

Cite this paper

@article{gen2020crafty,
  title  = {Crafty: Efficient, HTM-Compatible Persistent Transactions},
  author = {Kaan Genç and Michael D. Bond and Guoqing Harry Xu},
  year   = {2020},
  eprint = {2004.00262},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.00262}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.00262.svg)](https://codeofpaper.com/paper/2004.00262)

Discussion