skip to main content
10.1145/2486001.2486030acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article
Free Access

Maple: simplifying SDN programming using algorithmic policies

Published:27 August 2013Publication History

ABSTRACT

Software-Defined Networking offers the appeal of a simple, centralized programming model for managing complex networks. However, challenges in managing low-level details, such as setting up and maintaining correct and efficient forwarding tables on distributed switches, often compromise this conceptual simplicity. In this pa- per, we present Maple, a system that simplifies SDN programming by (1) allowing a programmer to use a standard programming language to design an arbitrary, centralized algorithm, which we call an algorithmic policy, to decide the behaviors of an entire network, and (2) providing an abstraction that the programmer-defined, centralized policy runs, conceptually, "afresh" on every packet entering a network, and hence is oblivious to the challenge of translating a high-level policy into sets of rules on distributed individual switches. To implement algorithmic policies efficiently, Maple includes not only a highly-efficient multicore scheduler that can scale efficiently to controllers with 40+ cores, but more importantly a novel tracing runtime optimizer that can automatically record reusable policy decisions, offload work to switches when possible, and keep switch flow tables up-to-date by dynamically tracing the dependency of policy decisions on packet contents as well as the environment (system state). Evaluations using real HP switches show that Maple optimizer reduces HTTP connection time by a factor of 100 at high load. During simulated benchmarking, Maple scheduler, when not running the optimizer, achieves a throughput of over 20 million new flow requests per second on a single machine, with 95-percentile latency under 10 ms.

References

  1. {1} https://openflow.stanford.edu/display/Beacon/Home.Google ScholarGoogle Scholar
  2. T. Benson, A. Akella, and D. A. Maltz. Network Traffic Characteristics of Data Centers in the Wild. In Proc. of IMC, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Z. Cai, A. L. Cox, and T. S. Eugene Ng. Maestro: Balancing Fairness, Latency and Throughput in the OpenFlow Control Plane. Technical report, Rice, 2011.Google ScholarGoogle Scholar
  4. M. Casado, T. Koponen, R. Ramanathan, and S. Shenker. Virtualizing the Network Forwarding Plane. In Proc. of PRESTO, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Cbench. Cbench, 2012. {Online; accessed 10-April-2012}.Google ScholarGoogle Scholar
  6. A. R. Curtis, J. C. Mogul, J. Tourrilhes, P. Yalagandula, P. Sharma, and S. Banerjee. DevoFlow: Scaling Flow Management for High-Performance Networks. In Proc. of SIGCOMM, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. N. Foster, R. Harrison, M. J. Freedman, C. Monsanto, J. Rexford, A. Story, and D. Walker. Frenetic: a Net. Programming Language. In Proc. of ICFP, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. N. Gude, T. Koponen, J. Pettit, B. Pfaff, M. Casado, N. McKeown, and S. Shenker. NOX: Towards an Operating System for Networks. SIGCOMM Comput. Commun. Rev., 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. T. L. Hinrichs, N. S. Gude, M. Casado, J. C. Mitchell, and S. Shenker. Practical Declarative Network Management. In Proc. of WREN, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. T. Koponen, M. Casado, N. Gude, J. Stribling, L. Poutievski, M. Zhu, R. Ramanathan, Y. Iwata, H. Inoue, T. Hama, and S. Shenker. Onix: a Distributed Control Platform for Large-scale Production Networks. In Proc. of OSDI, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. S. Marlow, S. Peyton Jones, and S. Singh. Runtime Support for Multicore Haskell. In Proc. of ICFP, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. B. Marsh, M. Scott, T. LeBlanc, and E. Markatos. First-class User-level Threads. ACM SIGOPS Operating Systems Review, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. N. McKeown, T. Anderson, H. Balakrishnan, G. Parulkar, L. Peterson, J. Rexford, S. Shenker, and J. Turner. OpenFlow: Enabling Innovation in Campus Networks. SIGCOMM Comput. Commun. Rev., 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. C. Mogul et al. DevoFlow: Cost-effective Flow Management for High Performance Enterprise Networks. In Proc. of Hotnets, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. C. Monsanto, N. Foster, R. Harrison, and D. Walker. A Compiler and Run-time System for Network Programming Languages. In Proc. of POPL, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. C. Monsanto, J. Reich, N. Foster, J. Rexford, and D. Walker. Composing Software-Defined Networks. In Proc. of NSDI, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. D. Mosberger and T. Jin. httperf: a Tool for Measuring Web Server Performance. SIGMETRICS Perform. Eval. Rev., 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. D. Shah and P. Gupta. Fast Updating Algo. for TCAMs. IEEE Micro, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Simple network access control (SNAC). http://www.openflow.org/wp/snac/.Google ScholarGoogle Scholar
  20. D. E. Taylor and J. S. Turner. Classbench: a Packet Classification Benchmark. IEEE/ACM Trans. Networking, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. A. Tootoonchian, S. Gorbunov, Y. Ganjali, M. Casado, and R. Sherwood. On Controller Performance in Software-Defined Networks. In Hot-ICE, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. A. Voellmy, B. Ford, P. Hudak, and Y. R. Yang. Scaling Software-defined Network Controllers on Multicore Servers. YaleCS TR1468, 2012.Google ScholarGoogle Scholar
  23. A. Voellmy and P. Hudak. Nettle: Taking the Sting Out of Programming Network Routers. In Proc. of PADL, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Maple: simplifying SDN programming using algorithmic policies

        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
          SIGCOMM '13: Proceedings of the ACM SIGCOMM 2013 conference on SIGCOMM
          August 2013
          580 pages
          ISBN:9781450320566
          DOI:10.1145/2486001
          • cover image ACM SIGCOMM Computer Communication Review
            ACM SIGCOMM Computer Communication Review  Volume 43, Issue 4
            October 2013
            595 pages
            ISSN:0146-4833
            DOI:10.1145/2534169
            Issue’s Table of Contents

          Copyright © 2013 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: 27 August 2013

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          SIGCOMM '13 Paper Acceptance Rate38of246submissions,15%Overall Acceptance Rate554of3,547submissions,16%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader