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

超属性保持的寄存器规范(扩展版)

Hyperproperty-Preserving Register Specifications (Extended Version)

Yoav Ben Shimon, Ori Lahav, Sharon Shoham

AI总结:

本文针对并发寄存器实现的超属性推理难题,提出写强线性化与决定性线性化两类非原子规范,覆盖单写者ABD与多写者ABD实现,支持超属性推理,并揭示崩溃容错消息传递系统中模拟共享内存的保证。

摘要:

推理并发实现(如这些实现为随机客户端程序提供的保证)的超属性一直是一个长期存在的挑战。标准线性化允许使用原子规范来推理标准属性,但不能推理超属性。一个更强的正确性准则,称为强线性化,能够进行此类推理,但很少可实现,使得各种有用的实现无法推理其超属性。在本文中,我们专注于寄存器,并设计了非原子规范,这些规范涵盖了一系列经过充分研究的寄存器实现,并能够推理其超属性。首先,我们考虑写强线性化实现这一类别,这是最近提出的强线性化的一个有用弱化,允许更复杂的实现,如经过充分研究的单写者ABD分布式实现。我们引入了一个简单的共享内存寄存器规范,可用于推理使用写强线性化实现的程序的超属性。其次,我们引入了一个新的线性化类别,称为决定性线性化,它比写强线性化更弱,并包含多写者ABD,我们开发了第二个共享内存寄存器规范,用于推理使用此类寄存器实现的程序的超属性。这些结果揭示了在崩溃容错的消息传递系统中模拟共享内存时所保证的超属性。

英文摘要:

Reasoning about hyperproperties of concurrent implementations, such as the guarantees these implementations provide to randomized client programs, has been a long-standing challenge. Standard linearizability enables the use of atomic specifications for reasoning about standard properties, but not about hyperproperties. A stronger correctness criterion, called strong linearizability, enables such reasoning, but is rarely achievable, leaving various useful implementations with no means for reasoning about their hyperproperties. In this paper, we focus on registers and devise non-atomic specifications that capture a wide-range of well-studied register implementations and enable reasoning about their hyperproperties. First, we consider the class of write strong-linearizable implementations, a recently proposed useful weakening of strong linearizability, which allows more intricate implementations, such as the well-studied single-writer ABD distributed implementation. We introduce a simple shared-memory register specification that can be used for reasoning about hyperproperties of programs that use write strongly-linearizable implementations. Second, we introduce a new linearizability class, which we call decisive linearizability, that is weaker than write strong-linearizability and includes multi-writer ABD, and develop a second shared-memory register specification for reasoning about hyperproperties of programs that use register implementations of this class. These results shed light on the hyperproperties guaranteed when simulating shared memory in a crash-resilient message-passing system.

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

↑