Skip to main content
Log in

Direct routing: Algorithms and complexity

  • Published:
Algorithmica Aims and scope Submit manuscript

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. 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. 2.

    Complexity. By a reduction from Vertex Coloring, we show that optimal Direct Routing is inapproximable, unless P=NP.

  3. 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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. 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.

    Article  MATH  MathSciNet  Google Scholar 

  2. 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.

    Chapter  Google Scholar 

  3. N. Alon, F. Chung, and R. Graham. Routing permutations on graphs via matching.SIAM Journal on Discrete Mathematics, 7(3):513–530, 1994.

    Article  MATH  MathSciNet  Google Scholar 

  4. 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.

  5. 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.

    Article  MATH  MathSciNet  Google Scholar 

  6. 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.

    Article  MATH  MathSciNet  Google Scholar 

  7. B. Bollobás.Random Graphs, second edition. Cambridge University Press, New York, 2001.

    MATH  Google Scholar 

  8. 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.

  9. 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.

  10. 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.

  11. 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.

    Google Scholar 

  12. 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.

  13. 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.

  14. U. Feige and J. Kilian. Zero knowledge and the chromatic number. InProceedings of the IEEE Conference on Computational Complexity, pages 278–287, 1996.

  15. 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.

  16. M. R. Garey and D. S. Johnson.Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, New York, 1979.

    MATH  Google Scholar 

  17. D. S. Hochbaum.Approximation Algorithms for NP-Hard Problems. PWS, Boston, MA, 1997.

    Google Scholar 

  18. 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.

  19. F. T. Leighton.Introduction to Parallel Algorithms and Architectures: Arrays — Trees — Hypercubes. Morgan Kaufmann, San Mateo, CA, 1992.

    MATH  Google Scholar 

  20. F. T. Leighton, B. M. Maggs, and S. B. Rao. Packet routing and job-scheduling inO(congestion +dilation) steps.Combinatorica, 14:167–186, 1994.

    Article  MATH  MathSciNet  Google Scholar 

  21. T. Leighton, B. Maggs, and A. W. Richa. Fast algorithms for finding O(congestion + dilation) packet routing schedules.Combinatorica, 19:375–401, 1999.

    Article  MATH  MathSciNet  Google Scholar 

  22. 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.

  23. 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.

    Google Scholar 

  24. F. Meyer auf der Heide and B. Vöcking. Shortest-path routing in arbitrary networks.Journal of Algorithms, 31(1):105–131, Apr. 1999.

    Article  MATH  MathSciNet  Google Scholar 

  25. R. Motwani and P. Raghavan.Randomized Algorithms. Cambridge University Press, Cambridge, 2000.

    Google Scholar 

  26. 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.

  27. G. E. Pantziou, A. Roberts, and A. Symvonis. Many-to-many routing on trees via matchings.Theoretical Computer Science, 185(2):347–377, 1997.

    Article  MATH  MathSciNet  Google Scholar 

  28. 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.

  29. A. Symvonis. Routing on trees.Information Processing Letters, 57(4):215–223, 1996.

    Article  MATH  MathSciNet  Google Scholar 

  30. L. G. Valiant. A scheme for fast parallel communication.SIAM Journal on Computing, 11:350–361, 1982.

    Article  MATH  MathSciNet  Google Scholar 

  31. 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.

  32. L. Zhang. Optimal bounds for matching routing on trees. InProceedings of the 8th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 445–453, 1997.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Costas Busch.

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

Reprints 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

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-005-1189-3

Key Words

Navigation