并发数据结构的快速非阻塞持久化
Fast Nonblocking Persistence for Concurrent Data Structures
摘要:
我们提出了一个完全无锁的变体,最近的蒙太奇系统的持久性数据结构。我们的变体nbMontage为几乎所有非阻塞并发结构添加了持久性,而不会引入任何类型的显著开销或阻塞。像它的前身一样,nbMontage是缓冲持久线性化的:它保证在崩溃后恢复的状态将代表崩溃前执行的一致前缀。与其前身不同,nbMontage确保持久性边界的无等待进展,从而限制可能在崩溃时丢失的最近更新的数量,并允许线程强制更新边界(即,以执行同步操作)而没有阻塞的风险。作为一个额外的好处,我们的无等待同步所采用的帮助机制大大减少了它的延迟。非阻塞队列、跳表、树和哈希表的性能结果可与文献中的自定义数据结构相媲美--比以前的通用系统快得多,并且通常在DRAM中放置的等效非持久性结构的50%以内。
英文摘要:
We present a fully lock-free variant of the recent Montage system for persistent data structures. Our variant, nbMontage, adds persistence to almost any nonblocking concurrent structure without introducing significant overhead or blocking of any kind. Like its predecessor, nbMontage is buffered durably linearizable: it guarantees that the state recovered in the wake of a crash will represent a consistent prefix of pre-crash execution. Unlike its predecessor, nbMontage ensures wait-free progress of the persistence frontier, thereby bounding the number of recent updates that may be lost on a crash, and allowing a thread to force an update of the frontier (i.e., to perform a sync operation) without the risk of blocking. As an extra benefit, the helping mechanism employed by our wait-free sync significantly reduces its latency. Performance results for nonblocking queues, skip lists, trees, and hash tables rival custom data structures in the literature -- dramatically faster than achieved with prior general-purpose systems, and generally within 50% of equivalent non-persistent structures placed in DRAM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。