arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.14783cs.DC
收藏

通过快速路径细粒度锁实现持久混合事务内存

Persistent HyTM via Fast Path Fine-Grained Locking

Gaetano Coccimiglio, Trevor Brown, Srivatsan Ravi

AI总结:

针对HTM与NVM结合实现持久性的困难,提出利用HTM快速路径获取细粒度锁的持久HyTM,保证持久可线性化,在读主导负载下性能优于现有方案。

摘要:

利用硬件事务内存(HTM)与非易失性内存(NVM)相结合来实现持久性相当困难且有些笨拙,因为用于将数据写入NVM的原语会导致HTM事务中止。我们提出了几种持久混合事务内存(HyTM)实现,这些实现或许与直觉相反,主要利用HTM快速路径来读取或获取保护数据项的细粒度锁。我们的实现保证持久可线性化事务,且STM路径满足弱进展性或强进展性。我们讨论了与不同进展保证相关的设计选择,并考察了这些设计选择对性能的影响。我们使用各种微基准测试评估了我们的持久HyTM实现。尽管使用当前实现的HTM来实现持久性存在挑战和明显的笨拙性,但我们的实现相比最先进的持久STM和持久HyTM,在尤其是读主导工作负载下取得了改进的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑