TY - JOUR
T1 - A Flow Adaptive Multi-Dimensional Packet Classification Algorithm
AU - Wan, Yun Kai
AU - Song, Tian
AU - Liu, Miao Miao
AU - Liu, Yi
AU - Li, Dan
N1 - Publisher Copyright:
© 2017, Science Press. All right reserved.
PY - 2017/7/1
Y1 - 2017/7/1
N2 - The most important function of the data plane in software defined network (SDN) is to classify packets by using tens of packet header fields, namely multi-dimensional packet classification, which is highly extended from the most commonly used five-tuple fields in the contemporary packet classification. The number of dimensions is still increasing with the development of SDN. In this paper, we analyzed the drawbacks of the classification algorithms directly extended from five-tuple packet classification and surveyed the existed algorithms used in practical systems, such as Open vSwitch. Then we presented a flow adaptive algorithm based on bit vector for multi-dimensional packet classification, especially designed for tens of header fields. This algorithm first classifies packet against each header field separately, correlates them and optimizes the search speed by dynamically re-order different fields, and then intentionally skips some wildcard fields according to the locality of traffic flow. The packet classification on different header fields may exploit specific design algorithm according to different matching methodologies of header fields. Experimental results on the Open vSwitch platform, which is an implementation of OpenFlow protocol in SDN, show that the proposed algorithm achieves about two times speedup in user mode than the current algorithm in Open vSwitch, and over 40% speedup than other algorithms directly extended from five-tuple classifications.
AB - The most important function of the data plane in software defined network (SDN) is to classify packets by using tens of packet header fields, namely multi-dimensional packet classification, which is highly extended from the most commonly used five-tuple fields in the contemporary packet classification. The number of dimensions is still increasing with the development of SDN. In this paper, we analyzed the drawbacks of the classification algorithms directly extended from five-tuple packet classification and surveyed the existed algorithms used in practical systems, such as Open vSwitch. Then we presented a flow adaptive algorithm based on bit vector for multi-dimensional packet classification, especially designed for tens of header fields. This algorithm first classifies packet against each header field separately, correlates them and optimizes the search speed by dynamically re-order different fields, and then intentionally skips some wildcard fields according to the locality of traffic flow. The packet classification on different header fields may exploit specific design algorithm according to different matching methodologies of header fields. Experimental results on the Open vSwitch platform, which is an implementation of OpenFlow protocol in SDN, show that the proposed algorithm achieves about two times speedup in user mode than the current algorithm in Open vSwitch, and over 40% speedup than other algorithms directly extended from five-tuple classifications.
KW - Bit vector
KW - Flow adaptable
KW - OpenFlow
KW - Packet classification
KW - Software defined network
UR - http://www.scopus.com/inward/record.url?scp=85031766815&partnerID=8YFLogxK
U2 - 10.11897/SP.J.1016.2017.01543
DO - 10.11897/SP.J.1016.2017.01543
M3 - Article
AN - SCOPUS:85031766815
SN - 0254-4164
VL - 40
SP - 1543
EP - 1555
JO - Jisuanji Xuebao/Chinese Journal of Computers
JF - Jisuanji Xuebao/Chinese Journal of Computers
IS - 7
ER -