English

Crafty: Efficient, HTM-Compatible Persistent Transactions

Programming Languages 2020-04-22 v3

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. 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.

Keywords

Cite

@article{arxiv.2004.00262,
  title  = {Crafty: Efficient, HTM-Compatible Persistent Transactions},
  author = {Kaan Genç and Michael D. Bond and Guoqing Harry Xu},
  journal= {arXiv preprint arXiv:2004.00262},
  year   = {2020}
}

Comments

32 pages, 24 figures. To appear in PLDI 2020

R2 v1 2026-06-23T14:34:54.242Z