Persistent HyTM via Fast Path Fine-Grained Locking

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Coccimiglio, Gaetano, Brown, Trevor, Ravi, Srivatsan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913902649933824
author Coccimiglio, Gaetano
Brown, Trevor
Ravi, Srivatsan
author_facet Coccimiglio, Gaetano
Brown, Trevor
Ravi, Srivatsan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14783
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Persistent HyTM via Fast Path Fine-Grained Locking
Coccimiglio, Gaetano
Brown, Trevor
Ravi, Srivatsan
Distributed, Parallel, and Cluster Computing
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.
title Persistent HyTM via Fast Path Fine-Grained Locking
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2501.14783