• DocumentCode
    813234
  • Title

    An on-chip IP address lookup algorithm

  • Author

    Sun, Xuehong ; Zhao, Yiqiang Q.

  • Author_Institution
    Canadian Space Agency, Verdun, Que., Canada
  • Volume
    54
  • Issue
    7
  • fYear
    2005
  • fDate
    7/1/2005 12:00:00 AM
  • Firstpage
    873
  • Lastpage
    885
  • Abstract
    This paper proposes a new data compression algorithm to store the routing table in a tree structure using very little memory. This data structure is tailored to a hardware design reference model presented in this paper. By exploiting the low memory access latency and high bandwidth of on-chip memory, high-speed packet forwarding can be achieved using this data structure. With the addition of pipeline in the hardware, IP address lookup can only be limited by the memory access speed. The algorithm is also flexible for different implementation. Experimental analysis shows that, given the memory width of 144 bits, our algorithm needs only 400kb memory for storing a 20k entries IPv4 routing table and five memory accesses for a search. For a 1M entries IPv4 routing table, 9Mb memory and seven memory accesses are needed. With memory width of 1,068 bits, we estimate that we need 100Mb memory and six memory accesses for a routing table with 1M IPv6 prefixes.
  • Keywords
    IP networks; data compression; memory architecture; search problems; storage allocation; system-on-chip; table lookup; tree data structures; IP address lookup; data compression algorithm; hardware design reference model; on-chip memory; pipeline processing; range search; routing table; tree data structure; Data structures; Delay; Hardware; IP networks; Internet; Optical fibers; Random access memory; Routing; System-on-a-chip; Tree data structures; IP address lookup; Index Terms- Algorithms; hardware; on-chip memory.; range search; tree data structures;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.2005.107
  • Filename
    1432670