Limited-Use Atomic Snapshots with Polylogarithmic Step Complexity

被引:7
作者
Aspnes, James [1 ]
Attiya, Hagit [2 ]
Censor-Hillel, Keren [2 ]
Ellen, Faith [3 ]
机构
[1] Yale Univ, Dept Comp Sci, New Haven, CT 06520 USA
[2] Technion Israel Inst Technol, Dept Comp Sci, IL-32000 Haifa, Israel
[3] Univ Toronto, Dept Comp Sci, Toronto, ON M5S 3G4, Canada
基金
以色列科学基金会;
关键词
Theory; Algorithms; Concurrent objects; restricted-use objects; atomic snapshot; generalized counters; ALGORITHMS;
D O I
10.1145/2732263
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This article presents a novel implementation of a snapshot object for n processes, with O(log(2) blog n) step complexity for update operations and O(log b) step complexity for scan operations, where b is the number of updates. The algorithm uses only reads and writes. For polynomially many updates, this is an exponential improvement on previous snapshot algorithms, which have linear step complexity. It overcomes the existing Omega (n) lower bound on step complexity by having the step complexity depend on the number of updates. The key to this implementation is the construction of a new object consisting of a pair of max registers that supports a scan operation.
引用
收藏
页数:22
相关论文
共 21 条
[1]   ATOMIC SNAPSHOTS OF SHARED-MEMORY [J].
AFEK, Y ;
ATTIYA, H ;
DOLEV, D ;
GAFNI, E ;
MERRITT, M ;
SHAVIT, N .
JOURNAL OF THE ACM, 1993, 40 (04) :873-890
[2]  
Anderson J. H., 1995, Distributed Algorithms. 9th International Workshop, WDAG '95. Proceedings, P168, DOI 10.1007/BFb0022146
[3]   COMPOSITE REGISTERS [J].
ANDERSON, JH .
DISTRIBUTED COMPUTING, 1993, 6 (03) :141-154
[4]  
ANDERSON JH, 1993, LECT NOTES COMPUT SC, V725, P39
[5]  
ASPNES J, 1990, SPAA 90 : 2ND ANNUAL ACM SYMPOSIUM ON PARALLEL ALGORITHMS AND ARCHITECTURES, P340, DOI 10.1145/97444.97701
[6]  
Aspnes J., 2012, P 24 ACM S PAR ALG A, P172
[7]   Polylogarithmic Concurrent Data Structures from Monotone Circuits [J].
Aspnes, James ;
Attiya, Hagit ;
Censor-Hillel, Keren .
JOURNAL OF THE ACM, 2012, 59 (01)
[8]  
Aspnes J, 2009, PROCEEDINGS OF THE TWENTIETH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P441
[9]   Atomic snapshots in O(n log n) operations [J].
Attiya, H ;
Rachman, O .
SIAM JOURNAL ON COMPUTING, 1998, 27 (02) :319-340
[10]   Adaptive and efficient algorithms for lattice agreement and renaming [J].
Attiya, H ;
Fouren, A .
SIAM JOURNAL ON COMPUTING, 2001, 31 (02) :642-664