skip to main content
10.1145/1185347.1185356acmconferencesArticle/Chapter ViewAbstractPublication PagesancsConference Proceedingsconference-collections
Article

Fast packet classification using bloom filters

Published:03 December 2006Publication History

ABSTRACT

Ternary Content Addressable Memory (TCAM), although widely used for general packet classification, is an expensive and high power-consuming device. Algorithmic solutions which rely on commodity memory chips are relatively inexpensive and power-efficient but have not been able to match the generality and performance of TCAMs. Therefore, the development of fast and power-efficient algorithmic packet classification techniques continues to be a research subject.In this paper we propose a new approach to packet classification which combines architectural and algorithmic techniques. Our starting point is the well-known crossproduct algorithm which is fast but has significant memory overhead due to the extra rules needed to represent the crossproducts. We show how to modify the crossproduct method in a way that drastically reduces the memory requirement without compromising on performance. Unnecessary accesses to the off-chip memory are avoided by filtering them through on-chip Bloom filters. For packets that match p rules in a rule set, our algorithm requires just 4 + p + ε independent memory accesses to return all matching rules, where ε << 1 is a small constant that depends on the false positive rate of the Bloom filters. Using two commodity SRAM chips, a throughput of 38 Million packets per second can be achieved. For rule set sizes ranging from a few hundred to several thousand filters, the average rule set expansion factor attributable to the algorithm is just 1.2 to 1.4. The average memory consumption per rule is 32 to 45 bytes.

References

  1. IDT Generic Part: 71P72604 http://www.idt.com/?catID=58745&genID=71P72604.Google ScholarGoogle Scholar
  2. IDT Generic Part: 75K72100 http://www.idt.com/?catID=58523&genID=75K72100.Google ScholarGoogle Scholar
  3. Florin Baboescu and George Varghese. Scalable Packet Classification. In ACM SIGCOMM, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Sarang Dharmapurikar, P. Krishnamurthy, and Dave Taylor. Longest Prefix Matching using Bloom Filters. In ACM SIGCOMM, August 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Pankaj Gupta and Nick McKeown. Packet classification on multiple fields. In ACM SIGCOMM, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. T. V. Lakshman and D. Stiliadis. High-speed policy-based packet forwarding using efficient multi-dimensional range matching. In ACM SIGCOMM, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. K. Lakshminarayanan, Anand Rangarajan, and Srinivasan Venkatachary. Algorithms for Advanced Packet Classification using Ternary CAM. In ACM SIGCOMM, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Haoyu Song, Sarang Dharmarpurikar, Jonathan Turner, and John Lockwood. Fast Hash Table Lookup Using Extended Bloom Filter: An Aid to Network Processing. In ACM SIGCOMM, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. V. Srinivasan, George Varghese, Subhash Suri, and Marcel Waldvogel. Fast and Scalable Layer Four Switching. In ACM SIGCOMM, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. David Taylor and Jon Turner. Scalable Packet Classification Using Distributed Crossproducting of Field Labels. In IEEE INFOCOM, July 2005.Google ScholarGoogle ScholarCross RefCross Ref
  11. David E. Taylor. Survey and taxonomy of packet classification techniques. Washington University Technical Report, WUCSE-2004, 2004.Google ScholarGoogle Scholar
  12. George Varghese. Network Algorithmics: An Interdisciplinary Approach to Designing Fast Networked Devices. 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Fang Yu and Randy H. Katz. Efficient Multi-Match Packet Classification with TCAM. In IEEE Hot Interconnects, August 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Fang Yu, T. V. Lakshman, Martin Austin Motoyama, and Randy H. Katz. Ssa: a power and memory efficient scheme to multi-match packet classification. In ANCS '05: Proceedings of the 2005 symposium on Architecture for networking and communications systems, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Fast packet classification using bloom filters

    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
      ANCS '06: Proceedings of the 2006 ACM/IEEE symposium on Architecture for networking and communications systems
      December 2006
      202 pages
      ISBN:1595935800
      DOI:10.1145/1185347

      Copyright © 2006 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: 3 December 2006

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate88of314submissions,28%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader