Abstract
We study the complexity of routing a set of messages with multiple destinations (multicast routing) on an n-node square mesh under the store-and-forward model. A standard argument proves that \(\Omega(\sqrt{cn}\,)\) time is required to route n messages, where each message is generated by a distinct node and at most c messages are to be delivered to any individual node. The obvious approach of simply replicating each message into the appropriate number of unicast (single-destination) messages and routing these independently does not yield an optimal algorithm. We provide both randomized and deterministic algorithms for multicast routing, which use constant-size buffers at each node. The randomized algorithm attains optimal performance, while the deterministic algorithm is slower by a factor of O( log 2 n). We also describe an optimal deterministic algorithm that, however, requires large buffers of size O(c).
Similar content being viewed by others
References
Fleury, E., Fraigniaud, P.: Strategies for multicasting in wormhole-routed meshes. J. Parallel Distrib. Comput. 53(1), 26–62 (1998)
Grammatikakis, M., Hsu, D., Kraetzel, M., Sibeyn, J.: Packet routing in fixed-connection networks: a survey. J. Parallel Distrib. Comput. 54(2), 77–132 (1998)
Grossi, R., Pietracaprina, A., Pucci, G.: Optimal deterministic protocols for mobile robots on a grid. Inf. Comput. 173, 132–142 (2002)
Hagerup, T., Rüb, C.: A guided tour of Chernoff bounds. Inf. Process. Lett. 33(6), 305–308 (1990)
Herley, K., Bilardi, G.: Deterministic simulations of PRAMs on bounded-degree networks. SIAM J. Comput. 23(2), 276–292 (1994)
Herley, K., Pietracaprina, A., Pucci, G.: Implementing shared memory on mesh-connected computers and on the fat-tree. Inf. Comput. 165(2), 123–143 (2001)
JáJá, J.: An Introduction to Parallel Algorithms. Addison Wesley, Reading (1992)
Kesavan, R., Panda, D.: Multiple multicast with minimized node contention on wormhole k-ary n-cube networks. IEEE Trans. Parallel Distrib. Syst. 10(4), 371–393 (1999)
Leighton, F.: Introduction to Parallel Algorithms and Architectures: Arrays • Trees • Hypercubes. Morgan Kaufmann, San Mateo (1992)
Leighton, F., Maggs, B., Ranade, A., Rao, S.: Randomized routing and sorting on fixed-connection networks. J. Algorithms 17(1), 157–205 (1994)
Libeskind-Hadas, R., Mazzoni, D., Rajagopalan, R.: Tree-based multicasting in wormhole-routed irregular topologies. In: Proc. of the 1st Merged IPPS/SPDP Symposium, pp. 244–249, March/April 1998
Lin, X., Ni, L.: Deadlock-free multicast wormhole routing in multicomputer networks. In: Proc. of the 18th ACM Annual International Symposium on Computer Architecture, pp. 116–125, May 1991
Lin, X., Ni, L.: Multicast communication in multicomputer networks. IEEE Trans. Parallel Distrib. Syst. 4(10), 1105–1117 (1993)
Pietracaprina, A., Pucci, G.: The complexity of deterministic PRAM simulation on distributed memory machines. Theory Comput. Syst. 30(3), 231–247 (1997)
Pietracaprina, A., Pucci, G.: Optimal many-to-one routing on the mesh with constant queues. Inf. Process. Lett. 96(1), 24–29 (2005)
Ranade, A.: How to emulate shared memory. J. Comput. Syst. Sci. 42, 307–326 (1991)
Robinson, D., McKinley, P., Cheng, B.: Optimal multicast communication in wormhole-routed torus networks. IEEE Trans. Parallel Distrib. Syst. 6(10), 1029–1042 (1995)
Sibeyn, J.F., Kaufmann, M.: Deterministic 1-k routing on meshes, with application to hot-potato worm-hole routing. In: Proc. of the 11th Symp. on Theoretical Aspects of Computer Science. Lecture Notes in Comput. Sci., vol. 775, pp. 237–248 (February 1994)
Wang, C., Hou, Y., Hsu, L.: Adaptive path-based multicast on wormhole-routed hypercubes. In: Proc. of the 8th Euro-Par. Lecture Notes in Comput. Sci., vol. 2400, pp. 757–761 (August 2002)
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper appeared in Proceedings of the 13th Annual ACM Symposium on Parallel Algorithms and Architectures, Crete, Greece, 2001. This work was supported, in part, by MIUR under project ALGO-NEXT.
Rights and permissions
About this article
Cite this article
Herley, K.T., Pietracaprina, A. & Pucci, G. Store-and-Forward Multicast Routing on the Mesh. Theory Comput Syst 42, 519–535 (2008). https://doi.org/10.1007/s00224-007-9008-7
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00224-007-9008-7