arrow
Return

Hyperflex: A SIMD-Based DFA Model for Deep Packet Inspection

delete2026-01-01
delete0
PRE
AI
Y
Yang Liu
W
Wenjun Zhu
H
Harry Chang
G
Geoff Langdale
K
Kun Qiu
赵
赵进 (Jin Zhao)
DOI:10.1109/TNSM.2025.3636946delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 regions, and ensures seamless state transition across the two types of regions. We have implemented Hyperflex on the commodity CPU and evaluated it with real network traffic and DPI regexes. Our evaluation results indicate that Hyperflex reaches a throughput of 8.89Gbit/s, representing an improvement of up to 2.27 times over Mcclellan, the default DFA model of the prominent multi-pattern regex matching engine Hyperscan. As a result, Hyperflex has been successfully deployed in Hyperscan, significantly enhancing its performance.
Keywords:
Deep packet inspection
regular expression
deterministic finite automata

Journal

IEEE Transactions on Network and Service Management cover
IEEE Transactions on Network and Service Management
IF:
5.4
Papers:
650
Citations:
9.2K

Organization

F
fudan university
Scholars:
11.8W
Papers: 7.7W
Citations: 121
I
intel asia-pacific research and development ltd.
Scholars:
3
Papers: 1
Citations: 0
Cited Papers

Cited Papers

Regular Expression Matching with Memristor TCAMs for Network Security
err2018-07-17
err0
PREAI
errCatherine E. Graves; Wen Ma; Xia Sheng; Brent Buchanan; Le Zheng; Si-Ty Lam; Xuema Li; Sai Rahul Chalamalasetti; Lennie Kiyama; Martin Foltin; John Paul Strachan; Matthew P. Hardy
errShare
errSave
An improved DFA for fast regular expression matching
err2008-09-30
err0
errOAAI
errDomenico Ficara; Stefano Giordano; Gregorio Procissi; Fabio Vitucci; Gianni Antichi; Andrea Di Pietro
errShare
errSave
Kargus
err2012-10-16
err0
PREAI
errMuhammad Asim Jamshed; Jihyung Lee; Sangwoo Moon; Insu Yun; Deokjin Kim; Sungryoul Lee; Yung Yi; KyoungSoo Park
errShare
errSave
Accelerating Deep Packet Inspection With SIMD-Based Multi-Literal Matching Engine
err2026-01-01
err0
PREAI
errXu,Hao; Chang,Harry; Qiu,Kun; Hong,Yang; Zhu,Wenjun; Wang,Xiang; Li,Baoqian; Zhao,Jin
errShare
errSave
A-DFA
err2013-04-01
err0
errOAAI
errMichela Becchi; Patrick Crowley
errShare
errSave
errShare
errSave
Learning fallible Deterministic Finite Automata
err1995-01-01
err0
errOAAI
errDana Ron; Ronitt Rubinfeld
errShare
errSave
researcher View more