• DocumentCode
    2668596
  • Title

    Space-Efficient TCAM-Based Classification Using Gray Coding

  • Author

    Bremler-Barr, Anat ; Hendler, Danny

  • Author_Institution
    Efi Arazi Sch. of Comput. Sci., Herzliya
  • fYear
    2007
  • fDate
    6-12 May 2007
  • Firstpage
    1388
  • Lastpage
    1396
  • Abstract
    Ternary content-addressable memories (TCAMs) are increasingly used for high-speed packet classification. TCAMs compare packet headers against all rules in a classification database in parallel and thus provide high throughput unparalleled by software-based solutions. TCAMs are not well-suited, however, for representing rules that contain range fields. Such rules have to be represented by multiple TCAM entries. The resulting range expansion can dramatically reduce TCAM utilization. The majority of real-life database ranges are short. We present a novel algorithm called short range gray encoding (SRGE) for the efficient representation of short range rules. SRGE encodes range borders as binary reflected gray codes and then represents the resulting range by a minimal set of ternary strings. SRGE is database independent and does not use TCAM extra bits. For the small number of ranges whose expansion is not significantly reduced by SRGE, we use dependent encoding that exploits the extra bits available on today´s TCAMs. Our comparative analysis establishes that this hybrid scheme utilizes TCAM more efficiently than previously published solutions. The SRGE algorithm has worst-case expansion ratio of 2W-4, where W is the range-field length . We prove that any TCAM encoding scheme has worst-case expansion ratio W or more.
  • Keywords
    Gray codes; Internet; content-addressable storage; telecommunication network routing; Gray coding; Internet; classification database; network routing; short range gray encoding; software-based solution; space-efficient TCAM-based packet classification; ternary content-addressable memory; worst-case expansion ratio; Communications Society; Computer science; Databases; Encoding; Internet; Pattern matching; Reflective binary codes; Routing; Streaming media; Throughput;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    INFOCOM 2007. 26th IEEE International Conference on Computer Communications. IEEE
  • Conference_Location
    Anchorage, AK
  • ISSN
    0743-166X
  • Print_ISBN
    1-4244-1047-9
  • Type

    conf

  • DOI
    10.1109/INFCOM.2007.164
  • Filename
    4215746