Sciweavers

PPOPP
2012
ACM

A speculation-friendly binary search tree

11 years 12 months ago
A speculation-friendly binary search tree
We introduce the first binary search tree algorithm designed for speculative executions. Prior to this work, tree structures were mainly designed for their pessimistic (non-speculative) accesses to have a bounded complexity. Researchers tried to evaluate transactional memory using such tree structures whose prominent example is the red-black tree library developed by Oracle Labs that is part of multiple benchmark distributions. Although well-engineered, such structures remain badly suited for speculative accesses, whose step complexity might raise dramatically with contention. We show that our speculation-friendly tree outperforms the existing transaction-based version of the AVL and the red-black trees. Its key novelty stems from the decoupling of update operations: split into one transaction that modifies the abstraction state and multiple ones that restructure its tree implementation in the background. In particular, the speculation-friendly tree is shown correct, reusable and it...
Tyler Crain, Vincent Gramoli, Michel Raynal
Added 25 Apr 2012
Updated 25 Apr 2012
Type Journal
Year 2012
Where PPOPP
Authors Tyler Crain, Vincent Gramoli, Michel Raynal
Comments (0)