Lune

PPoPP2024Top-tier venue

Practical Hardware Transactional vEB Trees

Mohammad Khalaji, Trevor Brown, Khuzaima Daudjee, Vitaly Aksenov

Abstract

van Emde Boas (vEB) trees are sequential data structures optimized for extremely fast predecessor and successor queries. Such queries are an important incentive to use ordered sets or maps such as vEB trees. All operations in a vEB tree are doubly logarithmic in the universe size. Attempts to implement concurrent vEB trees have either simplified their structure in a way that eliminated their ability to perform fast predecessor and successor queries, or have otherwise compromised on doubly logarithmic complexity. In this work, we leverage Hardware Transactional Memory (HTM) to implement vEB tree-based sets and maps in which operations are doubly logarithmic in the absence of contention. Our proposed concurrent vEB tree is the first to implement recursive summaries, the key algorithmic component of fast predecessor and successor operations. Through extensive experiments, we demonstrate that our algorithm outperforms state-of-the-art concurrent maps by an average of 5× in a moderately skewed workload, and the single-threaded C++ standard ordered map and its unordered map by 70% and 14%, respectively. And, it does so while using two orders of magnitude less memory than traditional vEB trees.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Concurrent Data Structures Made Easy cites Elimination (a, b)-trees with fast, durable updates
  • Concurrent Data Structures Made Easy cites Non-blocking interpolation search trees with doubly-logarithmic running time
  • Elimination (a, b)-trees with fast, durable updates cites Non-blocking interpolation search trees with doubly-logarithmic running time
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Concurrent Data Structures Made EasyCallista Le, Kiran Gopinathan, Koon Wen Lee, Seth Gilbert et al.OOPSLA 2024 · 2 citations

Builds on2

  1. Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 citations
  2. Elimination (a, b)-trees with fast, durable updatesAnubhav Srivastava, Trevor BrownPPoPP 2022 · 12 citations

Related papers

  1. Spruce: a Fast yet Space-saving Structure for Dynamic Graph StorageJifan Shi, Biao Wang, Yun XuSIGMOD 2024 · 19 citations
  2. Boosting Performance and QoS for Concurrent GPU B+trees by Combining-Based SynchronizationWeihua Zhang, Chuanlei Zhao, Lu Peng, Yuzhe Lin et al.PPoPP 2023 · 7 citations
  3. Chaining Transactions for Effective Concurrency Management in Hardware Transactional MemoryVíctor Nicolás-Conesa, J. Rubén Titos Gil, Ricardo Fernández-Pascual, Manuel E. Acacio et al.MICRO 2024 · 2 citations
  4. Scaling concurrent queues by using HTM to profit from failed atomic operationsOr Ostrovsky, Adam MorrisonPPoPP 2020 · 6 citations
  5. TASE: Reducing Latency of Symbolic Execution with Transactional MemoryAdam Humphries, Kartik Cating-Subramanian, Michael K. ReiterNDSS 2021
Dusk over the sea between two cliffs drawn in fine vertical lines