A classifier consists of a set of rules for classifying packets based on header fields. Because core routers can have fairly large (e.g., 2000 rule) database and must use limited SRAM to meet OC-768 speeds, the best existing classification algorithms (RFC, HiCuts, ABV) are precluded because of the large amount of memory they need. Thus the general belief is that hardware solutions like CAMs are needed, despite the amount of board area and power they consume. In this paper we provide an algorithm based on a fast search structure capable of providing search results with a throughput closer to the speed of the line where speed of the line may be OC 192, i.e. a packet every 32 ns. It is based on a decision tree in which each node can be seen as a k-dimensional hypercube, in which each dimension of the hypercube is associated with a dimension in the rules of the classifier. In each node a decision is taken based on information from one or multiple fields. The fields chosen to be used in a decision process of a node are based on a set of heuristics that we develop. These heuristics take into account the overall memory that may be occupied by the whole search data structure as well as providing a maximal acceptable depth to the decision tree. The search structure also allows fast incremental updates, with an update time comparable with the time of the search. It can also be pipelined in which case the throughput may be increased to about one packet per 8 ns (limited by the speed of SRAM) in which case the packet classification operation may be applicable to OC 768 links.
The authors of these documents have submitted their reports to this technical report series for the purpose of non-commercial dissemination of scientific work. The reports are copyrighted by the authors, and their existence in electronic format does not imply that the authors have relinquished any rights. You may copy a report for scholarly, non-commercial purposes, such as research or instruction, provided that you agree to respect the author's copyright. For information concerning the use of this document for other than research or instructional purposes, contact the authors. Other information concerning this technical report series can be obtained from the Computer Science and Engineering Department at the University of California at San Diego, email@example.com.
[ Search ]