arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.08706cs.DCcs.DScs.PF
收藏

第二修正案(The Second Amendment)

Durable Queues: The Second Amendment

Gal Sela, Erez Petrank

摘要:

我们考虑非易失性主存储器的持久数据结构,例如新的Intel Optane存储器架构。最近的大量工作集中在通过添加最小数量的阻塞持久化操作(即,冲洗和围栏)。在这项工作中,我们表明,专注于最大限度地减少持久化指令的数量是重要的,但还不够。我们表明,访问刷新的内容是高成本,由于在当前的架构中的缓存失效。鉴于这一发现,我们提出了一个设计的队列数据结构,适当地照顾到最小化阻塞持久化操作,以及最小化访问刷新的内容。所提出的设计优于最先进的持久队列。我们首先提供一个持久版本的Michael Scott队列(MSQ)。我们通过添加最小数量的持久化指令来修改MSQ,比可用的持久队列少,并且满足阻塞持久化操作数量的理论下限。然后,我们继续对该设计进行第二次修改,消除了对刷新数据的访问。评估表明,第二次修订产生了实质性的性能改进,优于最先进的技术,并证明了减少访问刷新内容的重要性。所提出的队列是持久可线性化且无锁的。最后,我们讨论了理论上的最佳数量的访问刷新的内容。

英文摘要:

We consider durable data structures for non-volatile main memory, such as the new Intel Optane memory architecture. Substantial recent work has concentrated on making concurrent data structures durable with low overhead, by adding a minimal number of blocking persist operations (i.e., flushes and fences). In this work we show that focusing on minimizing the number of persist instructions is important, but not enough. We show that access to flushed content is of high cost due to cache invalidation in current architectures. Given this finding, we present a design of the queue data structure that properly takes care of minimizing blocking persist operations as well as minimizing access to flushed content. The proposed design outperforms state-of-the-art durable queues. We start by providing a durable version of the Michael Scott queue (MSQ). We amend MSQ by adding a minimal number of persist instructions, fewer than in available durable queues, and meeting the theoretical lower bound on the number of blocking persist operations. We then proceed with a second amendment to this design, that eliminates accesses to flushed data. Evaluation shows that the second amendment yields substantial performance improvement, outperforming the state of the art and demonstrating the importance of reduced accesses to flushed content. The presented queues are durably linearizable and lock-free. Finally, we discuss the theoretical optimal number of accesses to flushed content.

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

↑