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

线性时空中的群互斥

Group Mutual Exclusion in Linear Time and Space

Yuan He, Krishnan Gopalakrishnan, Eli Gafni

摘要:

针对群体互斥问题,提出了两种满足互斥、饥饿自由、有界退出、并发进入和先到先服务等性质的算法。这两种算法都只使用简单的读写指令,在Cache Coherent(CC)模型下具有O(N)的共享空间复杂度和O(N)的远程内存引用(RMR)复杂度。我们的第一个算法是通过推广著名的Lamport的面包房算法的经典互斥问题,同时保持其简单性和优雅。但是,它使用无界共享寄存器。我们的第二个算法只使用有界寄存器,并通过推广Taubenfeld的黑白面包房算法来解决经典的互斥问题,只使用有界共享寄存器。我们表明,与常见的看法相反,我们的算法是第一个实现这些属性与这些组合的复杂性。

英文摘要:

We present two algorithms for the Group Mutual Exclusion (GME) Problem that satisfy the properties of Mutual Exclusion, Starvation Freedom, Bounded Exit, Concurrent Entry and First Come First Served. Both our algorithms use only simple read and write instructions, have O(N) Shared Space complexity and O(N) Remote Memory Reference (RMR) complexity in the Cache Coherency (CC) model. Our first algorithm is developed by generalizing the well-known Lamport's Bakery Algorithm for the classical mutual exclusion problem, while preserving its simplicity and elegance. However, it uses unbounded shared registers. Our second algorithm uses only bounded registers and is developed by generalizing Taubenfeld's Black and White Bakery Algorithm to solve the classical mutual exclusion problem using only bounded shared registers. We show that contrary to common perception our algorithms are the first to achieve these properties with these combination of complexities.

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

↑