Optimizing Multi-Dimensional Packet Classification for Multi-Core Systems

被引:5
|
作者
Shen, Tong [1 ,2 ]
Zhang, Da-Fang [1 ]
Xie, Gao-Gang [2 ,3 ,4 ]
Zhang, Xin-Yi [2 ,4 ]
机构
[1] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha 410082, Hunan, Peoples R China
[2] Chinese Acad Sci, Inst Comp Technol, Network Technol Res Ctr, Beijing 100190, Peoples R China
[3] Chinese Acad Sci, Inst Comp Technol, State Key Lab Comp Architecture, Beijing 100190, Peoples R China
[4] Univ Chinese Acad Sci, Beijing 100049, Peoples R China
基金
中国国家自然科学基金;
关键词
multi-dimensional; multi-core; packet classification; ALGORITHMS;
D O I
10.1007/s11390-018-1873-9
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Packet classification has been studied for decades; it classifies packets into specific flows based on a given rule set. As software-defined network was proposed, a recent trend of packet classification is to scale the five-tuple model to multi-tuple. In general, packet classification on multiple fields is a complex problem. Although most existing softwarebased algorithms have been proved extraordinary in practice, they are only suitable for the classic five-tuple model and difficult to be scaled up. Meanwhile, hardware-specific solutions are inflexible and expensive, and some of them are power consuming. In this paper, we propose a universal multi-dimensional packet classification approach for multi-core systems. In our approach, novel data structures and four decomposition-based algorithms are designed to optimize the classification and updating of rules. For multi-field rules, a rule set is cut into several parts according to the number of fields. Each part works independently. In this way, the fields are searched in parallel and all the partial results are merged together at last. To demonstrate the feasibility of our approach, we implement a prototype and evaluate its throughput and latency. Experimental results show that our approach achieves a 40% higher throughput than that of other decomposed-based algorithms and a 43% lower latency of rule incremental update than that of the other algorithms on average. Furthermore, our approach saves 39% memory consumption on average and has a good scalability.
引用
收藏
页码:1056 / 1071
页数:16
相关论文
共 50 条
  • [1] Optimizing Multi-Dimensional Packet Classification for Multi-Core Systems
    Tong Shen
    Da-Fang Zhang
    Gao-Gang Xie
    Xin-Yi Zhang
    [J]. Journal of Computer Science and Technology, 2018, 33 : 1056 - 1071
  • [2] A multi-dimensional packet classification algorithm
    Yao, XM
    Hu, GM
    Li, LM
    [J]. 2004 INTERNATIONAL CONFERENCE ON COMMUNICATION, CIRCUITS, AND SYSTEMS, VOLS 1 AND 2: VOL 1: COMMUNICATION THEORY AND SYSTEMS, 2004, : 670 - 673
  • [3] Optimizing UPC programs for multi-core systems
    Zheng, Yili
    [J]. SCIENTIFIC PROGRAMMING, 2010, 18 (3-4) : 183 - 191
  • [4] A Parallel Packet Processing Method On Multi-Core Systems
    Li, Yunchun
    Qiao, Xinxin
    [J]. 2011 TENTH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS TO BUSINESS, ENGINEERING AND SCIENCE (DCABES), 2011, : 78 - 81
  • [5] Fast Packet Classification Using Multi-Dimensional Encoding
    Huang, Chi Jia
    Chen, Chien
    [J]. IEICE TRANSACTIONS ON COMMUNICATIONS, 2009, E92B (06) : 2044 - 2053
  • [6] Optimizing Many-field Packet Classification on FPGA, Multi-core General Purpose Processor, and GPU
    Qu, Yun R.
    Zhang, Hao H.
    Zhou, Shijie
    Prasanna, Viktor K.
    [J]. ELEVENTH 2015 ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS, 2015, : 87 - 98
  • [7] Runtime Resource Allocation in Multi-Core Packet Processing Systems
    Wu, Qiang
    Wolf, Tilman
    [J]. HPSR: 2009 INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING, 2009, : 62 - 69
  • [8] Towards Optimized Packet Classification Algorithms for Multi-Core Network Processors
    Qi, Yaxuan
    Xu, Bo
    He, Fei
    Zhou, Xin
    Yu, Jianming
    Li, Jun
    [J]. 2007 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPP), 2007, : 9 - 16
  • [9] Multi-core Implementation of Decomposition-Based Packet Classification Algorithms
    Zhou, Shijie
    Qu, Yun R.
    Prasanna, Viktor K.
    [J]. PARALLEL COMPUTING TECHNOLOGIES (PACT 2013), 2013, 7979 : 105 - 119
  • [10] Leveraging Parallelism for Multi-dimensional Packet Classification on Software Routers
    Ma, Yadi
    Banerjee, Suman
    Lu, Shan
    Estan, Cristian
    [J]. SIGMETRICS 2010: PROCEEDINGS OF THE 2010 ACM SIGMETRICS INTERNATIONAL CONFERENCE ON MEASUREMENT AND MODELING OF COMPUTER SYSTEMS, 2010, 38 (01): : 227 - 238