清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

Theoretically-Efficient and Practical Parallel In-Place Radix Sorting

排序算法 分类 计算机科学 并行计算 分类 快速排序 算法 并行算法 分拣网络 图形 拓扑排序 理论计算机科学 有向无环图 情报检索
作者
Omar Obeya,Endrias Kahssay,Edward M. Fan,Julian Shun
标识
DOI:10.1145/3323165.3323198
摘要

Parallel radix sorting has been extensively studied in the literature for decades. However, the most efficient implementations require auxiliary memory proportional to the input size, which can be prohibitive for large inputs. The standard serial in-place radix sorting algorithm is based on swapping each key to its correct place in the array on each level of recursion. However, it is not straightforward to parallelize this algorithm due to dependencies among the swaps. This paper presents Regions Sort, a new parallel in-place radix sorting algorithm that is efficient both in theory and in practice. Our algorithm uses a graph structure to model dependencies across elements that need to be swapped, and generates independent tasks from this graph that can be executed in parallel. For sorting n integers from a range r, and a parameter K, Regions Sort requires only O(Kłog rłog n) auxiliary memory. Our algorithm requires O(nłog r) work and O((n/K+łog K)łog r) span, making it work-efficient and highly parallel. In addition, we present several optimizations that significantly improve the empirical performance of our algorithm. We compare the performance of Regions Sort to existing parallel in-place and out-of-place sorting algorithms on a variety of input distributions and show that Regions Sort is faster than optimized out-of-place radix sorting and comparison sorting algorithms, and is almost always faster than the fastest publicly-available in-place sorting algorithm.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
研友_nxw2xL完成签到,获得积分10
3秒前
mark完成签到,获得积分10
3秒前
zc完成签到,获得积分10
9秒前
曾经不言完成签到 ,获得积分10
9秒前
如歌完成签到,获得积分10
9秒前
Orange应助tian采纳,获得30
11秒前
群英荟萃完成签到,获得积分10
23秒前
果粒橙子完成签到 ,获得积分10
39秒前
开心向真完成签到,获得积分10
47秒前
自然亦凝完成签到,获得积分10
1分钟前
千里完成签到 ,获得积分10
1分钟前
阿尔法贝塔完成签到 ,获得积分10
1分钟前
超欲完成签到 ,获得积分10
1分钟前
1分钟前
晚心发布了新的文献求助10
1分钟前
Lucas应助无辜的新瑶采纳,获得10
2分钟前
2分钟前
Copyright应助科研通管家采纳,获得10
2分钟前
lily完成签到 ,获得积分10
2分钟前
无辜的新瑶完成签到,获得积分20
2分钟前
晚心发布了新的文献求助10
2分钟前
wangfaqing942完成签到 ,获得积分10
2分钟前
3分钟前
3分钟前
3分钟前
tian发布了新的文献求助30
3分钟前
小学生一年级完成签到 ,获得积分10
3分钟前
迷茫的一代完成签到,获得积分10
4分钟前
传奇3应助tian采纳,获得10
4分钟前
Copyright应助科研通管家采纳,获得10
4分钟前
紫熊发布了新的文献求助10
4分钟前
高天雨完成签到 ,获得积分10
4分钟前
xuxu完成签到 ,获得积分10
4分钟前
5分钟前
1ran发布了新的文献求助10
5分钟前
晚心发布了新的文献求助10
5分钟前
老马哥完成签到,获得积分0
5分钟前
紫熊发布了新的文献求助10
5分钟前
在水一方完成签到,获得积分0
5分钟前
紫熊发布了新的文献求助10
5分钟前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Writing Systems 500
Understanding Modeling and Simulation of Polymerization Reactions 400
Invited Discussant 63O and 64O 400
A revision of Limenitis helmanni and its related species (Nymphalidae) from Central and South China 400
Direct and Iterative Linear System Solvers 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6828438
求助须知:如何正确求助?哪些是违规求助? 8540009
关于积分的说明 18171682
捐赠科研通 6168094
什么是DOI,文献DOI怎么找? 3035877
关于科研通互助平台的介绍 2019105
邀请新用户注册赠送积分活动 2012912