首页> 外文期刊>Algorithmica >A Timing Assumption and Two t-Resilient Protocols for Implementing an Eventual Leader Service in Asynchronous Shared Memory Systems
【24h】

A Timing Assumption and Two t-Resilient Protocols for Implementing an Eventual Leader Service in Asynchronous Shared Memory Systems

机译:在异步共享内存系统中实现最终领导者服务的时序假设和两个t弹性协议

获取原文
获取原文并翻译 | 示例

摘要

This paper considers the problem of electing an eventual leader in an asynchronous shared memory system. While this problem has received a lot of attention in message-passing systems, very few solutions have been proposed for shared memory systems. As an eventual leader cannot be elected in a pure asynchronous system prone to process crashes, the paper first proposes to enrich the asynchronous system model with an additional assumption. That assumption (denoted AWB) is particularly weak. It is made up of two complementary parts. More precisely, it requires that, after some time, (1) there is a process whose write accesses to some shared variables be timely, and (2) the timers of (t - f) other processes be asymptotically well-behaved (t denotes the maximal number of processes that may crash, and f the actual number of process crashes in a run). The asymptotically well-behaved timer notion is a new notion that generalizes and weakens the traditional notion of timers whose durations are required to monotonically increase when the values they are set to increase (a timer works incorrectly when it expires at arbitrary times, i.e., independently of the value it has been set to).rnThe paper then focuses on the design of t-resilient AWB-based eventual leader protocols, "t-resilient" means that each protocol can cope with up to f process crashes (taking t = n - 1 provides wait-free protocols, i.e., protocols that can cope with any number of process failures). Two protocols are presented. The first enjoys the following noteworthy properties: after some time only the elected leader has to write the shared memory, and all but one shared variables have a bounded domain, be the execution finite or infinite. This protocol is consequently optimal with respect to the number of processes that have to write the shared memory. The second protocol guarantees that all the shared variables have a bounded domain. This is obtained at the following additional price: t + 1 processes are required to forever write the shared memory. A theorem is proved which states that this price has to be paid by any protocol that elects an eventual leader in a bounded shared memory model. This second protocol is consequently optimal with respect to the number of processes that have to write in such a constrained memory model. In a very interesting way, these protocols show an inherent tradeoff relating the number of processes that have to write the shared memory and the bounded/unbounded attribute of that memory.
机译:本文考虑了在异步共享存储系统中最终选择领导者的问题。尽管此问题在消息传递系统中引起了很多关注,但对于共享内存系统却很少提出解决方案。由于最终的领导者无法在容易导致进程崩溃的纯异步系统中被选举出来,因此本文首先提出以一个额外的假设来丰富异步系统模型。该假设(表示为AWB)特别弱。它由两个互补部分组成。更确切地说,它要求一段时间后,(1)有一个进程,其对某些共享变量的写访问是及时的,并且(2)(t-f)个其他进程的计时器渐近地表现良好(t表示可能会崩溃的最大进程数,以及运行中实际崩溃的进程数)。渐近行为良好的计时器概念是一种新概念,它可以泛化和削弱传统的计时器概念,这些计时器的持续时间在其值设置为增加时要求单调增加(计时器在任意时间到期(即,独立地计时)是不正确的然后,本文重点讨论基于t弹性基于AWB的最终领导者协议的设计,“ t弹性”意味着每种协议最多可以应对f个过程崩溃(t = n -1提供免等待协议,即可以处理任何数量的过程故障的协议。提出了两种协议。第一个具有以下值得注意的属性:一段时间后,只有当选的领导者才必须写入共享内存,并且除一个共享变量外,所有共享变量都有一个有界域,即执行有限或无限执行。因此,相对于必须写入共享内存的进程数,此协议是最佳的。第二种协议保证所有共享变量都有一个有界域。这是通过以下额外价格获得的:要永久写入共享内存,需要t + 1个进程。证明了一个定理,该定理指出,必须通过选择有界共享内存模型中的最终领导者的任何协议来支付此价格。因此,第二协议相对于必须在这种受限存储器模型中写入的进程数量而言是最佳的。这些协议以一种非常有趣的方式显示出一种固有的折衷,它涉及必须写入共享内存的进程数以及该内存的有界/无界属性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号