• DocumentCode
    802234
  • Title

    A 2-Level TCAM Architecture for Ranges

  • Author

    Chang, Yeim-Kuan

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Eng., Nat. Cheng Kung Univ., Tainan
  • Volume
    55
  • Issue
    12
  • fYear
    2006
  • Firstpage
    1614
  • Lastpage
    1629
  • Abstract
    As the demand for high-quality Internet increases, emerging network applications are spurring the need for faster, feature-rich, and cost-effective routers. Multifield packet classification in routers has been a computation-intensive data path function for software implementation. Therefore, solutions for packet classification based on hardware design, such as ternary content addressable memory (TCAM), are necessary to sustain gigabit line processing rate. Traditionally, TCAMs have been designed for storing prefixes. However, multifield packet classification usually involves two fields of arbitrary ranges that are TCP/IP layer 4 source and destination ports. Storing ranges in TCAMs relies on decomposing each individual range into multiple prefixes, which leads to range-to-prefix blowout. To reduce the total number of prefixes needed to represent all ranges, this paper proposes a 2-level TCAM architecture and two range-to-prefix conversion schemes. In the first proposed scheme, designed for disjoint ranges, the maximum number of entries needed in TCAM is 2m - 1 for m disjoint ranges. In the second proposed scheme, designed for contiguous ranges, only m TCAM entries are needed. In a general case of n arbitrary ranges, all ranges can first be converted into disjoint ranges or contiguous ranges and then the proposed algorithms can be applied. As a result, only 4n - 3 TCAM entries are needed for the disjoint ranges and only 2n + 1 TCAM entries are needed for contiguous ranges. This paper also proposes insertion and deletion algorithms to accommodate incremental changes to the range sets. The experiments made show that the proposed range-to-prefix conversion schemes perform better than the existing schemes in terms of the number of required TCAM entries and execution time for range update operations
  • Keywords
    IP networks; Internet; content-addressable storage; memory architecture; packet switching; telecommunication network routing; transport protocols; 2-level ternary content addressable memory architecture; TCP/IP layer 4 destination port; TCP/IP layer 4 source port; computation-intensive data path function; deletion algorithm; hardware design; high-quality Internet; insertion algorithm; multifield packet classification; network router; range update operation; range-to-prefix blowout; range-to-prefix conversion scheme; software implementation; Application software; Associative memory; Computer architecture; Detectors; Energy consumption; Filtering; Hardware; IP networks; Intrusion detection; TCPIP; TCAM; contiguous ranges.; disjoint ranges; ranges;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.2006.189
  • Filename
    1717392