• DocumentCode
    165883
  • Title

    An optimal range matching algorithm for TCAM software simulation

  • Author

    Jangir, Mohan Lal ; Trivedi, Uday

  • Author_Institution
    Samsung R&D Inst. India, Bangalore, India
  • fYear
    2014
  • fDate
    24-27 Sept. 2014
  • Firstpage
    128
  • Lastpage
    133
  • Abstract
    This paper presents an algorithm for matching a search key against multiple entries with arbitrary ranges. These entries are referred as range fields of rules. The range matching is an important feature required in routers or gateways to implement policy based routing or firewall. This feature is usually provided by TCAM which can be implemented either in H/W or S/W. This paper presents an algorithm to simulate S/W TCAM. The algorithm can match a 16-bit or bigger search key against multiple range fields by decomposing the key and range field in 8-bit sub-fields. The paper explains an application of this algorithm using Lucent Bit Vector to heavily optimize memory consumption. The algorithm proposes to expand a range field into maximum 3 range fields for 16-bit range matching. Similarly, worst case expansion for 24-bit range field and 32-bit range field is 5 and 7 respectively.
  • Keywords
    content-addressable storage; digital simulation; firewalls; pattern matching; Lucent bit vector; S/W TCAM; TCAM software simulation; firewall; gateways; memory consumption; multiple entries; optimal range matching algorithm; policy based routing; range fields; routers; search key matching; ternary content addressable memory; Decision support systems; Handheld computers; Informatics; Range matching; TCAM;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Advances in Computing, Communications and Informatics (ICACCI, 2014 International Conference on
  • Conference_Location
    New Delhi
  • Print_ISBN
    978-1-4799-3078-4
  • Type

    conf

  • DOI
    10.1109/ICACCI.2014.6968201
  • Filename
    6968201