Greedy Prefix Cache for IP Routing Lookups

  • Authors:
  • Zhuo Huang;Gang Liu;Jih-Kwon Peir

  • Affiliations:
  • -;-;-

  • Venue:
  • ISPAN '09 Proceedings of the 2009 10th International Symposium on Pervasive Systems, Algorithms, and Networks
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

As the rapid growth of Internet and the communication link speed, it becomes increasingly challenging for network processors to timely route the incoming traffic to the destination ports. The traditional approach must look up the routing table based on the destination IP address to determine the output port. The ternary CAM approach provides fast associative look up, but is very costly for large routing tables. The trie-based algorithm allows inexpensive searching, but may not satisfy the growing speed requirement. Previous studies showed that the overall routing time can be shortened by adding a small prefix cache for the general trie-based routing algorithms. In caching the prefix, however, the nested prefixes are difficult to cache due to the constraint of the longest prefix matching requirement. This paper presents a greedy prefix caching technique to improve the prefix cache performance that allows caching the largest sub-tree of each prefix including the parent prefixes. Our experiment results show that the prefix cache using the proposed upgrade scheme can reduce the miss ratio by about 6-8% comparing to the best existing prefix caching mechanism.