Hyperflex: A SIMD-based DFA Model for Deep Packet Inspection
Yang Liu, Wenjun Zhu, Harry Chang, Yang Hong, Geoff Langdale, Kun Qiu, Jin Zhao

TL;DR
Hyperflex is a SIMD-optimized DFA model that significantly improves deep packet inspection throughput by enabling high-speed regex matching on commodity CPUs, outperforming traditional DFA models.
Contribution
It introduces a novel SIMD-based DFA model with region detection and hybrid transition algorithms, enhancing regex matching performance for DPI applications.
Findings
Achieves up to 2.27x throughput improvement over existing DFA models.
Reaches a throughput of 8.89 Gbit/s on real network traffic.
Successfully deployed in Hyperscan, boosting its performance.
Abstract
Deep Packet Inspection (DPI) has been extensively employed for network security. It examines traffic payloads by searching for regular expressions (regex) with the Deterministic Finite Automaton (DFA) model. However, as the network bandwidth and ruleset size are increasing rapidly, the conventional DFA model has emerged as a significant performance bottleneck of DPI. Leveraging the Single-Instruction-Multiple-Data (SIMD) instruction to perform state transitions can substantially boost the efficiency of the DFA model. In this paper, we propose Hyperflex, a novel SIMD-based DFA model designed for high-performance regex matching. Hyperflex incorporates a region detection algorithm to identify regions suitable for acceleration by SIMD instructions across the whole DFA graph. Also, we design a hybrid state transition algorithm that enables state transition in both SIMD-accelerated and normal…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Packet Processing and Optimization · Network Security and Intrusion Detection · Software-Defined Networks and 5G
