Randomized consensus in expected O(Nlog(2)N) operations per processor

被引:37
作者
Aspnes, J [1 ]
Waarts, O [1 ]
机构
[1] UNIV CALIF BERKELEY,DIV COMP SCI,BERKELEY,CA 94720
关键词
consensus; distributed algorithms; shared memory; randomized algorithms; asynchronous computation; martingales;
D O I
10.1137/S0097539792240881
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a new randomized algorithm for achieving consensus among asynchronous processors that communicate by reading and writing shared registers. The fastest previously known algorithm requires a processor to perform an expected O(n(2) log n) read and write operations in the worst case. In our algorithm, each processor executes at, most an expected O(n log(2) n) read and write operations, which is close to the trivial lower bound of Omega(n). All previously known polynomial-time consensus algorithms were structured around a shared-coin protocol [J. Algorithms, 11 (1990), pp. 441-446] in which each processor repeatedly adds random fl votes to a common pool. Consequently, in all of these protocols, the worst-case expected bound on the number of read and write operations done by a single processor is asymptotically no better than the bound on the total number of read and write operations done by all of the processors together, We succeed in breaking this tradition by allowing the processors to cast votes of increasing weights. This grants the adversary greater control since he can cheese from up to n different weights (one for each processor) when determining the weight of the next vote to be cast. We prove that our shared-coin protocol is nevertheless correct using martingale arguments.
引用
收藏
页码:1024 / 1044
页数:21
相关论文
共 26 条
[1]  
ABRAHAMSON K, 1988, ACM PODC, P291
[2]  
Alon N., 1992, PROBABILISTIC METHOD
[3]   TIME-EFFICIENT AND SPACE-EFFICIENT RANDOMIZED CONSENSUS [J].
ASPNES, J .
JOURNAL OF ALGORITHMS, 1993, 14 (03) :414-431
[4]   FAST RANDOMIZED CONSENSUS USING SHARED MEMORY [J].
ASPNES, J ;
HERLIHY, M .
JOURNAL OF ALGORITHMS, 1990, 11 (03) :441-461
[5]  
ATTIYA H, 1989, 8TH P ACM S PRINC DI, P281
[6]  
Billingsley P., 1986, PROBABILITY MEASURE
[7]  
BRACHA G, 1990, 662 TECHN HAIF
[8]  
BRACHA G, 1991, P 5 INT WORKSH DISTR
[9]   A MEASURE OF ASYMPTOTIC EFFICIENCY FOR TESTS OF A HYPOTHESIS BASED ON THE SUM OF OBSERVATIONS [J].
CHERNOFF, H .
ANNALS OF MATHEMATICAL STATISTICS, 1952, 23 (04) :493-507
[10]   WAIT-FREE CONSENSUS USING ASYNCHRONOUS HARDWARE [J].
CHOR, B ;
ISRAELI, A ;
LI, M .
SIAM JOURNAL ON COMPUTING, 1994, 23 (04) :701-712