TransTuple: Toward Fast Packet Classification via Adaptive Tuple Replacement
Open vSwitch (OVS) is a widely used software switch in virtualized environments and software-defined networks. OVS uses tuple space search (TSS) for packet classification in the datapath, allowing fast network rule updates, but the increasing number of rules poses a classification performance challenge. To address this, existing methods incorporate decision trees with TSS to form a hybrid structure, enhancing classification speed. However, decision trees tend to overfit the initial ruleset, becoming unbalanced after rule updates and leading to a sharp decline in classification performance. In this paper, we propose TransTuple, a framework to optimize hybrid structures for fast packet classification under rule updates. The core idea of TransTuple is to identify bottleneck branches in decision trees that degrade performance and to replace them with lightweight tuples, providing better throughput under rule updates. These tuples maintain rules using hash tables, enabling fast updating and packet matching on bottleneck branches. We use TransTuple to optimize three state-of-the-art hybrid structured methods, i.e., CutTSS, TabTree, and MBitTree, achieving up to a 3.1x improvement in classification speed during rule updates.
Authors
- Longlong Zhu (ORCID: https://orcid.org/0000-0001-6128-3065)
- Hongyan Liu (ORCID: https://orcid.org/0000-0001-7753-0294)
- Jiashuo Yu (ORCID: https://orcid.org/0000-0002-3094-6687)
- Rongbang Wu (ORCID: https://orcid.org/0009-0007-3526-6350)
- Chunming Wu (ORCID: https://orcid.org/0000-0001-7958-9687)
- Dong Zhang (ORCID: https://orcid.org/0000-0002-6379-0244)
- Linying Zheng
Institutions
- Zhejiang University of Science and Technology (CN)
- Fuzhou University (CN)
Publication Details
- Published
- 2024-12-02
- DOI
- https://doi.org/10.1109/secon64284.2024.10934909
- Citations
- 1
- Primary Topic
- Network Packet Processing and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.49
Funders
- National Key Research and Development Program of China