子步线性izability:在保持顺序规范的同时放宽原子性
Substep Linearizability: Relaxing Atomicity While Preserving Sequential Specification
AI总结:
该研究提出子步线性izability,证明其与区间线性izability等价,可用于对原子交换器等难用原子方式规范的并发结构建模,且规范复杂性与线性izability相当。
摘要:
线性izability是并发对象的标准正确性条件,它以并发数据结构的构造正确的顺序规范为基础,在操作的原子交错下生成可组合的规范。然而,原子交换器等一些操作无法用原子方式规范,这使得对其规范进行组合推理变得困难。区间线性izability是放宽线性izability约束的最新技术,形式上是强大的框架,但它需要目标数据结构的区间顺序规范,我们表明即使对于单个并发寄存器上的简单操作,也难以正确生成或理解该规范。我们提出子步线性izability,我们证明其与区间线性izability等价,使用的是我们创建的用于比较现有线性izability语义的放宽并发框架X-CCorrectness。我们表明子步线性izability的顺序规范适用于以前不可行的规范任务,同时其复杂性与线性izability的顺序规范相当。为了评估,我们对原子交换器、流行的非线性izable队列结构以及数据库事务间的快照隔离进行了建模。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。