skip to main content
10.1145/777412.777472acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
Article

A near optimal scheduler for switch-memory-switch routers

Published:07 June 2003Publication History

ABSTRACT

We present a simple and near optimal randomized parallel scheduling algorithm for scheduling packets in routers based on the Switch-Memory-Switch (SMS)architecture, which emulates 'output queuing' by using a collection of small memories within the switch to buffer packets, and which forms the basis of the fastest routers in use today. For a router with N inputs and N outputs, our algorithm computes the schedule in O(log* N) rounds, where a round is a communication of a few bits between input ports and memory together with simple local computation at the inputs and memory. Furthermore, by using an O(log* N) deep pipeline at each input, our algorithm computes the schedule in a constant number of rounds. Our pipelined algorithm is quite simple and achieves optimal (i.e.,constant) throughput with a tiny O(log* N) delay.We show that the total amount of buffer memory required by our algorithm is close to the minimum required. We also show that the number of buffer memories is within an εN additive term of 2N -- 1, for any positive constant ù>0 (and is within an additive term of o(N)for the basic scheduler), where 2N -- 1 is the minimum number of memories needed under adversarial placement of packets. Furthermore we show that the number of extra memories that we use over the minimum of N that is required in the offline version, is within a constant factor of the minimum required by any on-line scheduler, even if that scheduler is allowed to fail occasionally.Our scheduling algorithm is randomized and works with high probability in N. We also prove that it has the 'self-stabilizing' property, i.e., it resumes its normal behavior if occasional lapses occur due to the probabilistic nature of the algorithm.

References

  1. Noga Alon and Joel H. Spencer. The Probabilistic Method. Wiley, John & Sons, Incorporated, 2000.Google ScholarGoogle Scholar
  2. T. Anderson, S. Owicki, J. Saxe, and C. Thacker. High-speed switch scheduling for local area networks. ACM Transactions on Computer Systems, November 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Aziz, A. Prakash, and V. Ramachandran. A log log N stage pipelined scheduler for SMS architecture. manuscript, November 2002.Google ScholarGoogle Scholar
  4. R. Barker, P. Massiglia, and L. Krantz. Storage Area Networking Essentials. McGraw-Hill, 2001.Google ScholarGoogle Scholar
  5. C.-S. Chang, D.-S. Lee, and Y.-S. Jou. Load balanced Birkhoff-von Neumann switches, part I: one-stage buffering. Computer Communications, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. C.-S. Chang, D.-S. Lee, and C.-M. Lien. Load balanced Birkhoff-von Neumann switches, part II: multi-stage buffering. Computer Communications, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S.-T. Chuang, A. Goel, N. McKeown, and B. Prabhakar. Matching output queueing with a combined input output queued switch. In IEEE Infocom, 1999.Google ScholarGoogle Scholar
  8. A. Czumaj, F. Meyer auf de Heide, and V. Stemann. Contention resolution in hashing based shared memory simulations. SIAM Jour. Comput., 29(5), 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Duato. Interconnection Networks. Morgan-Kaufmann, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. A. E. Eckberg and T. C. Hou. Effects of output buffer sharing on buffer requirements in an atdm packet switch. In IEEE Infocom, 1988.Google ScholarGoogle Scholar
  11. M. Farley. Building storage area networks. McGraw-Hill, 2001.Google ScholarGoogle Scholar
  12. W. Futral. InfiniBand Architecture: Development and Deployment--A Strategic Guide to Server I/O Solutions. Intel Press, 2001.Google ScholarGoogle Scholar
  13. John Hennessy, David Patterson, and David Goldberg. Computer Architecture: A Quantitative Approach. Morgan-Kaufmann, third edition, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Hluchyj and M. Karol. Queueing in high-performance packet switches. IEEE Journal on Selected Areas in Communications, 6(9), December 1988.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. S. Keshav. An Engineering Approach to Computer Networking. Addison-Wesley, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. S. Keshav and R. Sharma. Issues and Trends in Router Design. IEEE Communication Magazine, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. Lev, N. Pippenger, and L. Valiant. A fast parallel algorithm for routing in permutation networks. IEEE Transactions on Computers, 30(2), February 1981.Google ScholarGoogle ScholarCross RefCross Ref
  18. Y. Matias and U. Vishkin. Towards a theory of nearly constant time parallel algorithms. In Proc. IEEE FOCS, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. N. McKeown. iSLIP: A Scheduling Algorithm for Input-Queued Switches. IEEE Transactions on Networking, 7(2), April 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. N. McKeown, V. Anantharam, and J. Walrand. Achieving 100% throughput in an input-queued switch. In IEEE Infocom, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. N. McKeown, M. Izzard, A. Mekkittikul, W. Ellersick, and M. Horowitz. The tiny tera: a packet switch core. IEEE Micro, 17(1):27--33, January 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Juniper Networks. High speed switching device. US Patent 5,905,726, 1999.Google ScholarGoogle Scholar
  23. A. Pattavina. Switching Theory. Wiley, John & Sons, Incorporated, 2000.Google ScholarGoogle Scholar
  24. L. Peterson and B. Davie. Computer Networks. Morgan-Kaufmann, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. A. Prakash, S. Sharif, and A. Aziz. An O(lg2n) algorithm for output queuing. In IEEE Infocom, 2002.Google ScholarGoogle Scholar
  26. R. Ramaswami and K. Sivarajan. Optical Networks: A Practical Perspective. Morgan-Kaufmann, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. T. Stern and K. Bala. Multiwavelength optical networks: a layered approach. Prentice-Hall, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. J. van Lint and R. Wilson. A Course in Combinatorics. Cambridge University Press, 1992.Google ScholarGoogle Scholar
  29. A. Wilson, J. Schade, and R. Thornburg. Introduction to PCI Express. Intel Press, 2002.Google ScholarGoogle Scholar

Index Terms

  1. A near optimal scheduler for switch-memory-switch routers

    Recommendations

    Comments

    Login options

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

    Sign in
    • Published in

      cover image ACM Conferences
      SPAA '03: Proceedings of the fifteenth annual ACM symposium on Parallel algorithms and architectures
      June 2003
      374 pages
      ISBN:1581136617
      DOI:10.1145/777412

      Copyright © 2003 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: 7 June 2003

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      SPAA '03 Paper Acceptance Rate38of106submissions,36%Overall Acceptance Rate447of1,461submissions,31%

      Upcoming Conference

      SPAA '24

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader