A Memory Efficient Algorithm for Packet Classification

  • Zhen Xu
  • Jun Sun
  • Jun Zhang
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4138)


In order to provide more value added services, the Internet needs to classify packets into flows for different treatment. High performance packet classification algorithms for large classifiers and edge classifiers are highly demanded.

In this paper, we will describe a new algorithm for packet classification that makes use of bits distribution features. It is a high level classification method. It always takes the bits from every dimension into account, instead of constraining the search process in some of the dimensions at every stage. The experiments provide the evidence that it has outstanding performance even for large edge classifiers. It is also scalable to IPv6.


Packet Classification Routing Hash table 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Gupta, P., McKeown, N.: Packet classification using hierarchical intelligent cuttings. In: Proc. of Hot Interconnects (1999)Google Scholar
  2. 2.
    Gupta, P., McKeown, N.: Packet Classification on Multiple Fields. In: Proc. of Sigcomm, Computer Communication Review (1999)Google Scholar
  3. 3.
    Baboescu, F., Singh, S., Varghese, G.: Packet classification for core routers: Is there an alternative to CAMs? In: Proc.of INFOCOM (2003)Google Scholar
  4. 4.
    Singh, S., Baboescu, F., Varghese, G., Wang, J.: Packet Classification Using Multidimensional Cutting. In: Proc. of ACM Sigcomm (2003)Google Scholar
  5. 5.
    Woo, T.: A modular approach to packet classification: Algorithms and results. In: Proc. of INFOCOM (2000)Google Scholar
  6. 6.
    Stiliadis, D., Lakshman, T.V.: High-speed policy-based packet forwarding using efficient multi-dimensional range matching. In: Proc. of ACM Sigcomm (1998)Google Scholar
  7. 7.
    Lunteren, J.V., Engbersen, T.: Fast and Scalable Packet Classification. IEEE Journal on Selected Areas in Communications (May 2003)Google Scholar
  8. 8.
    Srinivasan, V., Suri, S., Varghese, G., Waldvogel, M.: Fast and Scalable Layer for Switching. In: Proc. of ACM Sigcomm (September 1998)Google Scholar
  9. 9.
    Feldman, A., Muthukrishnan, S.: Tradeoffs for Packet Classification. In: Proc. of INFOCOM (2000)Google Scholar
  10. 10.
    Xu, Z.: Efficient Table Algorithms for the Next Generation IP Networks, Ph.D Thesis (2005)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Zhen Xu
    • 1
  • Jun Sun
    • 2
  • Jun Zhang
    • 1
  1. 1.School of Electronic and Information EngineeringBeihang Univeristy 
  2. 2.Chinese Academy of Space Technology 

Personalised recommendations