部分复制因果一致共享内存的下界及其算法
Partially Replicated Causally Consistent Shared Memory: Lower Bounds and An Algorithm
摘要:
本文的重点是在{ \em部分复制}分布式共享存储器(DSM)系统,提供了共享读/写寄存器的抽象的因果一致性。在分布式共享存储器系统中保持因果一致性在过去已经受到了极大的关注,主要是在{ \em完全复制}上,其中每个副本存储共享存储器中所有寄存器的副本。为了确保因果一致性,必须在任何给定副本执行更新之前执行所有因果在先更新。因此,需要一些用于跟踪因果依赖关系的机制,例如在完全复制的上下文中,向量元素的数量等于副本的数量的向量时间戳。在本文中,我们研究因果一致性{ \em部分复制系统},其中每个副本可以存储只有一个子集的共享寄存器。在前人工作的基础上,本文主要做了三个方面的工作:1.我们对元数据(我们称之为{ \em时间戳})提出了一个必要条件,每个副本必须维护该元数据才能准确地跟踪因果关系。必要条件标识副本的时间戳必须跟踪的{ \em共享图}中的一组有向边。2.我们提出了一个算法,用于实现因果一致性使用的时间戳,匹配上述必要条件,从而表明该条件是必要的和充分的。3.我们定义了时间戳空间大小的度量,并给出了时间戳大小的下限(以位为单位)。在几种特殊情况下,我们的算法的下限匹配。
英文摘要:
The focus of this paper is on causal consistency in a {\em partially replicated} distributed shared memory (DSM) system that provides the abstraction of shared read/write registers. Maintaining causal consistency in distributed shared memory systems has received significant attention in the past, mostly on {\em full replication} wherein each replica stores a copy of all the registers in the shared memory. To ensure causal consistency, all causally preceding updates must be performed before an update is performed at any given replica. Therefore, some mechanism for tracking causal dependencies is required, such as vector timestamps with the number of vector elements being equal to the number of replicas in the context of full replication. In this paper, we investigate causal consistency in {\em partially replicated systems}, wherein each replica may store only a subset of the shared registers. Building on the past work, this paper makes three key contributions: 1. We present a necessary condition on the metadata (which we refer as a {\em timestamp}) that must be maintained by each replica to be able to track causality accurately. The necessary condition identifies a set of directed edges in a {\em share graph} that a replica's timestamp must keep track of. 2. We present an algorithm for achieving causal consistency using a timestamp that matches the above necessary condition, thus showing that the condition is necessary and sufficient. 3. We define a measurement of timestamp space size and present a lower bound (in bits) on the size of the timestamps. The lower bound matches our algorithm in several special cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。