首页> 外文会议>ACM symposium on principles of distributed computing >The k-Bakery: Local-spin k-Exclusion Using Non-atomic Reads and Writes
【24h】

The k-Bakery: Local-spin k-Exclusion Using Non-atomic Reads and Writes

机译:K-Bakery:使用非原子读取和写入的本地自旋K-排除

获取原文

摘要

Mutual exclusion is used to coordinate access to shared resources by concurrent processes. k-Exclusion is a variant of mutual exclusion in which up to k processes can simultaneously access the shared resource. We present the first known shared-memory k-exclusion algorithms that use only atomic reads and writes, have bounded remote memory reference (RMR) complexity, and tolerate crash failures. Our algorithms have RMR complexity O(N) in both the cache-coherent and distributed shared-memory models, where N is the number of processes in the system. Additionally, we present a fc-exclusion algorithm that satisfies the First-In-First-Enabled (FIFE) fairness property. FIFE requires that processes become "enabled" to enter the CS roughly in the order that they request access to the shared resource. Finally, we present a modification to the FIFE fc-exclusion algorithm that works with non-atomic reads and writes. The high-level structure of all our algorithms is inspired by Lamport's famous Bakery algorithm.
机译:相互排除用于通过并发进程协调对共享资源的访问。 k排除是相互排除的变体,最多可以同时访问共享资源。我们介绍了仅使用原子读取和写入的第一个已知的共享内存k排除算法,具有界限的远程内存参考(RMR)复杂度,并容忍崩溃故障。我们的算法在缓存相干和分布式共享内存模型中具有RMR复杂度O(n),其中n是系统中的进程数。此外,我们介绍了一种FC-禁用算法,满足了一首首先启用(FIFE)的公平性财产。 Fife要求进程成为“已启用”以大致按照他们请求访问共享资源的顺序输入CS。最后,我们向FIFE FC排除算法提出了一种与非原子读取和写入的FIFE FC排除算法。我们所有算法的高级结构都是由Lamport着名的面包店算法的启发。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号