TransTuple: Toward Fast Packet Classification via Adaptive Tuple Replacement
作者:Jiashuo Yu, Longlong Zhu, Rongbang Wu, Linying Zheng, Hongyan Liu, Dong Zhang, Chunming Wu · 年份:2024 · DOI:10.1109/secon64284.2024.10934909 · 被引用次数:1 · 研究领域:Network Packet Processing and Optimization、Network Security and Intrusion Detection、Internet Traffic Analysis and Secure E-voting
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.