Lune

PPoPP2021顶会

OrcGC: automatic lock-free memory reclamation

Andreia Correia, Pedro Ramalhete, Pascal Felber

摘要

Dynamic lock-free data structures require a memory reclamation scheme with a similar progress. Until today, lock-free schemes are applied to data structures on a case-by-case basis, often with algorithm modifications to the data structure.

In this paper we introduce two new lock-free reclamation schemes, one manual and the other automatic with user annotated types. The manual reclamation scheme, named pass-the-pointer (PTP), has lock-free progress and a bound on the number of unreclaimed objects that is linear with the number of threads.

The automatic lock-free memory reclamation scheme, which we named OrcGC, uses PTP and object reference counting to automatically detect when to protect and when to de-allocate an object. OrcGC has a linear bound on memory usage and supports the system allocator. We propose a new methodology that utilizes OrcGC to provide lock-free memory reclamation to a data structure.

We conducted a performance evaluation on two machines, an Intel and an AMD, applying PTP and OrcGC to several lock-free data structures, providing lock-free memory reclamation where before there was none. On the Intel machine we saw no significant performance impact, while on AMD we observed a worst-case performance drop below 50%.

• Theory of computation Concurrent algorithms.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation 引用了 A marriage of pointer- and epoch-based reclamation
  • A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation 引用了 Turning manual concurrent memory reclamation into automatic reference counting
  • A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation 引用了 Concurrent deferred reference counting with constant-time overhead
  • A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation 引用了 Universal wait-free memory reclamation
  • A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation 引用了 Snapshot-free, transparent, and robust memory reclamation for lock-free data structures
  • Turning manual concurrent memory reclamation into automatic reference counting 引用了 Concurrent deferred reference counting with constant-time overhead
  • Turning manual concurrent memory reclamation into automatic reference counting 引用了 Universal wait-free memory reclamation
  • Turning manual concurrent memory reclamation into automatic reference counting 引用了 Snapshot-free, transparent, and robust memory reclamation for lock-free data structures
  • Concurrent Immediate Reference Counting 引用了 Turning manual concurrent memory reclamation into automatic reference counting
  • Concurrent Immediate Reference Counting 引用了 Concurrent deferred reference counting with constant-time overhead
  • Concurrent Immediate Reference Counting 引用了 Snapshot-free, transparent, and robust memory reclamation for lock-free data structures
  • Concurrent deferred reference counting with constant-time overhead 引用了 A marriage of pointer- and epoch-based reclamation
  • Concurrent deferred reference counting with constant-time overhead 引用了 Universal wait-free memory reclamation
  • Snapshot-free, transparent, and robust memory reclamation for lock-free data structures 引用了 A marriage of pointer- and epoch-based reclamation
  • Snapshot-free, transparent, and robust memory reclamation for lock-free data structures 引用了 Universal wait-free memory reclamation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Concurrent deferred reference counting with constant-time overheadDaniel Anderson, Guy E. Blelloch, Yuanhao WeiPLDI 2021 · 26 次引用
  2. Snapshot-free, transparent, and robust memory reclamation for lock-free data structuresRuslan Nikolaev, Binoy RavindranPLDI 2021 · 18 次引用
  3. Turning manual concurrent memory reclamation into automatic reference countingDaniel Anderson, Guy E. Blelloch, Yuanhao WeiPLDI 2022 · 14 次引用
  4. A Family of Fast and Memory Efficient Lock- and Wait-Free ReclamationRuslan Nikolaev, Binoy RavindranPLDI 2024 · 7 次引用
  5. Concurrent Immediate Reference CountingJaehwang Jung, Jeonghyeon Kim, Matthew J. Parkinson, Jeehoon KangPLDI 2024 · 6 次引用

它引用的 Paper2

  1. A marriage of pointer- and epoch-based reclamationJeehoon Kang, Jaehwang JungPLDI 2020 · 25 次引用
  2. Universal wait-free memory reclamationRuslan Nikolaev, Binoy RavindranPPoPP 2020 · 23 次引用

相关 Paper

  1. Are Your Epochs Too Epic? Batch Free Can Be HarmfulDaewoo Kim, Trevor Brown, Ajay SinghPPoPP 2024 · 5 次引用
  2. Pointer life cycle types for lock-free data structures with memory reclamationRoland Meyer, Sebastian WolffPOPL 2020 · 7 次引用
  3. RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data StructuresMd Amit Hasan Arovi, Ruslan NikolaevPLDI 2025 · 2 次引用
  4. Leveraging Immutability to Validate Hazard Pointers for Optimistic TraversalsJanggun Lee, Jeonghyeon Kim, Jeehoon KangPLDI 2025 · 2 次引用
  5. Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data StructuresAjay Singh, Trevor BrownPPoPP 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖