arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.01108cs.DCcs.AR
收藏

硬件传输持久存储器

Hardware Transactional Persistent Memory

Ellis Giles, Kshitij Doshi, Peter Varman

摘要:

新兴的持久性内存技术(也称为PM、非易失性内存、存储类内存或SCM)为加速流行的数据管理应用程序(如内存数据库)带来了巨大的希望。然而,程序员现在需要处理确保持久性常驻内存的数据上的事务的原子性,并维护处理器执行存储的顺序与更新值变得持久的顺序之间的一致性。当高性能隔离机制如硬件事务存储器(HTM)用于并发控制时,这个问题特别具有挑战性。这项工作表明,HTM事务可以正确地和原子地进入PM通过使用一种新的软件协议结合持久性内存控制器,而不需要改变处理器缓存硬件或HTM协议。相比之下,以前的方法需要对现有的处理器微架构进行重大改变。我们的方法,使用微基准测试和STAMP套件进行评估,以及与标准(易变)HTM交易。与持久事务锁定相比,它还在吞吐量和延迟方面获得了显著的收益。

英文摘要:

Emerging Persistent Memory technologies (also PM, Non-Volatile DIMMs, Storage Class Memory or SCM) hold tremendous promise for accelerating popular data-management applications like in-memory databases. However, programmers now need to deal with ensuring the atomicity of transactions on Persistent Memory resident data and maintaining consistency between the order in which processors perform stores and that in which the updated values become durable. The problem is specially challenging when high-performance isolation mechanisms like Hardware Transactional Memory (HTM) are used for concurrency control. This work shows how HTM transactions can be ordered correctly and atomically into PM by the use of a novel software protocol combined with a Persistent Memory Controller, without requiring changes to processor cache hardware or HTM protocols. In contrast, previous approaches require significant changes to existing processor microarchitectures. Our approach, evaluated using both micro-benchmarks and the STAMP suite compares well with standard (volatile) HTM transactions. It also yields significant gains in throughput and latency in comparison with persistent transactional locking.

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

↑