Abstract
Direct routing is the special case ofbufferless routing whereN packets, once injected into the network, must be delivered to their destinations without collisions. We give a general treatment of three facets of direct routing:
-
1.
Algorithms. We present a polynomial-timegreedy direct algorithm which is worst-case optimal. We improve the bound of the greedy algorithm for special cases, by applying variants of this algorithm to commonly used network topologies. In particular, we obtainnear-optimal routing time for thetree, mesh, butterfly, andhypercube.
-
2.
Complexity. By a reduction from Vertex Coloring, we show that optimal Direct Routing is inapproximable, unless P=NP.
-
3.
Lower Bounds for Buffering. We show that certain direct routing problems cannot be solved efficiently; in order to solve these problems,any routing algorithm needs buffers. We give non-trivial lower bounds on such buffering requirements for general routing algorithms.
Similar content being viewed by others
References
M. Adler, S. Khanna, R. Rajaraman, and A. Rosén. Time-constrained scheduling of weighted packets on trees and meshes.Algorithmica, 36:123–152, 2003.
M. Adler, A. L. Rosenberg, R. K. Sitaraman, and W. Unger. Scheduling time-constrained communication in linear networks. InProceedings of the Tenth Annual ACM Symposium on Parallel Algorithms and Architectures, pages 269–278, Puerto Vallarta, Mexico, 1998.
N. Alon, F. Chung, and R. Graham. Routing permutations on graphs via matching.SIAM Journal on Discrete Mathematics, 7(3):513–530, 1994.
S. Alstrup, J. Holm, K. de Lichtenberg, and M. Thorup. Direct routing on trees. InProceedings of the Ninth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 98), pages 342–349, 1998.
I. Ben-Aroya, D. D. Chinn, and A. Schuster. A lower bound for nearly minimal adaptive and hot potato algorithms.Algorithmica, 21(4):347–376, August 1998.
A. Ben-Dor, S. Halevi, and A. Schuster. Potential function analysis of greedy hot-potato routing.Theory of Computing Systems, 31(1):41–61, Jan./Feb. 1998.
B. Bollobás.Random Graphs, second edition. Cambridge University Press, New York, 2001.
A. Broder and E. Upfal. Dynamic deflection routing on arrays. InProceedings of the Twenty-Eighth Annual ACM Symposium on the Theory of Computing, pages 348–358, May 1996.
C. Busch. Õ(Congestion + Dilation) hot-potato routing on leveled networks. InProceedings of the Fourteenth ACM Symposium on Parallel Algorithms and Architectures, pages 20–29, Aug. 2002.
C. Busch, M. Herlihy, and R. Wattenhofer. Hard-potato routing. InProceedings of the 32nd Annual ACM Symposium on Theory of Computing, pages 278–285, May 2000.
C. Busch, M. Magdon-Ismail, M. Mavronicolas, and P. Spirakis. Direct routing: algorithms and complexity. In S. Albers and T. Radzik, editors,Proceedings of the 12th Annual European Symposium on Algorithms (ESA), pages 134–145, Bergen, Norway, September 2004. Volume 3221 of Lecture Notes in Computer Science. Springer-Verlag, Berlin.
C. Busch, M. Magdon-Ismail, and J. Xi. Optimal oblivious path selection on the mesh. InProceedings of the International Parallel and Distributed Processing Symposium (IPDPS), pages 82–91, Denver, Colorado, April 2005.
R. Cypher, F. M. auf der Heide, C. Scheideler, and B. Vöcking. Universal algorithms for store-and-forward and wormhole routing. InProceedings of the 28th ACM Symposium on Theory of Computing, pages 356–365, 1996.
U. Feige and J. Kilian. Zero knowledge and the chromatic number. InProceedings of the IEEE Conference on Computational Complexity, pages 278–287, 1996.
U. Feige and P. Raghavan. Exact analysis of hot-potato routing. InProceedings of the 33rd Annual Symposium on Foundations of Computer Science, pages 553–562, Pittsburgh, PA, Oct. 1992.
M. R. Garey and D. S. Johnson.Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, New York, 1979.
D. S. Hochbaum.Approximation Algorithms for NP-Hard Problems. PWS, Boston, MA, 1997.
C. Kaklamanis, D. Krizanc, and S. Rao. Hot-potato routing on processor arrays. InProceedings of the 5th Annual ACM Symposium on Parallel Algorithms and Architectures, pages 273–282, Velen, Germany, June 30–July 2, 1993.
F. T. Leighton.Introduction to Parallel Algorithms and Architectures: Arrays — Trees — Hypercubes. Morgan Kaufmann, San Mateo, CA, 1992.
F. T. Leighton, B. M. Maggs, and S. B. Rao. Packet routing and job-scheduling inO(congestion +dilation) steps.Combinatorica, 14:167–186, 1994.
T. Leighton, B. Maggs, and A. W. Richa. Fast algorithms for finding O(congestion + dilation) packet routing schedules.Combinatorica, 19:375–401, 1999.
B. M. Maggs, F. M. auf der Heide, B. Vocking, and M. Westermann. Exploiting locality for data management in systems of limited bandwidth. InProceedings of the IEEE Symposium on Foundations of Computer Science, pages 284–293, 1997.
F. Meyer auf der Heide and C. Scheideler. Routing with bounded buffers and hot-potato routing in vertex-symmetric networks. In P. G. Spirakis, editor,Proceedings of the Third Annual European Symposium on Algorithms, pages 341–354, Corfu, Greece, 25–27 Sept. 1995. Volume 979 of LNCS. Springer, Berlin.
F. Meyer auf der Heide and B. Vöcking. Shortest-path routing in arbitrary networks.Journal of Algorithms, 31(1):105–131, Apr. 1999.
R. Motwani and P. Raghavan.Randomized Algorithms. Cambridge University Press, Cambridge, 2000.
R. Ostrovsky and Y. Rabani. UniversalO (congestion+dilation+log1+ɛ N) local control packet switching algorithms. InProceedings of the 29th Annual ACM Symposium on the Theory of Computing, pages 644–653, New York, May 1997.
G. E. Pantziou, A. Roberts, and A. Symvonis. Many-to-many routing on trees via matchings.Theoretical Computer Science, 185(2):347–377, 1997.
Y. Rabani and É. Tardos. Distributed packet switching in arbitrary networks. InProceedings of the Twenty-Eighth Annual ACM Symposium on the Theory of Computing, pages 366–375, Philadelphia, PA, 22–24 May 1996.
A. Symvonis. Routing on trees.Information Processing Letters, 57(4):215–223, 1996.
L. G. Valiant. A scheme for fast parallel communication.SIAM Journal on Computing, 11:350–361, 1982.
L. G. Valiant and G. J. Brebner. Universal schemes for parallel communication. InProceedings of the 13th Annual ACM Symposium on Theory of Computing, pages 263–277, May 1981.
L. Zhang. Optimal bounds for matching routing on trees. InProceedings of the 8th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 445–453, 1997.
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper appears in theProceedings of the 12th Annual European Symposium on Algorithms (ESA 2004) [11].
Partially supported by the EU within the 6th Framework Programme under Contract 001907 “Dynamically Evolving, Large Scale Information Systems” (DELIS).
Rights and permissions
About this article
Cite this article
Busch, C., Magdon-Ismail, M., Mavronicolas, M. et al. Direct routing: Algorithms and complexity. Algorithmica 45, 45–68 (2006). https://doi.org/10.1007/s00453-005-1189-3
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/s00453-005-1189-3