Expediating IP lookups with reduced power via TBM and SST supernode caching

  • Authors:
  • Ying Zhang;Lu Peng;Wencheng Lu;Lide Duan;Suresh Rai

  • Affiliations:
  • Department of Electrical & Computer Engineering, Louisiana State University, Baton Rouge, LA 70803, United States;Department of Electrical & Computer Engineering, Louisiana State University, Baton Rouge, LA 70803, United States;Department of Computer & Information Science & Engineering, University of Florida, Gainesville, FL 32611, United States;Department of Electrical & Computer Engineering, Louisiana State University, Baton Rouge, LA 70803, United States;Department of Electrical & Computer Engineering, Louisiana State University, Baton Rouge, LA 70803, United States

  • Venue:
  • Computer Communications
  • Year:
  • 2010

Quantified Score

Hi-index 0.24

Visualization

Abstract

In this paper, we propose a novel supernode caching scheme to reduce IP lookup latencies and energy consumption in network processors. In stead of using an expensive TCAM based scheme, we implement a set-ssociative SRAM based cache. We use two different algorithms, tree bitmap (TBM) and shape shifting trie (SST), to organize an IP routing table as a supernode tree composed of a group of supernodes. We add a small supernode cache in-between the processor and the low-level memory containing the IP routing table in a tree structure. The supernode cache stores recently visited supernodes of the longest matched prefixes in the IP routing tree. A supernode hitting in the cache reduces the number of accesses to the low-level memory, leading to a fast IP lookup. According to our simulations, up to 72% memory accesses can be avoided by a 128KB TBM supernode cache for the selected three trace files, and up to 78% memory accesses can be reduced while using a same size of SST supernode cache. Average TBM and SST supernode cache miss ratios are as low as 4% and 7%, respectively. Compared to a TCAM with the same size, the TBM and SST supernode caches can both reduce 77% of energy consumption.