Efficient lock-free binary search trees
Paper i proceeding, 2014

In this paper we present a novel algorithm for concurrent lock-free internal binary search trees (BST) and implement a Set abstract data type (ADT) based on that. We show that in the presented lock-free BST algorithm the amortized step complexity of each set operation - ADD, REMOVE and CONTAINS - is O(H(n) + c), where H(n) is the height of the BST with n number of nodes and c is the contention during the execution. Our algorithm adapts to contention measures according to read-write load. If the situation is read-heavy, the operations avoid helping the concurrent REMOVE operations during traversal, and adapt to interval contention. However, for the write-heavy situations we let an operation help a concurrent REMOVE, even though it is not obstructed. In that case, an operation adapts to point contention. It uses single-word compare-and-swap (CAS) operations. We show that our algorithm has improved disjoint-access-parallelism compared to similar existing algorithms. We prove that the presented algorithm is linearizable. To the best of our knowledge, this is the first algorithm for any concurrent tree datastructure in which the modify operations are performed with an additive term of contention measure.

CAS

Amortized analysis

Lock-free

Concurrent data-structures

Binary search tree

Shared memory

Författare

[Person 8863ead6-4147-4a13-97b9-a25c317252c5 not found]

Chalmers, Data- och informationsteknik, Nätverk och system

[Person 6330b801-4779-4890-87f4-aa6c1a7e1d8f not found]

Chalmers, Data- och informationsteknik, Nätverk och system

[Person d5465fbf-0d33-4bc7-90e1-e67730748ea9 not found]

Chalmers, Data- och informationsteknik, Nätverk och system

2014 ACM Symposium on Principles of Distributed Computing, PODC 2014; Paris; France; 15 July 2014 through 18 July 2014

322-331
978-145032944-6 (ISBN)

DOI

10.1145/2611462.2611500

ISBN

978-145032944-6

Mer information

Skapat

2017-10-06