This paper presents a batch-parallel 2-3 tree T in an asynchronous dynamic multithreading model that supports searches, insertions and deletions in sorted batches and has essentially optimal parallelism, even under the restrictive QRMW (queued read-modify-write) memory contention model where concurrent accesses to the same memory location are queued and serviced one by one. Specifically, if T has n items, then performing an item-sorted batch (given as a leaf-based balanced binary tree) of b operations on T takes O( b * log(n/b+1) + b ) work and O( log b + log n ) span (in the worst case as b,n -> inf). This is information-theoretically work-optimal for b <= n, and also span-optimal for pointer-based structures. Moreover, it is easy to support optimal intersection, union and difference of instances of T with sizes m <= n, namely within O( m * log(n/m+1) ) work and O( log m + log n ) span. Furthermore, T supports other batch operations that make it a very useful building block for parallel data structures. To the author's knowledge, T is the first parallel sorted-set data structure that can be used in an asynchronous multi-processor machine under a memory model with queued contention and yet have asymptotically optimal work and span. In fact, T is designed to have bounded contention and satisfy the claimed work and span bounds regardless of the execution schedule. Since all data structures and algorithms in this paper fit into the dynamic multithreading paradigm, all their performance bounds are directly composable with those of other data structures and algorithms in the same model. Finally, the pipelining techniques in this paper are also likely to be very useful in asynchronous parallelization of other recursive data structures.


翻译:本文展示了一个批量单数 2-3 树 T, 在一个不同步的动态多读模式中, 支持在分批批中搜索、 插入和删除, 并且基本上具有最佳的多平行性, 即使在限制性的 QRMW (queued read- modify- write) 内存争议模型下, 将同时访问同一内存位置的功能排成队列, 并用一个 。 具体地说, 如果 T 有 n 项, 然后执行一个项目分解的批( 以叶为基础的平衡双向双向双向双向双向的双向双向双向双向双向导 。 在 O( b * log (n/ b+1) + b) 上, 工作和 O( log b) 双向双向双向双向双向双向双向双向的运行结构中, 其双向的运行模式和双向方向的运行, 正在向的运行、 正在前向、 数据运行、 正在前的运行、 正在前的运行、 数据结构、 正在中, 正在、 正在、 正在、行、 正在、行、行、 正在、行、 正在、 正在、行、行、行、 正在、 正在、 正在、 正在、行、 正在、 正在、 正在、行、行、行、行、 正在、 正在、行、行、行、行、行、 正在、 正在、行、 正在、行、行、 正在、行、行、 正在、行、行、行、行、行、、、行、行、行、、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行、行

0
下载
关闭预览

相关内容

专知会员服务
51+阅读 · 2020年12月14日
自然语言处理顶会COLING2020最佳论文出炉!
专知会员服务
24+阅读 · 2020年12月12日
专知会员服务
124+阅读 · 2020年9月8日
【CCL 2019】2019信息检索趋势,山东大学教授任昭春博士
专知会员服务
30+阅读 · 2019年11月12日
强化学习最新教程,17页pdf
专知会员服务
177+阅读 · 2019年10月11日
机器学习入门的经验与建议
专知会员服务
94+阅读 · 2019年10月10日
计算机 | 国际会议信息5条
Call4Papers
3+阅读 · 2019年7月3日
Hierarchically Structured Meta-learning
CreateAMind
26+阅读 · 2019年5月22日
CCF A类 | 顶级会议RTSS 2019诚邀稿件
Call4Papers
10+阅读 · 2019年4月17日
计算机 | ISMAR 2019等国际会议信息8条
Call4Papers
3+阅读 · 2019年3月5日
IEEE | DSC 2019诚邀稿件 (EI检索)
Call4Papers
10+阅读 · 2019年2月25日
强化学习的Unsupervised Meta-Learning
CreateAMind
18+阅读 · 2019年1月7日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
17+阅读 · 2018年12月24日
分布式TensorFlow入门指南
机器学习研究会
4+阅读 · 2017年11月28日
【推荐】自然语言处理(NLP)指南
机器学习研究会
35+阅读 · 2017年11月17日
Auto-Encoding GAN
CreateAMind
7+阅读 · 2017年8月4日
Arxiv
0+阅读 · 2021年12月17日
VIP会员
相关VIP内容
专知会员服务
51+阅读 · 2020年12月14日
自然语言处理顶会COLING2020最佳论文出炉!
专知会员服务
24+阅读 · 2020年12月12日
专知会员服务
124+阅读 · 2020年9月8日
【CCL 2019】2019信息检索趋势,山东大学教授任昭春博士
专知会员服务
30+阅读 · 2019年11月12日
强化学习最新教程,17页pdf
专知会员服务
177+阅读 · 2019年10月11日
机器学习入门的经验与建议
专知会员服务
94+阅读 · 2019年10月10日
相关资讯
计算机 | 国际会议信息5条
Call4Papers
3+阅读 · 2019年7月3日
Hierarchically Structured Meta-learning
CreateAMind
26+阅读 · 2019年5月22日
CCF A类 | 顶级会议RTSS 2019诚邀稿件
Call4Papers
10+阅读 · 2019年4月17日
计算机 | ISMAR 2019等国际会议信息8条
Call4Papers
3+阅读 · 2019年3月5日
IEEE | DSC 2019诚邀稿件 (EI检索)
Call4Papers
10+阅读 · 2019年2月25日
强化学习的Unsupervised Meta-Learning
CreateAMind
18+阅读 · 2019年1月7日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
17+阅读 · 2018年12月24日
分布式TensorFlow入门指南
机器学习研究会
4+阅读 · 2017年11月28日
【推荐】自然语言处理(NLP)指南
机器学习研究会
35+阅读 · 2017年11月17日
Auto-Encoding GAN
CreateAMind
7+阅读 · 2017年8月4日
Top
微信扫码咨询专知VIP会员