arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0706.2839cs.DScs.PF
收藏

非均匀分布排序算法的Cache分析

Cache Analysis of Non-uniform Distribution Sorting Algorithms

Naila Rahman, Rajeev Raman

摘要:

我们分析了平均情况下的缓存性能的分布排序算法的情况下,键是独立的,但不一定均匀分布。该分析适用于“就地”和“不就地”分布排序算法,比\cite{RRESA00}中的分析更准确。特别是,这种新的分析产生更严格的上限和下限时,从一个均匀分布的密钥。当整数排序算法MSB基数排序用于对独立均匀浮点数(浮点数)进行排序时,我们使用此分析来调整其性能。当从$[0, 1)$中对均匀浮点数进行排序时,我们的优化MSB基数排序算法轻松地优于缓存优化的桶排序\cite{RR99}和快速排序实现。

英文摘要:

We analyse the average-case cache performance of distribution sorting algorithms in the case when keys are independently but not necessarily uniformly distributed. The analysis is for both `in-place' and `out-of-place' distribution sorting algorithms and is more accurate than the analysis presented in \cite{RRESA00}. In particular, this new analysis yields tighter upper and lower bounds when the keys are drawn from a uniform distribution. We use this analysis to tune the performance of the integer sorting algorithm MSB radix sort when it is used to sort independent uniform floating-point numbers (floats). Our tuned MSB radix sort algorithm comfortably outperforms a cache-tuned implementations of bucketsort \cite{RR99} and Quicksort when sorting uniform floats from $[0, 1)$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑