skip to main content
article
Free Access

On-line routing of virtual circuits with applications to load balancing and machine scheduling

Published:01 May 1997Publication History
Skip Abstract Section

Abstract

In this paper we study the problem of on-line allocation of routes to virtual circuits (both point-to-point and multicast) where the goal is to route all requests while minimizing the required bandwidth. We concentrate on the case of Permanent virtual circuits (i.e., once a circuit is established it exists forever), and describe an algorithm that achieves on O (log n) competitive ratio with respect to maximum congestin, where nis the number of nodes in the network. Informally, our results show that instead of knowing all of the future requests, it is sufficient to increase the bandwidth of the communication links by an O (log n) factor. We also show that this result is tight, that is, for any on-line algorithm there exists a scenario in which Ω(log n) increase in bandwidth is necessary in directed networks.

We view virtual circuit routing as a generalization of an on-line load balancing problem, defined as follows: jobs arrive on line and each job must be assigned to one of the machines immediately upon arrival. Assigning a job to a machine increases the machine's load by an amount that depends both on the job and on the machine. The goal is to minimize the maximum load.

For the related machines case, we describe the first algorithm that achieves constant competitive ratio. for the unrelated case (with nmachines), we describe a new method that yields O(logn)-competitive algorithm. This stands in contrast to the natural greed approach, whose competitive ratio is exactly n.

References

  1. SPECIAL ISSUE ON ASYNCHRONOUS TRANSFER MODE. Int. J. Digital Analog Cabled Syst. 1, 4, 1988.Google ScholarGoogle Scholar
  2. AWERBUCH, B., AND AZAR, Y. 1994. Local optimization of global objectives: Competitive distributed deadlock resolution and resource allocation. In Proceedings of the 35th IEEE Symposium on Foundations of Computer Science. IEEE, New York, pp. 240-249.Google ScholarGoogle Scholar
  3. AWERBUCH, B., AND AZAR, Y. 1995. Competitive multicast routing. Wireless Netw. 1, 107-114. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. AWERBUCH, B., AZAR, f., AND FIAT, A. 1996. Packet routing via min-cost circuit routing. In Proceedings of the 4th Israeli Symposium on Theory of Computing and Systems. pp. 37-42.Google ScholarGoogle Scholar
  5. AWERBUCH, B., AZAR, Y., GROVE, E., KAO, M., KRISHNAN, P., AND VITTER, J. 1995. Load balancing in the lp norm. In Proceedings of the 36th IEEE Symposium on Foundations of Computer Science. IEEE, New York, pp. 383-391. Google ScholarGoogle Scholar
  6. AWERBUCH, B., AZAR, Y., AND PLOTKIN, S. 1993. Throughput competitive on-line routing. In Proceedings of the 34th IEEE Annual Symposium on Foundations of Computer Science (Nov.). IEEE, New York, pp. 32-40.Google ScholarGoogle Scholar
  7. AWERBUCH, B., AZAR, Y., PLOTKIN, S., AND WAARTS, 0. 1994. Competitive routing of virtual circuits with unknown duration. In Proceedings of the 5th ACM-SIAM Symposium on Discrete Algorithms. ACM, New York, pp. 321-327. Google ScholarGoogle Scholar
  8. AWERBUCH, B., GAWLICK, R., LEIGHTON, T., AND RABANI, Y. 1994a. On-line admission control and circuit routing for high-performance computing and communication. In Proceedings of the 35th IEEE Annual Symposium on Foundations of Computer Science (Nov.). IEEE, New York, pp. 412-423.Google ScholarGoogle Scholar
  9. AWERBUCH, B., BARTAL, Y., FIAT, A., AND ROSEN, A. 1994b. Competitive nonpreemptive call control. In Proceedings of the 5th A CM-SIAM Symposium on Discrete Algorithms. Google ScholarGoogle Scholar
  10. AZAR, Y., BRODER, A., AND KARLIN, A. 1992. On-line load balancing. In Proceedings of the 33rd IEEE Annual Symposium on Foundations of Computer Science. pp. 218-225.Google ScholarGoogle Scholar
  11. AZAR, Y., KALYANASUNDARAM, B., PLOTKIN, S., PRUHS, K., AND WAARTS, O. 1993. On-line load balancing of temporary tasks. In Proceedings of the Workshop on Algorithms and Data Structures. (Aug.). pp. 119-130. Google ScholarGoogle Scholar
  12. AZAR, Y., NAOR, J., AND ROM, R. 1992. The competitiveness of on-line assignments. In Proceedings of the 3rd ACM-SIAM Symposium on Discrete Algorithms (Orlando, Fla. Jan. 27-29). ACM, New York, pp. 203-210. Google ScholarGoogle Scholar
  13. BARTAL, Y., FIAT, A., KARLOFF, H., AND VOHRA, R. 1992. New algorithms for an ancient scheduling problem. In Proceedings of the 24th Annual ACM Symposium on the Theory of Computing (Victoria, B.C., Canada, May 4-6). ACM, New York, pp. 51-58. Google ScholarGoogle Scholar
  14. BORODIN, A., LINIAL, N., AND SAKS, M. 1992. An optimal online algorithm for metrical task systems. J. ACM 39, 4 (Oct.), 745-763. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. GARAY, J., GOPAL, I., KUTTEN, S., MANSOUR, Y., AND YUNG, M. 1993. Efficient on-line call control algorithms. In Proceedings of 2nd Annual Israel Conference on Theory of Computing and Systems.Google ScholarGoogle Scholar
  16. GARAY, J. A., AND GOPAL, I.S. 1992. Call preemption in communication networks. In Proceedings of INFOCOM '92, vol. 44. (Florence, Italy). pp. 1043-1050. Google ScholarGoogle Scholar
  17. GAWLICK, R., KALMANEK, C., AND RAMAKRISHNAN, K. 1995a. On-line permanent virtual circuit routing. In Proceedings of IEEE Infocom (Apr.). IEEE, New York. Google ScholarGoogle Scholar
  18. GAWLICK, R., KAMATH, A., PLOTKIN, S., AND RAMAKRISHNAN, K. 1995b. Routing and admission control in general topology networks. Tech. Rep. STAN-CS-TR-95-1548. Stanford Univ., Stanford, CA. Google ScholarGoogle Scholar
  19. GRAHAM, R. L. 1966. Bounds for certain multiprocessing anomalies. Bell Syst. Tech. J. 45, 1563-1581.Google ScholarGoogle ScholarCross RefCross Ref
  20. GRAHAM, R. L., LAWLER, E. L., LENSTRA, J. K., AND RINNOOY NAN, A. H.G. 1979. Optimization and approximation in deterministic sequencing and scheduling: A survey. Ann. Disc. Math. 5, 287-326.Google ScholarGoogle ScholarCross RefCross Ref
  21. KAMATH, A., PALMON, O., AND PLOTKIN, S. 1996. Routing and admission control in general topology networks with poisson arrivals. In Proceedings of the 7th ACM-SIAM Symposium on Discrete Algorithms, ACM, New York, pp. 269-278. Google ScholarGoogle Scholar
  22. KARGER, D., PHILLIPS, S., AND TORNG, E. 1993. A better algorithm for an ancient scheduling problem. Unpublished manuscript.Google ScholarGoogle Scholar
  23. KARGER, D., AND PLOTKIN, S. 1995. Adding multiple cost constraints to combinatorial optimization problems, with applications to multicommodity flows. In Proceedings of the 27th Annual ACM Symposium on Theory of Computing (Las Vegas, Nev., May 29-June 1). ACM, New York, pp. 18-25. Google ScholarGoogle Scholar
  24. KARLIN, A. R., MANASSE, M. S., RUDOLPH, L., AND SLEATOR, D. D. 1988. Competitive snoopy caching. Algorithmica 1, 3, 70-119.Google ScholarGoogle Scholar
  25. KARP, R., VAZIRANI, U., AND VAZIRANI, g. 1990. An optimal algorithm for on-line bipartite matching. In Proceedings of the 22nd Annual ACM Symposium on the Theory of Computing (Baltimore, Md., May 14-16). ACM, New York, 352-358. Google ScholarGoogle Scholar
  26. KLEIN, P., PLOTKIN, S., STEIN, C., AND TARDOS, 1#. 1994. Faster approximation algorithms for the unit capacity concurrent flow problem with applications to routing and finding sparse cuts. SIAM J. Comput. 23, 3, 466-487. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. KLEINBERG, J., AND TARDOS, IE. 1995. Disjoint path in densely embedded graphs. In Proceedings of the 36th IEEE Annual Symposium on Foundations of Computer Science. IEEE, New York. Google ScholarGoogle Scholar
  28. LEIGHTON, T., MAKEDON, F., PLOTKIN, S., STEIN, C., TARDOS, t#., AND TRAGOUDAS, S. 1995. Fast approximation algorithms for multicommodity flow problem. J. Comput. Syst. Sci. 50, 228-243. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. HA, Y., AND PLOTKIN, S. 1996. Improved lower bounds for load balancing of tasks with unknown duration. Tech. Rep. STAN-CS-TN 96-37. Stanford Univ., Stanford, Calif. Google ScholarGoogle Scholar
  30. MANASSE, M. S., MCGEOCH, L. A., AND SLEATOR, D.D. 1988. Competitive algorithms for on-line problems. In Proceedings of the 20th Annual ACM Symposium on Theory of Computing, (Chicago, Ill., May 2-4). ACM, New York, pp. 322-332. Google ScholarGoogle Scholar
  31. PHILLIPS, S., AND WESTBROOK, J. 1993. Online load balancing and network flow. In Proceedings of the 25th Annual ACM Symposium on Theory of Computing, (San Diego, Calif., May 16-18) ACM, New York, pp. 402-411. Google ScholarGoogle Scholar
  32. PLOTKIN, S. 1995. Competitive routing in ATM networks. Special issue on Advances in the Fundamentals of Networking. IEEE J. Select. Areas Commun. 1128-1136. (Aug.).Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. PLOTKIN, S., SHMOYS, D., AND TARDOS, }#. 1995. Fast approximation algorithms for fractional packing and covering problems. Math. Op. Res. 20, 2, 257-301. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. SHAHROKHI, F., AND MATULA, D. 1990. The maximum concurrent flow problem. J. ACM 37, 2 (Apr.), 318-334. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. SHMOYS, D., WEIN, J., AND WILLIAMSON, D. P. 1991. Scheduling parallel machines on-line. In Proceedings of the 32nd IEEE Annual Symposium on Foundations of Computer Science. IEEE, New York, pp. 131-140. Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. SLEATOR, D. D., AND TARJAN, R.E. 1985. Amortized efficiency of list update and paging rules. Commun. ACM 28 2 (Feb.), 202-208. Google ScholarGoogle Scholar
  37. TAKAHASHI, H., AND MATSUYAMA, A. 1980. An approximate solution for the Steiner problem in graphs. Math. Japonica, 24.Google ScholarGoogle Scholar

Index Terms

  1. On-line routing of virtual circuits with applications to load balancing and machine scheduling

      Recommendations

      Reviews

      Douglas M. Campbell

      Point-to-point circuit routing is a generalization of online load balancing. Jobs arrive online and must be assigned immediately. Assigning a job to a machine increases the machine's load according to a load vector. All coordinates of the load vector are the same if all machines are related. If the machines are unrelated, then the coordinates are either infinity or a value that depends only on the job (not the machine). The goal is to minimize the maximum load. The effectiveness of an online algorithm is its competitive ratio: the ratio of the maximum relative load of the online algorithm to the maximum relative load achieved by an optimal offline algorithm as a function of n, the number of nodes in a network. The paper gives an algorithm that achieves a constant competitive ratio when the machines are related. It also gives an algorithm that achieves an O log n competitive ratio when the machines are unrelated. The result is tight in a directed network. That is, for any online algorithms in a directed network, there exists a scenario in which a log n increase in bandwidth is necessary. The paper contrasts these bounds with the bounds (which it proves) for a natural greedy approach. If the machines are related, the greedy approach has a competitive ratio of log n ; if the machines are unrelated, it has a competitive ratio of n . The paper solves the multicast online allocation problem by modifying its point-to-point algorithm to route over min-weight Steiner trees instead of min-weight paths. The same big-Oh bounds hold for multicast upon using a 2-approximation to the NP-hard problem of determining a min-weight Steiner tree.

      Access critical reviews of Computing literature here

      Become a reviewer for Computing Reviews.

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Journal of the ACM
        Journal of the ACM  Volume 44, Issue 3
        May 1997
        163 pages
        ISSN:0004-5411
        EISSN:1557-735X
        DOI:10.1145/258128
        • Editor:
        • F. T. Leighton
        Issue’s Table of Contents

        Copyright © 1997 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 May 1997
        Published in jacm Volume 44, Issue 3

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader