A flow caching mechanism for fast packet forwarding

  • Authors:
  • Ye Tung;Hao Che

  • Affiliations:
  • Department of Electrical Engineering, The Pennsylvania State University, University Park, PA 16803, USA;Santera Systems, Inc., Plano, TX 75074, USA

  • Venue:
  • Computer Communications
  • Year:
  • 2002

Quantified Score

Hi-index 0.24

Visualization

Abstract

Next generation access routers and edge devices need to provide functionalities, for layer-4 packet forwarding and firewall/security checks. Consequently, a challenging issue concerns how to achieve fast packet filtering and forwarding at low cost. This paper studies the flow caching mechanisms for fast layer-4 packet forwarding. We show by model analysis that flow caching performance is not very sensitive to the flow cache table lookup speed but it is sensitive to the cache hit ratio. By making use of the available layer-4 information, we introduce two filtering modules to enhance the cache hit ratio. We demonstrate, by real trace simulation, that by adding these two filtering modules, the cache miss ratio can be reduced by up to 50% and the full header filtering speed reduced by up to five-fold. The proposed flow caching mechanism is potentially useful for accessing routers and edge devices where costs are at a premium and where software based filtering modules are dynamically generated.