Elsevier

Parallel Computing

Volume 28, Issue 4, April 2002, Pages 627-647
Parallel Computing

Optimal broadcasting and gossiping in one-port meshes of trees with distance-insensitive routing

https://doi.org/10.1016/S0167-8191(02)00075-3Get rights and content

Abstract

Meshes of trees are an ingenious hybrid of meshes and trees. They have very interesting properties, namely small degree and diameter and large bisection width. Also they are area universal, i.e., they can simulate any network with the same VLSI wire area with only polylogarithmic factor of slowdown. They are known to outperform meshes in execution of algorithms with local communication patterns, for which distance-sensitive switching, such as store-and-forward, suffices. Nowadays, parallel machines use distance-insensitive switching, such as wormhole. The performance of a machine with such a fast switching depends on the existence of efficient algorithms for commonly used collective communication operations. Little is known about collective communication properties of meshes of trees with distance-insensitive switching. We show that 2-D meshes of trees with distance-insensitive switching can execute optimally or asymptotically optimally two basic global communication operations, one-to-all broadcast and all-to-all broadcast, if routers with one-port and packet combining capabilities are used. Our algorithms work optimally for both square and rectangular meshes of trees.

Introduction

The meshes of trees [15] have been proposed as an ingenious hybrid of trees and meshes. They have both small diameter and large bisection width. Many problems can be solved on them in polylogarithmic parallel time by algorithms that use mostly local communication patterns. For these algorithms, meshes of trees clearly outperform meshes of the same size. To implement such algorithms, a distance-sensitive switching hardware, such as store-and-forward, is sufficient. Current parallel computers use distance-insensitive switching, such as wormhole [16], which can, of course, mimic local communication patterns. How meshes of trees compare to meshes if algorithms with global communication patterns are considered, has not been studied yet. In this paper, we show that meshes of trees with distance-insensitive switching and with routers with one-port capability and packet combining can execute optimally or asymptotically optimally two basic collective communication operations [5], [6], [16], one-to-all broadcast (OAB) and all-to-all broadcast (AAB). We consider both node-disjoint-path and link-disjoint-path models [3], [7]. Our algorithms work optimally for both square and rectangular meshes of trees.

This result indicates that meshes of trees have outstanding properties even if distance-insensitive switching hardware is used. Hence, it indicates that as general purpose topology, meshes of trees outperform meshes, since they execute faster algorithms with local communication patterns and do not lag behind meshes in execution of algorithms with global communication patterns.

Section snippets

Collective communication operations

In parallel algorithms, several communication patterns are frequently used. Efficient implementations of these operations are needed in parallel programming environment libraries. There are several kinds of basic collective communication operations [5], [6], [16].

Given a connected network G and a designated node s possessing a packet, the task of a OAB in G with the source s is to deliver the packet from s to all other nodes in G, either directly by s or by employing previously informed nodes.

Previous and related work

Broadcasting and gossiping have been widely studied under various communication models, we refer readers to survey papers [5], [6], [10], [16], [18] for further details.

Broadcasting in complete binary trees

For broadcasting, the full-duplex model does not provide any advantage over the half-duplex model [10]. Due to Lemma 1, the OAB in the H1L model is optimally solvable for any graph G. Therefore, we consider the weakest communication model, H1N, in this section. An algorithm for OAB in CBTn in the H1N model with the optimal complexity, i.e., n+2 rounds, can be obtained as the reversal of the AOG algorithm in [4]. Here, we give another algorithm, designed specially as a building block for OAB and

The main results

First we present algorithms for the standard square meshes of trees, MTn,n, and after that, we describe a generalization of these algorithms for the rectangular MTm,n.

Conclusions

We have designed an optimal broadcast algorithm in one-port WH square and rectangular meshes of trees and asymptotically optimal gossip algorithms under the assumptions of combining and both half-duplex and full-duplex models. Our results are summarized in Table 1.

Our results prove that for MTm,n and these collective communication operations, the link-disjoint model does not provide any improvement with respect to the node-disjoint model. They show that the group of networks in which the number

Acknowledgements

This research has been supported by GAČR under grant #102/97/1055 and by CTU under grant #309908003.

References (19)

There are more references available in the full text version of this article.

Cited by (3)

  • Feedback vertex sets in mesh-based networks

    2007, Theoretical Computer Science
  • Tighter bounds on feedback vertex sets in mesh-based networks

    2004, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

This paper is an extension of paper P. Salinger and P. Tvrdı́k, Optimal broadcasting and gossiping in one-port wormhole meshes of trees, in: Proceedings of the 11th IASTED Int. Conf. on Par. and Distr. Comp. and Systems, Acta Press, USA, 1999, pp. 713–718.

View full text