Lune

POPL2022Top-tier venue

Truly stateless, optimal dynamic partial order reduction

Michalis Kokologiannakis, Iason Marmanis, Vladimir Gladstein, Viktor Vafeiadis

Abstract

Dynamic partial order reduction (DPOR) verifies concurrent programs by exploring all their interleavings up to some equivalence relation, such as the Mazurkiewicz trace equivalence. Doing so involves a complex trade-off between space and time. Existing DPOR algorithms are either exploration-optimal (i.e., explore exactly only interleaving per equivalence class) but may use exponential memory in the size of the program, or maintain polynomial memory consumption but potentially explore exponentially many redundant interleavings.

In this paper, we show that it is possible to have the best of both worlds: exploring exactly one interleaving per equivalence class with linear memory consumption. Our algorithm, TruSt, formalized in Coq, is applicable not only to sequential consistency, but also to any weak memory model that satisfies a few basic assumptions, including TSO, PSO, and RC11. In addition, TruSt is embarrassingly parallelizable: its different exploration options have no shared state, and can therefore be explored completely in parallel. Consequently, TruSt outperforms the state-of-the-art in terms of memory and/or time.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Greybox Fuzzing for Concurrency Testing cites Stateless Model Checking Under a Reads-Value-From Equivalence
  • Greybox Fuzzing for Concurrency Testing cites Predictive Monitoring against Pattern Regular Languages
  • The reads-from equivalence for the TSO and PSO memory models cites HMC: Model Checking for Hardware Memory Models
  • Optimal Reads-From Consistency Checking for C11-Style Memory Models cites The reads-from equivalence for the TSO and PSO memory models
  • Optimal Reads-From Consistency Checking for C11-Style Memory Models cites Stateless Model Checking Under a Reads-Value-From Equivalence
  • Optimal Reads-From Consistency Checking for C11-Style Memory Models cites Kater: Automating Weak Memory Model Metatheory and Consistency Checking
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur et al.ASPLOS 2024 · 19 citations
  2. Abstractions for the local-time semantics of timed automata: a foundation for partial-order methodsR. Govind, Frédéric Herbreteau, B. Srivathsan, Igor WalukiewiczLICS 2022 · 16 citations
  3. Kater: Automating Weak Memory Model Metatheory and Consistency CheckingMichalis Kokologiannakis, Ori Lahav, Viktor VafeiadisPOPL 2023 · 15 citations
  4. Predictive Monitoring against Pattern Regular LanguagesZhendong Ang, Umang MathurPOPL 2024 · 12 citations
  5. Optimal Reads-From Consistency Checking for C11-Style Memory ModelsHünkar Can Tunç, Parosh Aziz Abdulla, Soham Chakraborty, Shankaranarayanan Krishna et al.PLDI 2023 · 12 citations

Builds on3

  1. HMC: Model Checking for Hardware Memory ModelsMichalis Kokologiannakis, Viktor VafeiadisASPLOS 2020 · 29 citations
  2. Stateless Model Checking Under a Reads-Value-From EquivalencePratyush Agarwal, Krishnendu Chatterjee, Shreya Pathak, Andreas Pavlogiannis et al.CAV 2021 · 25 citations
  3. The reads-from equivalence for the TSO and PSO memory modelsTruc Lam Bui, Krishnendu Chatterjee, Tushar Gautam, Andreas Pavlogiannis et al.OOPSLA 2021 · 13 citations

Related papers

  1. Parsimonious Optimal Dynamic Partial Order ReductionParosh Aziz Abdulla, Mohamed Faouzi Atig, Sarbojit Das, Bengt Jonsson et al.CAV 2024 · 4 citations
  2. Prioritized Constraint-Aided Dynamic Partial-Order ReductionJie Su, Cong Tian, Zuchao Yang, Jiyu Yang et al.ASE 2022 · 3 citations
  3. Coarser Equivalences for Causal ConcurrencyAzadeh Farzan, Umang MathurPOPL 2024 · 8 citations
  4. Model Checking C/C++ with Mixed-Size AccessesIason Marmanis, Michalis Kokologiannakis, Viktor VafeiadisPOPL 2025 · 2 citations
  5. Unblocking Dynamic Partial Order ReductionMichalis Kokologiannakis, Iason Marmanis, Viktor VafeiadisCAV 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines