SEQUENTIAL CONSISTENCY VERSUS LINEARIZABILITY

被引:116
作者
ATTIYA, H [1 ]
WELCH, JL [1 ]
机构
[1] UNIV N CAROLINA, CHAPEL HILL, NC 27514 USA
来源
ACM TRANSACTIONS ON COMPUTER SYSTEMS | 1994年 / 12卷 / 02期
关键词
D O I
10.1145/176575.176576
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 present upper bounds for sequential consistency and larger lower bounds for linearizability. 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.
引用
收藏
页码:91 / 122
页数:32
相关论文
共 40 条
[1]  
Adve Sarita V., 1990, P INT C PARALLEL PRO, P47
[2]  
ADVE SV, 1990, 17TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, P2, DOI 10.1109/ISCA.1990.134502
[3]   LAZY CACHING [J].
AFEK, Y ;
BROWN, G ;
MERRITT, M .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1993, 15 (01) :182-205
[4]  
AHAMAD M, 1990, GITCC9049 GEORG I TE
[5]   CACHE COHERENCE PROTOCOLS - EVALUATION USING A MULTIPROCESSOR SIMULATION-MODEL [J].
ARCHIBALD, J ;
BAER, JL .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1986, 4 (04) :273-298
[6]  
Attiya H., 1992, Proceedings of the Twenty-Fourth Annual ACM Symposium on the Theory of Computing, P679, DOI 10.1145/129712.129778
[7]  
ATTIYA H, 1992, LECT NOTES COMPUT SC, V579, P80, DOI 10.1007/BFb0022439
[8]  
ATTIYA H, 1993, 5TH P ACM S PAR ALG, P241
[9]  
ATTIYA H, 1991, 3RD P ACM S PAR ALG, P304
[10]  
BENNETT JK, 1990, 2ND P ACM SIGPLAN S, P168