Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3373360.3380842acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article

Memory-Efficient Membership Encoding in Switches

Published:04 March 2020Publication History

ABSTRACT

Network applications often define policies to manage network traffic based on its attributes (e.g., a service chain, valid next-hops, permission flags). These policies match against packets' attributes in switches before being applied. However, the prior works of identifying attributes all incur a high memory cost in the data plane. This paper presents MEME, a scheme that clusters the attributes in packets to reduce the memory usage. MEME also leverages match-action tables and reconfigurable parsers on modern hardware switches to achieve 87.7% lower memory usage, and applies a graph algorithm to achieve 1-2 orders of magnitude faster compilation time than the prior state of the art [12]. These performance gains pave the way for deployment of a real system desired by the world's largest Internet Exchange Points.

References

  1. Burton H. Bloom. 1970. Space/Time Trade-offs in Hash Coding with Allowable Errors. Commun. ACM 13, 7 (1970), 422--426.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Pat Bosshart, Glen Gibb, Hun-Seok Kim, George Varghese, Nick McKeown, Martin Izzard, Fernando Mujica, and Mark Horowitz. 2013. Forwarding Metamorphosis: Fast Programmable Match-action Processing in Hardware for SDN. In ACM SIGCOMM. 99--110.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Michael Dalton, David Schultz, Jacob Adriaens, Ahsan Arefin, Anshuman Gupta, Brian Fahs, Dima Rubinstein, Enrique Cauich Zermeno, Erik Rubow, James Alexander Docauer, Jesse Alpert, Jing Ai, Jon Olson, Kevin DeCabooter, Marc de Kruijf, Nan Hua, Nathan Lewis, Nikhil Kasinadhuni, Riccardo Crepaldi, Srinivas Krishnan, Subbaiah Venkata, Yossi Richter, Uday Naik, and Amin Vahdat. 2018. Andromeda: Performance, Isolation, and Velocity at Scale in Cloud Network Virtualization. In 15th USENIX Symposium on Networked Systems Design and Implementation (NSDI 18). USENIX Association, Renton, WA, 373--387. https://www.usenix.org/conference/nsdi18/presentation/daltonGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  4. Qunfeng Dong, Suman Banerjee, Jia Wang, Dheeraj Agrawal, and Ashutosh Shukla. 2006. Packet classifiers in ternary CAMs can be smaller. In SIGMETRICS/Performance. 311--322.Google ScholarGoogle Scholar
  5. Abdol-Hossein Esfahanian. 2006. On computing the connectivities of graphs and digraphs. Networks 14 (10 2006), 355 - 366. https://doi.org/10.1002/net.3230140211Google ScholarGoogle Scholar
  6. Seyed Kaveh Fayazbakhsh, Luis Chiang, Vyas Sekar, Minlan Yu, and Jeffrey C. Mogul. 2014. Enforcing Network-Wide Policies in the Presence of Dynamic Middlebox Actions using FlowTags. In USENIX Symposium on Networked Systems Design and Implementation. USENIX Association, Seattle, WA, 543--546.Google ScholarGoogle Scholar
  7. Daniel Firestone. 2017. VFP: A Virtual Switch Platform for Host SDN in the Public Cloud. In 14th USENIX Symposium on Networked Systems Design and Implementation (NSDI 17). USENIX Association, Boston, MA, 315--328. https://www.usenix.org/conference/nsdi17/technical-sessions/presentation/firestoneGoogle ScholarGoogle Scholar
  8. Arpit Gupta, Robert MacDavid, Rüdiger Birkner, Marco Canini, Nick Feamster, Jennifer Rexford, and Laurent Vanbever. 2016. An Industrial-scale Software Defined Internet Exchange Point. In USENIX NSDI.Google ScholarGoogle Scholar
  9. Arpit Gupta, Laurent Vanbever, Muhammad Shahbaz, Sean P. Donovan, Brandon Schlinker, Nick Feamster, Jennifer Rexford, Scott Shenker, Russ Clark, and Ethan Katz-Bassett. 2014. SDX: A Software Defined Internet Exchange. In ACM SIGCOMM.Google ScholarGoogle Scholar
  10. Nanxi Kang, Ori Rottenstreich, Sanjay Rao, and Jennifer Rexford. 2017. Alpaca: Compact Network Policies with Attribute-Encoded Addresses. IEEE/ACM Transactions on Networking (June 2017).Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Alex X. Liu, Chad R. Meiners, and Eric Torng. 2010. TCAM Razor: A systematic approach towards minimizing packet classifiers in TCAMs. IEEE/ACM Transactions on Networking 18, 2 (2010), 490--500.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Robert MacDavid, Rudiger Birkner, Ori Rottenstreich, Arpit Gupta, Nick Feamster, and Jennifer Rexford. 2017. Concise Encoding of Flow Attributes in SDN Switches. In ACM SIGCOMM Symposium on SDN Research. 48--60.Google ScholarGoogle Scholar
  13. Nick McKeown, Tom Anderson, Hari Balakrishnan, Guru Parulkar, Larry Peterson, Jennifer Rexford, Scott Shenker, and Jonathan Turner. 2008. OpenFlow: Enabling Innovation in Campus Networks. ACM SIGCOMM Computer Communications Review 38, 2 (March 2008), 69--74.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Mengying Pan, Robert MacDavid, Shir Landau-Feibish, and Jennifer Rexford. 2019. Memory-Efficient Membership Encoding in Switches Tech Report. https://sites.google.com/view/memetechreport/homeGoogle ScholarGoogle Scholar
  15. GitHub Repo. 2020. https://github.com/PrincetonUniversity/Meme.Google ScholarGoogle Scholar
  16. Ori Rottenstreich and Isaac Keslassy. 2015. The Bloom Paradox: When Not to Use a Bloom Filter. IEEE/ACM Transactions on Networking 23, 3 (June 2015), 703--716. https://doi.org/10.1109/TNET.2014.2306060Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Ori Rottenstreich, Isaac Keslassy, Avinatan Hassidim, Haim Kaplan, and Ely Porat. 2016. Optimal In/Out TCAM Encodings of Ranges. IEEE/ACM Transactions on Networking 24, 1 (2016), 555--568.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Brandon Schlinker, Todd Arnold, Italo Cunha, and Ethan Katz-Bassett. 2019. PEERING: Virtualizing BGP at the Edge for Research. In Proc. ACM CoNEXT. Orlando, FL.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. RIPE Routing Information Service. 2020. https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/ris-raw-data.Google ScholarGoogle Scholar
  20. Brent Stephens, Alan L. Cox, and Scott Rixner. 2016. Scalable Multi-Failure Fast Failover via Forwarding Table Compression. In Proceedings of the Symposium on SDN Research (SOSR '16). Association for Computing Machinery, New York, NY, USA, Article Article 9, 12 pages. https://doi.org/10.1145/2890955.2890957Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Memory-Efficient Membership Encoding in Switches

    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
      SOSR '20: Proceedings of the Symposium on SDN Research
      March 2020
      151 pages
      ISBN:9781450371018
      DOI:10.1145/3373360

      Copyright © 2020 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: 4 March 2020

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

      Acceptance Rates

      Overall Acceptance Rate7of43submissions,16%
    • Article Metrics

      • Downloads (Last 12 months)7
      • Downloads (Last 6 weeks)1

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader