Computer Science > Computational Complexity
[Submitted on 23 Nov 2017 (v1), revised 12 Dec 2017 (this version, v2), latest version 27 Nov 2018 (v4)]
Title:On Optimal Trees for Irregular Gather and Scatter Collectives
View PDFAbstract:This paper studies the complexity of finding cost-optimal communication trees for rooted, irregular gather and scatter collective communication operations in fully connected, one-ported communication networks under a linear, but not necessarily homogeneous transmission cost model. In the irregular gather and scatter problems, different processors may specify data blocks of possibly different sizes. Processors are numbered consecutively, and data blocks shall be collected or distributed from some (given) root processor. Data blocks from and to processors can be combined into larger segments consisting of multiple blocks; but individual data blocks cannot be split.
We distinguish between ordered and unordered problems and algorithms. In an ordered, irregular gather tree algorithm all non-leaf processors receive segments of data blocks for consecutively numbered ranges of processors. An unordered tree algorithm permits received segments to consist of blocks for processors in any order. We show that the ordered problems can be solved in polynomial time, and give simple dynamic programming algorithms to construct optimal communication trees for both gather and scatter problems. In contrast, we show that the unordered problems are NP-complete. We have implemented the dynamic programming algorithms to experimentally evaluate the quality of a recent, simple, distributed algorithm which constructs close to optimal trees. Our experiments show that it is indeed very close to the optimum for a selection of data block distributions, and likely sufficient for all practical purposes.
Submission history
From: Jesper Larsson Träff [view email][v1] Thu, 23 Nov 2017 15:07:08 UTC (22 KB)
[v2] Tue, 12 Dec 2017 13:45:56 UTC (26 KB)
[v3] Wed, 13 Dec 2017 07:36:19 UTC (26 KB)
[v4] Tue, 27 Nov 2018 14:27:58 UTC (72 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.