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

关于有界旁路的概念,以及如何使任何无死锁的MUTEX协议满足其中之一

On the Notions of Bounded Bypass, and How to Make any Deadlock-Free MUTEX Protocol Satisfy One of Them

School of Informatics, University of Edinburgh(爱丁堡大学信息学院);University of New South Wales(新南威尔士大学);Sapienza University of Rome(罗马智慧大学);Eindhoven University of Technology(埃因霍温理工大学)

Rob van Glabbeek, Daniele Gorla, Myrthe Spronck

AI总结:

本文形式化定义了有界旁路及其弱化版本(间歇有界旁路和门后有界旁路),并证明Bar-David算法可将任何无死锁互斥协议升级为满足有界旁路(或间歇有界旁路),界限为进程数的二次函数。

摘要:

在互斥文献中,有界旁路长期以来被用作饥饿自由性的强化,但据我们所知,它仍然缺乏作为独立活性属性的令人满意的定义。此外,我们遇到了一些MUTEX协议,这些协议需要稍微弱化该概念才能满足。为了解决这些问题,我们首先提供了有界旁路的形式化定义(同时也修正了Raynal之前的定义),然后引入了门后和间歇有界旁路的概念,这是两种介于饥饿自由和有界旁路之间的活性属性。本质上,间歇有界旁路通过忽略在共享寄存器的一组有限写操作执行期间可能发生的旁路来弱化有界旁路。正交地,门后有界旁路忽略了在锁协议的有限初始阶段可能发生的旁路。此外,我们研究了Yoah Bar-David在1998年提出的一种算法,该算法用于增强任何无死锁MUTEX协议的活性属性,并证明:(1) 在原子寄存器设置中,该算法将任何无死锁互斥协议升级为有界旁路协议,其界限与进程数的二次方成正比;(2) 在安全寄存器和规则寄存器设置中,同一算法确保了有界旁路的间歇版本,仍然具有二次(但略有不同)的界限。最后,我们为本文定义的不同有界旁路概念提供了逻辑公式,并通过模型检查确认了本文的所有主张。这对工作的理论发展产生了积极影响,因为它使我们能够识别并纠正定义和证明中的小错误/歧义。

英文摘要:

In the literature on mutual exclusion, bounded bypass has been used for a long time as a strengthening of starvation-freedom, but, to the best of our knowledge, it still lacks a satisfying definition as a liveness property on its own. Moreover, we have encountered MUTEX protocols for which this notion needs to be slightly weakened in order to be met. To solve these issues, we first provide a formal definition of bounded bypass (that also corrects a previous definition from Raynal) and then introduce the notions of post-doorway and intermittent bounded bypass, two liveness properties that lie between starvation-freedom and bounded bypass. Essentially, intermittent bounded bypass weakens bounded bypass by ignoring the possible bypasses that may happen during the execution of a certain finite set of write operations to shared registers. Orthogonally, post-doorway bounded bypass ignores the bypasses that may happen during a finite initial phase of the lock protocol. Furthermore, we study an algorithm proposed by Yoah Bar-David in 1998 to enhance the liveness properties of any deadlock-free MUTEX protocol and prove that: (1) in the setting of atomic registers, this algorithm upgrades any deadlock-free mutual exclusion protocol to a bounded bypass one, with a bound that is quadratic in the number of processes; and (2) in the setting of safe and regular registers, the very same algorithm ensures the intermittent version of bounded bypass, still with a quadratic (but slightly different) bound. Finally, we provide logical formulae for the different notions of bounded bypass defined in this paper and use them to confirm all claims made here, by using model checking. This had a positive impact on the theoretical development of the work, since it allowed us to identify and correct small mistakes/ambiguities in definitions and proofs.

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

↑