arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1407.4167cs.DCcs.ITmath.IT
收藏

一种适用于消息传递结构的编码共享原子存储算法

A Coded Shared Atomic Memory Algorithm for Message Passing Architectures

Viveck R. Cadambe, Nancy Lynch, Muriel Médard, Peter Musial

摘要:

本文考虑了分布式消息传递系统中模拟原子(可线性化)多写多读共享内存的通信和存储开销。本文的主要贡献有三个:(1)提出了一种原子共享存储仿真算法,我们称之为编码原子存储(CAS)。该算法使用纠删编码方法。在存储系统中的$N$服务器是弹性的$f$服务器故障,我们表明,CAS的通信成本是$\frac{N}{N-2f}$。CAS的存储成本是无限的。(2)我们提出了一个修改的CAS算法称为CAS与垃圾回收(CASGC)。CASGC算法由整数$δ$参数化,并且具有有限的存储成本。我们表明,在每一个执行的写操作是并发的读操作的数量不大于$δ$,参数$δ$的CASGC算法满足原子性和活性。我们明确地描述了CASGC的存储成本,并表明它具有相同的通信成本CAS。(3)我们描述了一种算法称为通信成本最优原子存储(CCOAS)算法,实现了比CAS和CASGC更小的通信成本。具体地,CCOAS引起$\frac{N}{N-f}$的读写通信成本,该成本是根据对象值的数量来测量的。并讨论了CCOAS与CAS和CASGC相比的不足之处。

英文摘要:

This paper considers the communication and storage costs of emulating atomic (linearizable) multi-writer multi-reader shared memory in distributed message-passing systems. The paper contains three main contributions: (1) We present a atomic shared-memory emulation algorithm that we call Coded Atomic Storage (CAS). This algorithm uses erasure coding methods. In a storage system with $N$ servers that is resilient to $f$ server failures, we show that the communication cost of CAS is $\frac{N}{N-2f}$. The storage cost of CAS is unbounded. (2) We present a modification of the CAS algorithm known as CAS with Garbage Collection (CASGC). The CASGC algorithm is parametrized by an integer $δ$ and has a bounded storage cost. We show that in every execution where the number of write operations that are concurrent with a read operation is no bigger than $δ$, the CASGC algorithm with parameter $δ$ satisfies atomicity and liveness. We explicitly characterize the storage cost of CASGC, and show that it has the same communication cost as CAS. (3) We describe an algorithm known as the Communication Cost Optimal Atomic Storage (CCOAS) algorithm that achieves a smaller communication cost than CAS and CASGC. In particular, CCOAS incurs read and write communication costs of $\frac{N}{N-f}$ measured in terms of number of object values. We also discuss drawbacks of CCOAS as compared with CAS and CASGC.

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

↑