arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.13843cs.DC
收藏

VBR:基于版本的回收

VBR: Version Based Reclamation

Gali Sheffi, Maurice Herlihy, Erez Petrank

摘要:

安全无锁内存回收是一个难题。现有的解决方案遵循三种基本方法(或它们的组合):基于历元的回收,危险指针和乐观回收。基于历元的方法速度很快,但不能保证锁自由。危险指针解决方案是无锁的,但通常不提供高性能。乐观的方法是无锁的,而且速度快,但以前的乐观方法并没有一路走下去。虽然读取被乐观地执行,但写入受到危险指针的保护。在这项工作中,我们提出了一个新的回收计划称为基于版本的回收(VBR),它提供了一个完整的乐观的解决方案,无锁内存回收,获得锁自由和高效率。推测执行被认为是在计算机科学的各个领域提高性能的基本工具,并且实际上使用无锁链表、哈希表和跳过列表的评估表明,VBR优于现有的最先进的解决方案。

英文摘要:

Safe lock-free memory reclamation is a difficult problem. Existing solutions follow three basic methods (or their combinations): epoch based reclamation, hazard pointers, and optimistic reclamation. Epoch-based methods are fast, but do not guarantee lock-freedom. Hazard pointer solutions are lock-free but typically do not provide high performance. Optimistic methods are lock-free and fast, but previous optimistic methods did not go all the way. While reads were executed optimistically, writes were protected by hazard pointers. In this work we present a new reclamation scheme called version based reclamation (VBR), which provides a full optimistic solution to lock-free memory reclamation, obtaining lock-freedom and high efficiency. Speculative execution is known as a fundamental tool for improving performance in various areas of computer science, and indeed evaluation with a lock-free linked-list, hash-table and skip-list shows that VBR outperforms state-of-the-art existing solutions.

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

↑