Lune

PLDI2024顶会

A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation

Ruslan Nikolaev, Binoy Ravindran

摘要

Historically, memory management based on lock-free reference counting was very inefficient, especially for read-dominated workloads. Thus, approaches such as epoch-based reclamation (EBR), hazard pointers (HP), or a combination thereof have received significant attention. EBR exhibits excellent performance but is blocking due to potentially unbounded memory usage. In contrast, HP are non-blocking and achieve good memory efficiency but are much slower. Moreover, HP are only lock-free in the general case. Recently, several new memory reclamation approaches such as WFE and Hyaline have been proposed. WFE achieves wait-freedom, but is less memory efficient and performs suboptimally in oversubscribed scenarios; Hyaline achieves higher performance and memory efficiency, but lacks wait-freedom.

We present a family of non-blocking memory reclamation schemes, called Crystalline, that simultaneously addresses the challenges of high performance, high memory efficiency, and wait-freedom. Crystalline can guarantee complete wait-freedom even when threads are dynamically recycled, asynchronously reclaims memory in the sense that any thread can reclaim memory retired by any other thread, and ensures (an almost) balanced reclamation workload across all threads. The latter two properties result in Crystalline's high performance and memory efficiency. Simultaneously ensuring all three properties requires overcoming unique challenges. Crystalline supports ubiquitous x86-64 and ARM64 architectures, while achieving superior throughput than prior fast schemes such as EBR as the number of threads grows.

We also accentuate that many recent approaches, unlike HP, lack strict non-blocking guarantees when used with multiple data structures. By providing full wait-freedom, Crystalline addresses this problem as well.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures 引用了 A marriage of pointer- and epoch-based reclamation
  • Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures 引用了 NBR: neutralization based reclamation
  • Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures 引用了 Concurrent deferred reference counting with constant-time overhead
  • Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures 引用了 Universal wait-free memory reclamation
  • Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures 引用了 OrcGC: automatic lock-free memory reclamation
  • NBR: neutralization based reclamation 引用了 Universal wait-free memory reclamation
  • 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
  • Concurrent deferred reference counting with constant-time overhead 引用了 OrcGC: automatic lock-free memory reclamation
  • Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation Schemes 引用了 NBR: neutralization based reclamation
  • Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation Schemes 引用了 Concurrent deferred reference counting with constant-time overhead
  • Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation Schemes 引用了 Universal wait-free memory reclamation
  • Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation Schemes 引用了 OrcGC: automatic lock-free memory reclamation
  • OrcGC: automatic lock-free memory reclamation 引用了 A marriage of pointer- and epoch-based reclamation
  • OrcGC: automatic lock-free memory reclamation 引用了 Universal wait-free memory reclamation
  • Sharded Elimination and Combining for Highly-Efficient Concurrent Stacks 引用了 Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures
  • Sharded Elimination and Combining for Highly-Efficient Concurrent Stacks 引用了 NBR: neutralization based reclamation
  • Sharded Elimination and Combining for Highly-Efficient Concurrent Stacks 引用了 Concurrent deferred reference counting with constant-time overhead
  • Leveraging Immutability to Validate Hazard Pointers for Optimistic Traversals 引用了 A marriage of pointer- and epoch-based reclamation
  • Leveraging Immutability to Validate Hazard Pointers for Optimistic Traversals 引用了 NBR: neutralization based reclamation
  • Leveraging Immutability to Validate Hazard Pointers for Optimistic Traversals 引用了 Concurrent deferred reference counting with constant-time overhead
  • Leveraging Immutability to Validate Hazard Pointers for Optimistic Traversals 引用了 Universal wait-free memory reclamation
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 A marriage of pointer- and epoch-based reclamation
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 NBR: neutralization based reclamation
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 Concurrent deferred reference counting with constant-time overhead
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation Schemes
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 Universal wait-free memory reclamation
  • RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data Structures 引用了 OrcGC: automatic lock-free memory reclamation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data StructuresAjay Singh, Trevor BrownPPoPP 2025 · 3 次引用
  2. Leveraging Immutability to Validate Hazard Pointers for Optimistic TraversalsJanggun Lee, Jeonghyeon Kim, Jeehoon KangPLDI 2025 · 2 次引用
  3. RRR-SMR: Reduce, Reuse, Recycle: Better Methods for Practical Lock-Free Data StructuresMd Amit Hasan Arovi, Ruslan NikolaevPLDI 2025 · 2 次引用
  4. Fixing Non-blocking Data Structures for Better Compatibility with Memory Reclamation SchemesMd Amit Hasan Arovi, Ruslan NikolaevPPoPP 2026 · 1 次引用
  5. Sharded Elimination and Combining for Highly-Efficient Concurrent StacksAjay Singh, Nikos Metaxakis, Panagiota FatourouPPoPP 2026

它引用的 Paper8

  1. Concurrent deferred reference counting with constant-time overheadDaniel Anderson, Guy E. Blelloch, Yuanhao WeiPLDI 2021 · 26 次引用
  2. A marriage of pointer- and epoch-based reclamationJeehoon Kang, Jaehwang JungPLDI 2020 · 25 次引用
  3. NBR: neutralization based reclamationAjay Singh, Trevor Brown, Ali José MashtizadehPPoPP 2021 · 23 次引用
  4. Universal wait-free memory reclamationRuslan Nikolaev, Binoy RavindranPPoPP 2020 · 23 次引用
  5. OrcGC: automatic lock-free memory reclamationAndreia Correia, Pedro Ramalhete, Pascal FelberPPoPP 2021 · 19 次引用

相关 Paper

  1. Snapshot-free, transparent, and robust memory reclamation for lock-free data structuresRuslan Nikolaev, Binoy RavindranPLDI 2021 · 18 次引用
  2. Turning manual concurrent memory reclamation into automatic reference countingDaniel Anderson, Guy E. Blelloch, Yuanhao WeiPLDI 2022 · 14 次引用
  3. Are Your Epochs Too Epic? Batch Free Can Be HarmfulDaewoo Kim, Trevor Brown, Ajay SinghPPoPP 2024 · 5 次引用
  4. Partial Failure Resilient Memory Management System for (CXL-based) Distributed Shared MemoryMingxing Zhang, Teng Ma, Jinqi Hua, Zheng Liu 等SOSP 2023 · 38 次引用
  5. Concurrent Immediate Reference CountingJaehwang Jung, Jeonghyeon Kim, Matthew J. Parkinson, Jeehoon KangPLDI 2024 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖