Skip to main content
QUICK REVIEW

[Paper Review] DeltaTree: A Practical Locality-aware Concurrent Search Tree

Ibrahim Umar, Otto J. Anshus|arXiv (Cornell University)|Dec 9, 2013
Distributed systems and fault toleranceComputer Science18 references4 citations
TL;DR

DeltaTree is a novel, locality-aware concurrent search tree that combines the cache-efficient van Emde Boas (vEB) layout with non-blocking concurrency techniques to achieve high performance in both search and update operations. It achieves up to 5× faster search and up to 1.6× faster updates than AVL, red-black, and speculation-friendly trees under low-to-moderate contention, with expected memory transfer costs of $ O(\log_B N) $, making it optimal for energy-efficient, manycore systems.

ABSTRACT

As other fundamental programming abstractions in energy-efficient computing, search trees are expected to support both high parallelism and data locality. However, existing highly-concurrent search trees such as red-black trees and AVL trees do not consider data locality while existing locality-aware search trees such as those based on the van Emde Boas layout (vEB-based trees), poorly support concurrent (update) operations. This paper presents DeltaTree, a practical locality-aware concurrent search tree that combines both locality-optimisation techniques from vEB-based trees and concurrency-optimisation techniques from non-blocking highly-concurrent search trees. DeltaTree is a $k$-ary leaf-oriented tree of DeltaNodes in which each DeltaNode is a size-fixed tree-container with the van Emde Boas layout. The expected memory transfer costs of DeltaTree's Search, Insert, and Delete operations are $O(\log_B N)$, where $N, B$ are the tree size and the unknown memory block size in the ideal cache model, respectively. DeltaTree's Search operation is wait-free, providing prioritised lanes for Search operations, the dominant operation in search trees. Its Insert and {\em Delete} operations are non-blocking to other Search, Insert, and Delete operations, but they may be occasionally blocked by maintenance operations that are sometimes triggered to keep DeltaTree in good shape. Our experimental evaluation using the latest implementation of AVL, red-black, and speculation friendly trees from the Synchrobench benchmark has shown that DeltaTree is up to 5 times faster than all of the three concurrent search trees for searching operations and up to 1.6 times faster for update operations when the update contention is not too high.

Motivation & Objective

  • To address the gap between high concurrency and fine-grained data locality in concurrent search trees.
  • To enable energy-efficient search trees that optimize for both parallelism and memory access patterns across multiple cache levels.
  • To design a dynamic, relaxed cache-oblivious layout that supports efficient concurrent updates without sacrificing locality.
  • To achieve wait-free search and non-blocking insert/delete operations while maintaining optimal cache complexity.
  • To evaluate DeltaTree’s performance against state-of-the-art concurrent search trees under realistic workloads.

Proposed method

  • Design a dynamic van Emde Boas (vEB) layout that supports dynamic node allocation via pointers while preserving $ O(\log_B N) $ memory transfer complexity.
  • Construct a $ k $-ary, leaf-oriented tree of fixed-size DeltaNodes, each using the vEB layout to group related keys contiguously in memory.
  • Introduce a relaxed cache-oblivious model that assumes an upper bound on unknown memory block size $ B $, enabling locality optimization across multiple memory levels.
  • Implement wait-free search using prioritized lanes to ensure progress for search operations.
  • Use non-blocking algorithms for insert and delete, with occasional maintenance operations that may cause temporary blocking to maintain structural balance.
  • Apply the wait-and-check technique to coordinate updates and ensure linearizability while minimizing contention.

Experimental results

Research questions

  • RQ1Can a search tree achieve both high concurrency and fine-grained data locality in modern manycore systems?
  • RQ2How can the vEB layout be adapted to support dynamic, concurrent updates without sacrificing cache efficiency?
  • RQ3What is the performance impact of combining locality-aware layout with non-blocking concurrency primitives?
  • RQ4How does DeltaTree compare to existing concurrent search trees (e.g., AVL, red-black, speculation-friendly trees) in terms of search and update throughput?
  • RQ5To what extent do maintenance operations affect performance, and can they be kept minimal under realistic workloads?

Key findings

  • DeltaTree achieves up to 5 times higher search performance than AVL, red-black, and speculation-friendly trees under 100% search workloads.
  • For update operations, DeltaTree is up to 1.6 times faster than the three concurrent trees when update contention is low to moderate.
  • Cache miss rates in DeltaTree are significantly lower than in other trees: 8.9% to 10.6% for $ \Delta $ Tree, compared to 11.1% for SFtree and 5.5% for VTMtree, with much higher throughput.
  • The dynamic vEB layout reduces memory transfers to $ O(\log_B N) $, matching the theoretical lower bound for cache-oblivious structures.
  • The wait-free search operation ensures progress for all search requests, even under high contention.
  • Maintenance operations are infrequent and do not dominate performance, as shown by low cache miss overhead and high operational throughput.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.