Skip to main content

Advertisement

Log in

ERFC: An Enhanced Recursive Flow Classification Algorithm

  • Regular Paper
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

Packet classification on multi-fields is a fundamental mechanism in network equipments, and various classification solutions have been proposed. Because of inherent difficulties, many of these solutions scale poorly in either time or space as rule sets grow in size. Recursive Flow Classification (RFC) is an algorithm with a very high classifying speed. However, its preprocessing complexity and memory requirement are rather high. In this paper, we propose an enhanced RFC (ERFC) algorithm, in which a hash-based aggregated bit vector scheme is exploited to speed up its preprocessing procedure. A compressed and cacheable data structure is also introduced to decrease total memory requirement and improve its searching performance. Evaluation results show that ERFC provides a great improvement over RFC in both space requirement and preprocessing time. The search time complexity of ERFC is equivalent to that of RFC in the worst case; and its average classifying speed is improved by about 100%.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Gupta P, McKeown N. Algorithms for packet classification. IEEE Network, Special Issue, Mar. 2001, 15(2): 24–32.

    Google Scholar 

  2. Gupta P, McKeown N. Packet classification on multiple fields. ACM SIGCOMM Computer Communication Review, Oct. 1999, 29(4): 147–160.

    Article  Google Scholar 

  3. Lakshman T V, Stidialis D. High-speed policy-based packet forwarding using efficient multi-dimensional range matching. ACM SIGCOMM Computer Communication Review, Oct. 1998, 28(4): 203–214.

    Article  Google Scholar 

  4. Baboescu F, Varghese G. Scalable packet classification. IEEE/ACM Transactions on Networking, Feb. 2005, 13(1): 2–14.

    Article  Google Scholar 

  5. Srinivasan V, Suri S, Varghese G. Packet classification using tuple space search. ACM SIGCOMM Computer Communication Review, Oct. 1999, 29(4): 135–146.

    Article  Google Scholar 

  6. Baboescu F, Singh S, Varghese G. Packet classification for core routers: Is there an alternative to CAMs. In Proc. IEEE INFOCOM 2003, San Francisco, USA, Mar. 30-Apr. 3, 2003, vol.1, pp. 53–63.

  7. Srinivasan V, Suri S, Varghese G, Waldvogel M. Fast and scalable layer four switching. ACM SIGCOMM Computer Communication Review, Oct. 1998, 28(4): 191–202.

    Article  Google Scholar 

  8. Xu K, Wu J, Yu Z, Xu M. A non-collision hash Trie-Tree based fast IP classification algorithm. Journal of Computer Science and Technology, 2002, 17(2): 219–226.

    Article  MATH  MathSciNet  Google Scholar 

  9. Gupta P, McKeown N. Packet classification using hierarchical intelligent cuttings. IEEE Micro, Jan. 2000, 20(1): 34–41.

    Article  Google Scholar 

  10. Singh S, Baboescu F, Varghese G, Wang J. Packet classification using multidimensional cutting. In Proc. the 2003 Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications (ACM SIGCOMM), Karlsruhe, Germany, Aug. 2003, pp.213–224.

  11. Hari A, Suri S, Parulkar G. Detecting and resolving packet filter conflicts. In Proc. IEEE INFOCOM 2000, Tel-Aviv, Israel, Mar. 26-30, 2000, Vol.3, pp.1203–1212.

  12. Bacoescu F, Varghese G. Fast and scalable conflict detection for packet classifiers. Computer Networks, Aug. 2003, 42(6): 717–735.

    Article  Google Scholar 

  13. Feldman A, Muthukrishnan S. Tradeoffs for packet classification. In Proc. IEEE INFOCOM 2000, Tel-Aviv, Israel, Mar. 26-30, 2000, Vol.3, pp.1193–1202.

  14. Woo T Y C. A Modular approach to packet classification: Algorithms and results. In Proc. IEEE INFOCOM 2000, Tel-Aviv, Israel, Mar. 26-30, 2000, Vol.3, pp.1213–1222.

  15. Taylor D E, Turner J S. ClassBench: A packet classification benchmark. IEEE/ACM Transaction on Networking, Jun. 2007, 15(3): 499–511.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiang-Yang Gong.

Additional information

Supported by the National Basic Research 973 Program of China under Grant No. 2009CB320504 and the National Hi-Tech Research and Development 863 Program of China under Grant Nos. 2008AA01A324 and 2009AA01Z210.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Gong, XY., Wang, WD. & Cheng, SD. ERFC: An Enhanced Recursive Flow Classification Algorithm. J. Comput. Sci. Technol. 25, 958–969 (2010). https://doi.org/10.1007/s11390-010-9380-7

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-010-9380-7

Keywords

Navigation