1. Fast Online Packet Classification With Convolutional Neural Network
- Author
-
Yanbiao Li, Penghao Zhang, Xinyi Zhang, Gaogang Xie, Xin Wang, and Kave Salamatian
- Subjects
Computer Networks and Communications ,Computer science ,Network packet ,Hash function ,Throughput ,computer.software_genre ,Convolutional neural network ,Hash table ,Computer Science Applications ,Tuple space ,Data mining ,Electrical and Electronic Engineering ,Tuple ,Software-defined networking ,computer ,Software - Abstract
Packet classification is a critical component in network appliances. Software Defined Networking and cloud computing update the rulesets frequently for flexible policy configuration. Tuple Space Search (TSS), implemented in Open vSwitch (OVS), achieves fast rule updating at the sacrifice of the classification rate. In TSS, each tuple is managed by a hash table and classifying a packet needs to go through all hash tables. Merging tuples can reduce the number of hash tables, but inevitably increases the hash conflicts that may even worsen the classification performance in some cases. No existing algorithm meets the need of both fast packet classification and online rule updating. In this paper, we propose Convolutional Neural Network (CNN)-based Range Partition (CRP) to achieve fast packet classification and online update simultaneously. CRP exploits CNN-based image recognition to quickly partition tuples into range spaces upon the change of ruleset distribution, which reduces hash operations while avoiding rule overlapping caused by hashing many rules to the same location of the hash table. Experimental results demonstrate that CRP achieves 3.2x classification speed and 4.2x update speed on average compared with state-of-the-art algorithms. We also implement CRP in OVS. The throughput of CRP-OVS is 10x that of native OVS.
- Published
- 2021
- Full Text
- View/download PDF