Publications

Persistent HyTM via Fast Path Fine-Grained Locking

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. Our implementations achieve improved performance especially for read dominant workloads compared to state of the art persistent STMs and persistent HyTMs despite the challenges and apparent awkwardness of using current implementation HTM to achieve persistence.

Metadata

publication
arXiv preprint arXiv:2501.14783, 2025
year
2025
publication date
2025/1/4
authors
Gaetano Coccimiglio, Trevor Brown, Srivatsan Ravi
link
https://arxiv.org/abs/2501.14783
resource_link
https://arxiv.org/pdf/2501.14783
journal
arXiv preprint arXiv:2501.14783