一种分布式排序的随机化方法
A Randomised Approach to Distributed Sorting
AI总结:
本文提出一种基于随机选择下标对进行局部排序的调和排序器,其时间复杂度为 O(n(log n)^2),并展示了其在异步与同步环境下的线性加速并行化能力,适用于分布式计算场景。
摘要:
我们提出并分析了一种新的、极其简单的随机化排序算法:根据某种分布 q 选择一对下标 {i, j};将数组中位置 i 和 j 的元素按升序排序。选择 q_{i,j} ∝ 1/|j - i| 可获得 n (log n)^2 阶的排序时间。我们称之为调和排序器(harmonic sorter)。该排序器在异步环境下可平凡地并行化,从而获得线性加速。我们还展示了一种具有线性加速的低通信同步版本。我们将该算法与其他排序器进行了比较和对比,并讨论了它的一些优点,特别是其鲁棒性以及对并行化和分布式计算的适应性。
英文摘要:
We introduce and analyse a new, extremely simple, randomised sorting algorithm: - choose a pair of indices $\{i, j\}$ according to some distribution $q$; - sort the elements in positions $i$ and $j$ of the array in ascending order. Choosing $q_{\{i,j\}} \propto 1/|j - i|$ yields an order-$n (\log n)^2$ sorting time. We call it the harmonic sorter. The sorter trivially parallelises in the asynchronous setting, yielding a linear speed-up. We also exhibit a low-communication, synchronous version with a linear speed-up. We compare and contrast this algorithm with other sorters, and discuss some of its benefits, particularly its robustness and amenability to parallelisation and distributed computing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。