Packet Classification for Core Routers: Is there an alternative to CAMs?


Florin Baboescu, Sumeet Singh, and George Varghese
In Proceedings of Infocom 2003



Summary:


The authors refined an earlier obervation by P. Cupta and N. McKeown and showed that every packet matches less than 20 rules when projecting the rule set to only the source-destination prefix pair. This observation made it practical to perform a 2D classification on source-destination prefix pair first and then search linearly on all corresponding rules.

The algorithm they presented is based on the basic Grid-of-Tries which they extended to work for more than 2 fields. Furture optimization is done using path compression and multibit compression techniques.

Performance comparison of RFC, HiCuts, BV, ABV, EGT, and EGT-PC shows that EGT-PC is a reasonably fast algorithm with minimal storage requirements that can fit into on-chip SRAM.

Critique:


  1. Comments on their main contributions:
  2. Incompleteness and inconsistency:
  3. The paper showed that RFC requires 24 Mb memory on a classifier of 2800 rules. However, RFC paper showed that using 793 packet classifiers from 101 different ISPs and enterprise networks, AdjGrps enabled RFC consumes less than 6.5 Mb for a concatenated classifier of 4000 rules. Is the comparision really fair? How will EGT-PC perform on databased used in RFC paper? The performance of classification algorithms mainly depends on the characteristics of the classifiers.
  4. All algorithmic classification approaches have a common problem, which is fast update when adding or removing rules are performed frequently. EGT-PC is advantageous in handling this issue compared to RFC, because complete recomputation is not needed and memory updates are expected to be limited.


Jing Lu