Sequential consistency versus linearizability 论文

1994ACM Transactions on Computer Systems引用 269
Distributed systems and fault toleranceParallel Computing and Optimization TechniquesAdvanced Data Storage Technologies

详细信息

发表期刊/会议
ACM Transactions on Computer Systems
发表日期
1994-05-01
发表年份
1994

关键词

Distributed systems and fault toleranceParallel Computing and Optimization TechniquesAdvanced Data Storage Technologies

摘要

The power of two well-known consistency conditions for shared-memory multiprocessors, sequential consistency and linearizability , is compared. The cost measure studied is the worst-case response time in distributed implementations of virtual shared memory supporting one of the two conditions. Three types of shared-memory objects are considered: read/write objects, FIFO queues, and stacks. If clocks are only approximately synchronized (or do not exist), then for all three object types it is shown that linearizability is more expensive than sequential consistency. We show that, for all three data types, the worst-case response time is very sensitive to the assumptions that are made about the timing information available to the system. Under the strong assumption that processes have perfectly synchronized clocks, it is shown that sequential consistency and linearizability are equally costly. We present upper bounds for linearizability and matching lower bounds for sequential consistency. The upper bounds are shown by presenting algorithms that use atomic broadcast in a modular fashion. The lower-bound proofs for the approximate case use the technique of “shifting,” first introduced for studying the clock synchronization problem.