PT-Tree: A Cascading Prefix Tuple Tree for Packet Classification in Dynamic Scenarios
For software-defined networking (SDN), multi-field packet classification plays a key role in the processing of flows, mainly involving fast packet classification and dynamic rule updates. Due to the increasing complexity and size of rulesets, it is becoming more difficult to design a packet classifi...
Gespeichert in:
Veröffentlicht in: | IEEE/ACM transactions on networking 2024-02, Vol.32 (1), p.506-519 |
---|---|
Hauptverfasser: | , , , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | For software-defined networking (SDN), multi-field packet classification plays a key role in the processing of flows, mainly involving fast packet classification and dynamic rule updates. Due to the increasing complexity and size of rulesets, it is becoming more difficult to design a packet classification algorithm which achieves fast lookup and update. In this paper, we propose a novel structure, PT-Tree, for packet classification with high overall performance. PT-Tree cascades the prefixes of multiple discriminatory bytes to achieve efficient partitioning of the ruleset, thereby reducing the search space and ensuring the performance of both lookup and update. Meanwhile, a multi-granularity priority-aware pruning mechanism (MPPM) based on PT-Tree filters out most of the candidate subsets, which further improves the lookup speed. In addition, we propose an auxiliary tree-based optimization method (ATOM) to cope with severely overlapping rules in the search space. Therefore, PT-Tree can better handle the case where the rules in certain fields are skewed. We conduct comprehensive experiments to evaluate the performance of PT-Tree. The results show that compared with the state-of-the-art, the lookup time of PT-Tree is reduced by at least 49.95% on average. Moreover, PT-Tree is also at least 7.13x and 33x faster than the baselines in terms of the update and construction speed on average, respectively. Meanwhile, the performance stability of PT-Tree on multiple rulesets improves by up to 13.68 times. |
---|---|
ISSN: | 1063-6692 1558-2566 |
DOI: | 10.1109/TNET.2023.3289029 |