为了恢复而跟踪:无锁数据结构的可检测恢复
Tracking in Order to Recover: Detectable Recovery of Lock-Free Data Structures
摘要:
本文提出了跟踪方法,用于导出许多广泛使用的并发数据结构的可检测恢复(因此也是持久的)实现。这种满足可检测恢复的数据结构对于以字节可寻址非易失性主存储器(NVRAM)为特征的新兴系统是有吸引力的,NVRAM的持久性允许在崩溃之后有效地恢复失败的进程。可检测的恢复确保在崩溃之后,每个执行的操作都能够恢复并返回正确的响应,并且数据结构的状态不被破坏。基于信息结构(ISB)的跟踪修改了现有无锁帮助方案中使用的描述符对象,增加了跟踪操作完成进度的字段,并将这些字段持久化到内存中,以确保可检测的恢复。ISB-tracking避免了全面的日志记录,并以每个进程的方式跟踪并发操作的进度,从而降低了确保可检测恢复的成本。我们已经应用ISB跟踪来获得可检测可恢复的实现的队列,链表,二叉搜索树,和交换器。实验结果表明了该技术的可行性。
英文摘要:
This paper presents the tracking approach for deriving detectably recoverable (and thus also durable) implementations of many widely-used concurrent data structures. Such data structures, satisfying detectable recovery, are appealing for emerging systems featuring byte-addressable non-volatile main memory (NVRAM), whose persistence allows to efficiently resurrect failed processes after crashes. Detectable recovery ensures that after a crash, every executed operation is able to recover and return a correct response, and that the state of the data structure is not corrupted. Info-Structure Based (ISB)-tracking amends descriptor objects used in existing lock-free helping schemes with additional fields that track an operation's progress towards completion and persists these fields to memory in order to ensure detectable recovery. ISB-tracking avoids full-fledged logging and tracks the progress of concurrent operations in a per-process manner, thus reducing the cost of ensuring detectable recovery. We have applied ISB-tracking to derive detectably recoverable implementations of a queue, a linked list, a binary search tree, and an exchanger. Experimental results show the feasibility of the technique.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。