arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1502.02991cs.DC
收藏

快照实现的简单执行

Simple Executions of Snapshot Implementations

Gal Amram, Lior Mizrahi, Gera Weiss

摘要:

在并发编程中,众所周知的快照原语允许n个异步进程将值写入单写入寄存器阵列,并为每个进程获取这些寄存器的快照。在本文中,我们提供了一个制定的快照算法的线性化条件,在某些数学函数的存在。此外,我们确定了一个简化的快照实现的属性,我们称之为“基于时间表的算法”。就我们所知,每个已发布的快照算法都是基于时间表的,在这个意义上,这个属性是很自然的假设。在此基础上,我们证明,当处理基于调度的算法,它足以考虑只有一小类非常简单的执行证明或证伪的线性化方面的正确性。我们相信,本文提出的思想可能有助于设计自动验证的快照算法。由于验证线性化最近被证明是EXPSPACE完全的,专注于独特的对象(在我们的情况下快照)可能会导致设计限制,但可行的验证方法。

英文摘要:

The well known snapshot primitive in concurrent programming allows for n-asynchronous processes to write values to an array of single-writer registers and, for each process, to take a snapshot of these registers. In this paper we provide a formulation of the well known linearizability condition for snapshot algorithms in terms of the existence of certain mathematical functions. In addition, we identify a simplifying property of snapshot implementations we call "schedule-based algorithms". This property is natural to assume in the sense that as far as we know, every published snapshot algorithm is schedule-based. Based on this, we prove that when dealing with schedule-based algorithms, it suffices to consider only a small class of very simple executions to prove or disprove correctness in terms of linearizability. We believe that the ideas developed in this paper may help to design automatic verification of snapshot algorithms. Since verifying linearizability was recently proved to be EXPSPACE-complete, focusing on unique objects (snapshot in our case) can potentially lead to designing restricted, but feasible verification methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑