Polynomial-time Construction of Optimal Tree-structured Communication Data Layout Descriptions
Robert Ganian, Martin Kalany, Stefan Szeider, Jesper Larsson Tr\"aff

TL;DR
This paper presents a polynomial-time algorithm for constructing optimal tree-structured data layout descriptions, improving efficiency in communication of noncontiguous data and solving a previously conjectured NP-hard problem.
Contribution
The authors develop a dynamic programming algorithm that constructs optimal tree descriptions of data layouts, refuting the NP-hardness conjecture and extending to more general constructors.
Findings
Algorithm runs in O(n^4) time and O(n^2) space.
Solves MPI datatype reconstruction problem optimally.
Handles additional constructors beyond MPI specifications.
Abstract
We show that the problem of constructing tree-structured descriptions of data layouts that are optimal with respect to space or other criteria from given sequences of displacements, can be solved in polynomial time. The problem is relevant for efficient compiler and library support for communication of noncontiguous data, where tree-structured descriptions with low-degree nodes and small index arrays are beneficial for the communication soft- and hardware. An important example is the Message-Passing Interface (MPI) which has a mechanism for describing arbitrary data layouts as trees using a set of increasingly general constructors. Our algorithm shows that the so-called MPI datatype reconstruction problem by trees with the full set of MPI constructors can be solved optimally in polynomial time, refuting previous conjectures that the problem is NP-hard. Our algorithm can handle further,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Packet Processing and Optimization · Algorithms and Data Compression · Embedded Systems Design Techniques
