4.5 Article

Scaling by Learning: Accelerating Open vSwitch Data Path With Neural Networks

Journal

IEEE-ACM TRANSACTIONS ON NETWORKING
Volume 31, Issue 3, Pages 1230-1243

Publisher

IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
DOI: 10.1109/TNET.2022.3215143

Keywords

Software defined networking; neural networks; packet switching

Ask authors/readers for more resources

In this study, we aim to scale up Open vSwitch (OVS) to support hundreds of thousands of OpenFlow rules by accelerating its packet classification mechanism using the NuevoMatch algorithm. We have overcome the challenge of slow training rate in NuevoMatch and achieved significant speed improvement. We integrated NuevoMatch with OVS in two design options: as an extra caching layer and as a replacement for OVS's data-path. Evaluation results show substantial speedups and rule update capabilities compared to the original OVS.
Open vSwitch (OVS) is a widely used open-source virtual switch implementation. In this work, we seek to scale up OVS to support hundreds of thousands of OpenFlow rules by accelerating the core component of its data-path - the packet classification mechanism. To do so we use NuevoMatch, a recent algorithm that uses neural network inference to match packets, and promises significant scalability and performance benefits. We overcome the primary algorithmic challenge of the slow training rate in the vanilla NuevoMatch, speeding it up by over three orders of magnitude. This improvement enables two design options to integrate NuevoMatch with OVS: (1) as an extra caching layer in front of OVS's megaflow cache, and (2) using it to completely replace OVS's data-path while performing classification directly on OpenFlow rules, and obviating control-path upcalls. Comprehensive evaluation on real-world packet traces and ClassBench rules demonstrates geometric mean speedups of 1.9x and 12.3x for the first and second designs, respectively, for 500K rules, with the latter also supporting up to 60K OpenFlow rule updates/second, by far exceeding the original OVS.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available