Substep Linearizability: Relaxing Atomicity While Preserving Sequential Specification
Abstract
Linearizability is a standard correctness condition for concurrent objects. It takes a correct by construction sequential specification of a concurrent data structure, and produces a composable specification under atomic interleavings of operations. However, some operations like atomic exchangers are not specifiable atomically, making it difficult to reason compositionally about their specifications. Interval linearizability is the state of the art in relaxing linearizability's constraints. Formally it is a powerful framework, but it requires an interval-sequential specification of the target data structure, which we show is challenging to correctly generate or understand, even for simple operations on a single concurrent register. We propose substep linearizability, which we show is equivalent to interval linearizability using X-CCorrectness, a relaxed concurrency framework we created to compare existing linearizability semantics. We show that substep linearizability's sequential specifications are suitable for previously infeasible specification tasks, while being comparable in complexity to linearizability's sequential specifications. For evaluation, we model an atomic exchanger, a popular non-linearizable queue structure, and snapshot isolation between database transactions.
Create a lesson
Related papers
Preserving Optimizer Updates When Experts Move in MoE Training
Shared title terminologycs.DCYanming Lai, Yi Qin, Yongxin Hu et al.
Byzantine-linearizable Single-Writer Multi-Reader Register in the GPU-Inspired Shared Memory Model
Shared title terminologycs.DCChryssis Georgiou, Sathya Peri, Manaswani Piduguralla et al.
SnapShare: Isolation-Preserving Deduplication for Serverless Snapshots
Shared title terminologycs.DCLeonid Kondrashov, Likun Zhang, André Filipe do Pilar de Jesus et al.
Zepp: Accelerating Distributed MoE Serving under Relaxed Balance Constraints
Shared title terminologycs.DCChang Chen, Andrew Yang, Tiancheng Chen et al.
vTen: Tensor-Centric Verification Framework for Domain-Specific Accelerators
Shared title terminologycs.DCChanmin Baek, Keehyuk Lee, Mincheol Cha et al.