...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Recoverable FCFS Mutual Exclusion with Wait-Free Recovery
【24h】

Recoverable FCFS Mutual Exclusion with Wait-Free Recovery

机译:具有免等待恢复的可恢复FCFS互斥

获取原文
           

摘要

Traditional mutual exclusion locks are not resilient to failures: if there is a power outage, the memory is wiped out. Thus, when the system comes back on, the lock will have to be restored to the initial state, i.e., all processes are rolled back to the Remainder section and all variables are reset to their initial values. Recently, Golab and Ramaraju showed that we can improve this state of the art by exploiting the Non-Volatile RAM (NVRAM). They designed algorithms that, by maintaining shared variables in NVRAM, allow processes to recover from crashes on their own without a need for a global reset, even though a crash can wipe out the local memory of a process. We present a Recoverable Mutual Exclusion algorithm using the commonly supported CAS primitive. The main features of our algorithm are that it satisfies FCFS, it ensures that each process recovers in a wait-free manner, and in the absence of failures, it guarantees a worst-case Remote Memory Reference (RMR) complexity of O(lg n) on both Cache Coherent (CC) and Distributed Shared Memory (DSM) machines, where n is the number of processes for which the algorithm is designed. This bound matches the Omega(lg n) RMR lower bound by Attiya, Hendler, and Woelfel for Mutual Exclusion algorithms that use comparison primitives.
机译:传统的互斥锁无法抵抗故障:如果断电,内存将被清除。因此,当系统重新启动时,锁将必须恢复到初始状态,即所有进程都回滚到Remainder部分,并且所有变量都重置为其初始值。最近,Golab和Ramaraju展示了我们可以通过利用非易失性RAM(NVRAM)来改善这种技术水平。他们设计了算法,通过在NVRAM中维护共享变量,即使崩溃可以消灭进程的本地内存,也可以使进程自行从崩溃中恢复,而无需进行全局重置。我们提出了一种使用普遍支持的CAS原语的可恢复互斥算法。我们算法的主要特征是它满足FCFS,它确保每个进程都以免等待的方式恢复,并且在没有故障的情况下,它保证了O(lg n)的最坏情况下的远程内存引用(RMR)复杂性)在Cache Coherent(CC)和分布式共享内存(DSM)机器上,其中n是为其设计算法的进程数。对于使用比较基元的互斥算法,此界限与Attiya,Hendler和Woelfel的Omega(lg n)RMR下界相匹配。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号