Augmentation makes search trees tremendously more versatile, allowing them to support efficient aggregation queries, order-statistic queries, and range queries in addition to insertion, deletion, and lookup. In this paper, we present the first lock-free augmented balanced search tree supporting generic augmentation functions. Our algorithmic ideas build upon a recent augmented unbalanced search tree presented by Fatourou and Ruppert [DISC, 2024]. We implement both data structures, solving some memory reclamation challenges in the process, and provide an experimental performance analysis of them. We also present optimized versions of our balanced tree that use delegation to achieve better scalability and performance (by more than 2x in most workloads). Our experiments show that our augmented balanced tree completes updates 2.2 to 30 times faster than the unbalanced augmented tree, and outperforms unaugmented trees by up to several orders of magnitude on 120 threads.


翻译:增强技术极大地扩展了搜索树的功能,使其除了支持插入、删除和查找操作外,还能高效处理聚合查询、顺序统计查询和范围查询。本文提出了首个支持通用增强函数的无锁平衡增强搜索树。我们的算法思想建立在Fatourou和Ruppert近期提出的非平衡增强搜索树[DISC, 2024]基础上。我们实现了这两种数据结构,在此过程中解决了若干内存回收难题,并提供了它们的实验性能分析。我们还提出了平衡树的优化版本,通过委托机制实现更好的可扩展性和性能(在多数工作负载下提升超过2倍)。实验表明,我们的增强平衡树完成更新操作的速度比非平衡增强树快2.2至30倍,在120线程环境下性能超越未增强树达数个数量级。

0
下载
关闭预览

相关内容

互联网
图增强生成(GraphRAG)
专知会员服务
34+阅读 · 2025年1月4日
推荐系统融合排序的多目标寻优技术
专知会员服务
18+阅读 · 2024年8月17日
最新《生成式数据增强的统一框架》综述,85页pdf
专知会员服务
65+阅读 · 2023年10月8日
谷歌推出新型数据增强算法:AutoAugment
论智
20+阅读 · 2018年6月6日
国家自然科学基金
42+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
16+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 2月6日
VIP会员
相关基金
国家自然科学基金
42+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
16+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员