Affiliation:
1. IRISA, Rennes, France
2. EPFL, Lausanne, Switzerland
Abstract
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: they are 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 speeds up a transaction-based travel reservation application by up to 3.5x.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
34 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. RCU‐HTM: A generic synchronization technique for highly efficient concurrent search trees;Concurrency and Computation: Practice and Experience;2021-01-12
2. Research on hybrid of ALOHA and multi-fork tree Anti-collision algorithm for RFID;Procedia Computer Science;2021
3. Efficient Concurrent Search Trees Using Portable Fine-Grained Locality;IEEE Transactions on Parallel and Distributed Systems;2019-07-01
4. A specialized B-tree for concurrent datalog evaluation;Proceedings of the 24th Symposium on Principles and Practice of Parallel Programming;2019-02-16
5. Brie;Proceedings of the 10th International Workshop on Programming Models and Applications for Multicores and Manycores - PMAM'19;2019