Lune

OOPSLA2025顶会

Efficient Decrease-and-Conquer Linearizability Monitoring

Lee Zheng Han, Umang Mathur

摘要

Linearizability has become the de facto standard for specifying correctness of implementations of concurrent data structures. While formally verifying such implementations remains challenging, linearizability monitoring has emerged as a promising first step to rule out early problems in the development of custom implementations, and serves as a key component in approaches that stress test such implementations. In this work, we undertake an algorithmic investigation of the linearizability monitoring problem, which asks to check if an execution history obtained from a concurrent data structure implementation is linearizable.

While this problem is largely understood to be intractable in general, a systematic understanding of when it becomes tractable has remained elusive. We revisit this problem and first present a unified 'decrease-andconquer' algorithmic framework for designing linearizability monitoring. At its heart, this framework asks to identify special linearizability-preserving values in a given history -values whose presence yields an equi-linearizable sub-history (obtained by removing operations of such values), and whose absence indicates non-linearizability. More importantly, we prove that a polynomial time algorithm for the problem of identifying linearizability-preserving values, immediately yields a polynomial time algorithm for the linearizability monitoring problem, while conversely, intractability of this problem implies intractability of monitoring.

We demonstrate the effectiveness of our decrease-and-conquer framework by instantiating it for several popular concurrent data types -registers, sets, stacks, queues and priority queues -deriving polynomial time algorithms for them, under the (unambiguity) restriction that each insertion to the underlying data structure adds a distinct value. We further optimize these algorithms to achieve log-linear running time through the use of efficient data structures for amortizing the cost of solving induced sub-problems. Our implementation and evaluation on publicly available implementations of concurrent data structures show that our approach scales to very large histories and significantly outperforms existing state-of-the-art tools.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • The Complexity of Dynamic Data Race Prediction 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Fixed Parameter Tractable Linearizability Monitoring 引用了 The Complexity of Dynamic Data Race Prediction
  • Fixed Parameter Tractable Linearizability Monitoring 引用了 Optimal prediction of synchronization-preserving races
  • Fixed Parameter Tractable Linearizability Monitoring 引用了 The Complexity of Testing Message-Passing Concurrency
  • Fast Atomicity Monitoring 引用了 The Complexity of Dynamic Data Race Prediction
  • Fast Atomicity Monitoring 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Fast Atomicity Monitoring 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • Optimal prediction of synchronization-preserving races 引用了 The Complexity of Dynamic Data Race Prediction
  • Optimal prediction of synchronization-preserving races 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Optimal prediction of synchronization-preserving races 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • The Complexity of Testing Message-Passing Concurrency 引用了 The Complexity of Dynamic Data Race Prediction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Fast, sound, and effectively complete dynamic race prediction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Atomicity Checking in Linear Time using Vector Clocks
  • The Complexity of Testing Message-Passing Concurrency 引用了 Optimal prediction of synchronization-preserving races
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用
  2. Fixed Parameter Tractable Linearizability MonitoringLee Zheng Han, Umang MathurPLDI 2026
  3. Fast Atomicity MonitoringHünkar Can Tunç, Yifan Dong, Andreas PavlogiannisPLDI 2026

它引用的 Paper17

  1. The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport 等POPL 2020 · 62 次引用
  2. Fast, sound, and effectively complete dynamic race predictionAndreas PavlogiannisPOPL 2020 · 46 次引用
  3. Optimal prediction of synchronization-preserving racesUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPOPL 2021 · 36 次引用
  4. The Complexity of Dynamic Data Race PredictionUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanLICS 2020 · 27 次引用
  5. Atomicity Checking in Linear Time using Vector ClocksUmang Mathur, Mahesh ViswanathanASPLOS 2020 · 27 次引用

相关 Paper

  1. Efficient Linearizability MonitoringParosh Aziz Abdulla, Samuel Grahn, Bengt Jonsson, Shankaranarayanan Krishna 等PLDI 2025 · 3 次引用
  2. Root Causing Linearizability ViolationsBerk Çirisci, Constantin Enea, Azadeh Farzan, Suha Orhun MutluergilCAV 2020 · 4 次引用
  3. A Universal, Sound, and Complete Forward Reasoning Technique for Machine-Verified Proofs of LinearizabilityPrasad Jayanti, Siddhartha Jayanti, Ugur Y. Yavuz, Lizzie HernandezPOPL 2024 · 9 次引用
  4. Verifying concurrent multicopy search structuresNisarg Patel, Siddharth Krishna, Dennis E. Shasha, Thomas WiesOOPSLA 2021 · 8 次引用
  5. Scenario-Based Proofs for Concurrent ObjectsConstantin Enea, Eric KoskinenOOPSLA 2024 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖