Persistent HyTM via Fast Path Fine-Grained Locking
Loading...
Date
Journal Title
Journal ISSN
Volume Title
Publisher
ACM
Abstract
Utilizing hardware transactional memory (HTM) in conjunction with non-volatile memory (NVM) to achieve persistence is quite difficult and somewhat awkward due to the fact that the primitives utilized to write data to NVM will abort HTM transactions. We present several persistent hybrid transactional memory (HyTM) that, perhaps counterintuitively, utilize an HTM fast path primarily to read or acquire fine-grained locks which protect data items. Our implementations guarantee durable linearizable transactions and the STM path satisfies either weak progressiveness or strong progressiveness. We discuss the design choices related to the differing progress guarantees and we examine how these design choices impact performance. We evaluate our persistent HyTM implementations using various microbenchmarks. Despite the challenges and apparent awkwardness of using current implementations of HTM to achieve persistence, our implementations achieve up to 10x improved performance compared to the existing state of the art persistent STMs and up to 2.6x improved performance compared to the existing state of the art persistent HyTMs.
Description
Author manuscript, 18 pages, arXiv:2501.14783v2 (20 June 2025). Reviewed comparison confirms the publication’s algorithm, progress and evaluation material, with layout and presentation differences; not the publisher-produced PDF. © 2025 the authors; publication rights licensed to ACM. Author’s version, posted for personal use; not for redistribution. Definitive publication: SPAA 2025, pp. 413–428, https://doi.org/10.1145/3694906.3743314. PDF unchanged; no new Creative Commons licence assigned.