DOT: Towards Fast Decision Tree Packet Classification by Optimizing Rule Partitions
Packet classification is a crucial component of modern networks. Existing decision tree-based algorithms alleviate the rule replication problem caused by overlapping rules in the ruleset via rule partitioning. They partition the ruleset into multiple subsets based on rule characteristics to reduce rule overlaps. However, existing algorithms fail to address the overlap between rules in the same set, seriously decreasing speed and memory performance. In this paper, we propose DOT, a framework for optimizing rule partitions before constructing decision trees. Its key idea is to migrate rules in subsets based on rule overlaps and the features of heuristics used to construct trees, as well as reorganize rules aided by tuples. DOT finds out the migrated rule candidates using rule dependency graphs and heuristic features, then transforms the rule migration problem into an integer linear programming problem and solves for the optimal migration strategy. Further, we employ a tuple-assisted approach to accelerate rule matching. Experiments show that DOT enhances existing decision tree-based algorithms, improving lookup speed by 1.69 ×, reducing average 24.85% memory consumption and 31.03% decision tree depth.
Authors
- Longlong Zhu (ORCID: https://orcid.org/0000-0001-6128-3065)
- Jiashuo Yu (ORCID: https://orcid.org/0000-0002-3094-6687)
- Chunming Wu (ORCID: https://orcid.org/0000-0001-7958-9687)
- Xinyang Chen (ORCID: https://orcid.org/0000-0003-1145-510X)
- Dong Zhang (ORCID: https://orcid.org/0000-0002-6379-0244)
- Long Huang (ORCID: https://orcid.org/0009-0005-7231-1312)
- Linying Zheng
Institutions
- Peng Cheng Laboratory (CN)
- Fuzhou University (CN)
Publication Details
- Published
- 2024-09-09
- DOI
- https://doi.org/10.1109/lcn60385.2024.10639711
- Primary Topic
- Network Packet Processing and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00