Acceleration of Packet Classification Using Adjacency List of Rules
Acceleration of Packet Classification Using Adjacency List of Rules
复制标题
使用规则邻接表加速数据包分类
DOI:
10.1109/icccn.2019.8846923
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Mikawa K
中科院分区:
文献类型:
--
作者:
Fuchino T.;Harada T.;Tanaka K.;Mikawa K
Packet classification is used to determine the behavior of packets incoming to network devices. Since it is achieved using linear search on a classification rule list, a large number of rules leads to longer communication latency. To decrease this latency, the problem is generalized as optimal rule ordering (ORO), which aims to identify the order of rules that minimizes the classification latency caused by packet classification while preserving the classification policy. Since ORO is known to be NP-complete, various heuristics for ORO have been proposed. Sub-graph merging (SGM) is the state-of-the-art heuristic algorithm for ORO. However, the SGM algorithm does not terminate in most cases because of inappropriate updates of the array that stores the number of reachable rules. Moreover, since SGM uses the adjacent matrix to maintain the preceding relation on the rules, a considerable amount of time is consumed when the preceding relation is complex. In this paper, we propose a correction for SGM that can terminate for any instance. The proposed algorithm decreases reordering time by about 99\% compared to SGM. Furthermore, we propose a reordering algorithm that selects sub-graphs more comprehensively than SGM. Doing so decreases the latency in comparison with SGM. We show the efficiency of the algorithms through experiments.