English

Distributed Selection in $O ( \log n )$ Time with $O ( n \log \log n )$ Messages

Data Structures and Algorithms 2017-12-13 v4

Abstract

We consider the selection problem on a completely connected network of nn processors with no shared memory. Each processor initially holds a given numeric item of bb bits allowed to send a message of max(b,lgn)\max ( b, \lg n ) bits to another processor at a time. On such a communication network G{\cal G}, we show that the kkth smallest of the nn inputs can be detected in O(logn)O ( \log n ) time with O(nloglogn)O ( n \log \log n ) messages. The possibility of such a parallel algorithm for this distributed kk-selection problem has been unknown despite the intensive investigation on many variations of the selection problem carried out since 1970s. The main trick of our algorithm is to simulate the comparisons and swaps performed by the AKS sorting network, the nn-input sorting network of logarithmic depth discovered by Ajtai, Koml{\'o}s and Szemer{\'e}di in 1983. We also show the universal time lower bound lgn\lg n for many basic data aggregation problems on G{\cal G}, confirming the asymptotic time optimality of our parallel algorithm.

Keywords

Cite

@article{arxiv.1511.00715,
  title  = {Distributed Selection in $O ( \log n )$ Time with $O ( n \log \log n )$ Messages},
  author = {Piotr Berman and Junichiro Fukuyama},
  journal= {arXiv preprint arXiv:1511.00715},
  year   = {2017}
}
R2 v1 2026-06-22T11:35:12.907Z