亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
热情的访枫完成签到 ,获得积分10
2秒前
充电宝应助miooo采纳,获得10
11秒前
25秒前
zxl发布了新的文献求助10
29秒前
35秒前
miooo发布了新的文献求助10
43秒前
eeevaxxx完成签到 ,获得积分10
54秒前
欧耶完成签到 ,获得积分10
1分钟前
vetzlk完成签到 ,获得积分10
1分钟前
爱学习的小李完成签到 ,获得积分10
1分钟前
yuanjun完成签到,获得积分10
2分钟前
2分钟前
2分钟前
吴彦祖发布了新的文献求助20
3分钟前
田様应助科研通管家采纳,获得10
3分钟前
4分钟前
心无杂念完成签到 ,获得积分10
4分钟前
4分钟前
5分钟前
sidashu发布了新的文献求助10
5分钟前
Copyright应助科研通管家采纳,获得10
5分钟前
Panther完成签到,获得积分10
5分钟前
6分钟前
学不完了完成签到 ,获得积分10
6分钟前
糖丸完成签到,获得积分10
7分钟前
7分钟前
7分钟前
nolan完成签到 ,获得积分10
8分钟前
tianya完成签到,获得积分10
8分钟前
9分钟前
华仔应助科研通管家采纳,获得10
9分钟前
9分钟前
9分钟前
房天川完成签到 ,获得积分10
9分钟前
10分钟前
10分钟前
甜甜的白筠完成签到,获得积分10
10分钟前
贾淋淋完成签到 ,获得积分10
10分钟前
lizhoukan1完成签到,获得积分10
10分钟前
Owen应助科研通管家采纳,获得10
11分钟前
高分求助中
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小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6827540
求助须知:如何正确求助?哪些是违规求助? 8539324
关于积分的说明 18171241
捐赠科研通 6166360
什么是DOI,文献DOI怎么找? 3035602
关于科研通互助平台的介绍 2018213
邀请新用户注册赠送积分活动 2012536