A Practical Concurrent Binary Search Tree

被引:78
作者
Bronson, Nathan G. [1 ]
Casper, Jared [1 ]
Chafi, Hassan [1 ]
Olukotun, Kunle [1 ]
机构
[1] Stanford Univ, Comp Syst Lab, Stanford, CA 94305 USA
来源
PPOPP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING | 2010年
关键词
Optimistic Concurrency; Snapshot Isolation;
D O I
10.1145/1693453.1693488
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a concurrent relaxed balance AVL tree algorithm that is fast, scales well, and tolerates contention. It is based on optimistic techniques adapted from software transactional memory, but takes advantage of specific knowledge of the the algorithm to reduce overheads and avoid unnecessary retries. We extend our algorithm with a fast linearizable clone operation, which can be used for consistent iteration of the tree. Experimental evidence shows that our algorithm outperforms a highly tuned concurrent skip list for many access patterns, with an average of 39% higher single-threaded throughput and 32% higher multi-threaded throughput over a range of contention levels and operation mixes.
引用
收藏
页码:257 / 268
页数:12
相关论文
共 21 条
[1]  
[Anonymous], 1962, SOV MATH DOKL
[2]   On the Performance of Contention Managers for Complex Transactional Memory Benchmarks [J].
Ansari, Mohammad ;
Kotselidis, Christos ;
Lujan, Mikel ;
Kirkham, Chris ;
Watson, Ian .
EIGHTH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, PROCEEDINGS, 2009, :83-90
[3]  
Ballard L., 2006, THESIS BROWN U
[4]  
Bayer R., 1972, Acta Informatica, V1, P290, DOI 10.1007/BF00289509
[5]  
Bayer R., 1994, Readings in Database Systems, V2nd, P216
[6]  
Bouge L, 1998, RR199818 LIP ENS
[7]  
Bronson N.G., CCSTM
[8]  
Felber P, 2009, LECT NOTES COMPUT SC, V5805, P93, DOI 10.1007/978-3-642-04355-0_12
[9]  
Fraser K, 2003, THESIS U CAMBRIDGE
[10]  
Guibas Leo J., 1978, P 19 ANN S FDN COMP, P8, DOI DOI 10.1109/SFCS.1978.3