Lune

PPoPP2022顶会

PathCAS: an efficient middle ground for concurrent search data structures

Trevor Brown, William Sigouin, Dan Alistarh

摘要

To maximize the performance of concurrent data structures, researchers have often turned to highly complex fine-grained techniques, resulting in efficient and elegant algorithms, which can however be often difficult to understand and prove correct. While simpler techniques exist, such as transactional memory, they can have limited performance or portability relative to their fine-grained counterparts. Approaches at both ends of this complexity-performance spectrum have been extensively explored, but relatively less is known about the middle ground: approaches that are willing to sacrifice some performance for simplicity, while remaining competitive with state-of-the-art handcrafted designs. In this paper, we explore this middle ground, and present PathCAS, a primitive that combines ideas from multi-word CAS (KCAS) and transactional memory approaches, while carefully avoiding overhead. We show how PathCAS can be used to implement efficient search data structures relatively simply, using an internal binary search tree as an example, then extending this to an AVL tree. Our best implementations outperform many handcrafted search trees: in search-heavy workloads, it rivals the BCCO tree [5], the fastest known concurrent binary tree in terms of search performance [3]. Our results suggest that PathCAS can yield concurrent data structures that are relatively easy to build and prove correct, while offering surprisingly high performance.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • NBR: neutralization based reclamation 引用了 Non-blocking interpolation search trees with doubly-logarithmic running time
  • Multiverse: Transactional Memory with Dynamic Multiversioning 引用了 Non-blocking interpolation search trees with doubly-logarithmic running time
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Multiverse: Transactional Memory with Dynamic MultiversioningGaetano Coccimiglio, Trevor Brown, Srivatsan RaviPPoPP 2026

它引用的 Paper2

  1. Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 次引用
  2. NBR: neutralization based reclamationAjay Singh, Trevor Brown, Ali José MashtizadehPPoPP 2021 · 23 次引用

相关 Paper

  1. Constant-time snapshots with applications to concurrent data structuresYuanhao Wei, Naama Ben-David, Guy E. Blelloch, Panagiota Fatourou 等PPoPP 2021 · 37 次引用
  2. Concurrent Path-Copying Update to Tree StructuresGuanhao Hou, Dechuang Chen, Qintian Guo, Fangyuan Zhang 等SIGMOD 2026
  3. Scaling concurrent queues by using HTM to profit from failed atomic operationsOr Ostrovsky, Adam MorrisonPPoPP 2020 · 6 次引用
  4. Boosting Performance and QoS for Concurrent GPU B+trees by Combining-Based SynchronizationWeihua Zhang, Chuanlei Zhao, Lu Peng, Yuzhe Lin 等PPoPP 2023 · 7 次引用
  5. Dynamic Interleaving of Content and Structure for Robust Indexing of Semi-Structured Hierarchical DataKevin Wellenzohn, Michael H. Böhlen, Sven HelmerVLDB 2020 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖