Papers
Topics
Authors
Recent
Search
2000 character limit reached

Optimal Round and Sample-Size Complexity for Partitioning in Parallel Sorting

Published 10 Apr 2022 in cs.DC | (2204.04599v6)

Abstract: State-of-the-art parallel sorting algorithms for distributed-memory architectures are based on computing a balanced partitioning via sampling and histogramming. By finding samples that partition the sorted keys into evenly-sized chunks, these algorithms minimize the number of communication rounds required. Histogramming (computing positions of samples) guides sampling, enabling a decrease in the overall number of samples collected. We derive lower and upper bounds on the number of sampling/histogramming rounds required to compute a balanced partitioning. We improve on prior results to demonstrate that when using pp processors, O(log⁡<sup>∗</sup>p)O(\log<sup>*</sup> p) rounds with O(p/log⁡<sup>∗</sup>p)O(p/\log<sup>*</sup> p) samples per round suffice. We match that with a lower bound that shows that any algorithm with O(p)O(p) samples per round requires at least Ω(log⁡<sup>∗</sup>p)\Omega(\log<sup>*</sup> p) rounds. Additionally, we prove the Ω(plog⁡p)\Omega(p \log p) samples lower bound for one round, thus proving that existing one round algorithms: sample sort, AMS sort and HSS have optimal sample size complexity. To derive the lower bound, we propose a hard randomized input distribution and apply classical results from the distribution theory of runs.

Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.