OD-REM: On-Demand Regular Expression Matching on FPGAs for Efficient Deep Packet Inspection

深包检验 匹配(统计) 现场可编程门阵列 计算机科学 网络数据包 正则表达式 模式匹配 按需 人工智能 嵌入式系统 计算机网络 数学 操作系统 多媒体 统计
作者
Weihai Xu,Zheng Zhou,Jin Zhang,Yiming Jiang,Peng Yi
标识
DOI:10.1109/icfpt59805.2023.00029
摘要

regex (regular expression) matching is one of the most demanding stages of deep packet inspection process. Numerous studies explored FPGA-based acceleration techniques for regex matching. Existing FPGA-based regex matching engines, such as Grapefruit, assume that each packet potentially match all rules and employ a pipelined structure where each packet traverses each automata sequentially. However, in practical DPI systems, it is often the case that only a small subset of rules needs to be applied to a given packet. Consequently, subjecting every packet to processing by all automata incurs significant throughput wastage. In fact, prior to regex matching, a fast pattern matching stage can ascertain the rules that a packet may satisfy (these rules are referred to as 'candidate rules' for the packet). Based on this observation, we propose OD-REM, an On-Demand Regex Matching architecture on FPGAs. Within OD-REM, each packet is processed by automata corresponding to its candidate rules only, with these automata being dynamically generated as needed. We design a simple yet efficient scheduler to allocate packets to their candidate automata. We implemented ODREM containing 64 automata on Xilinx U200 smart NIC. ODREM obtained a throughput of 27. 6Gbps (13.8times faster than Grapefruit), and consumed 6.06% logic resources and 10.28% BRAMs of the on-board FPGA (Xilinx VU9P), respectively. It is worth pointing out that OD-REM only need more UltraRAMs to accommodate more regex rules, leaving logic resource and BRAM consumption unchanged.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
layummy发布了新的文献求助10
刚刚
987654关注了科研通微信公众号
刚刚
FL完成签到,获得积分10
刚刚
哈哈哈发布了新的文献求助10
刚刚
新秀完成签到,获得积分10
刚刚
YT完成签到,获得积分10
刚刚
zhzzhz完成签到,获得积分10
1秒前
宇宙星河完成签到,获得积分10
1秒前
1秒前
Ehgnix发布了新的文献求助10
2秒前
bingo完成签到,获得积分10
2秒前
Tiamo完成签到,获得积分10
2秒前
wanying完成签到,获得积分10
2秒前
星辰大海应助dangdang123采纳,获得10
3秒前
biiii完成签到,获得积分10
3秒前
神揽星辰入梦完成签到,获得积分10
3秒前
lixiangyi1发布了新的文献求助10
4秒前
4秒前
crazy发布了新的文献求助30
4秒前
Hello应助BlackSwan采纳,获得10
4秒前
神的孩子发布了新的文献求助10
5秒前
dyk完成签到,获得积分0
5秒前
5秒前
5秒前
5秒前
蔺文博完成签到,获得积分10
6秒前
和谐访琴完成签到,获得积分10
7秒前
7秒前
水牛完成签到,获得积分10
7秒前
8秒前
8秒前
9秒前
高高发布了新的文献求助10
9秒前
康康完成签到 ,获得积分10
9秒前
彩色的过客完成签到,获得积分10
9秒前
美丽映寒发布了新的文献求助10
9秒前
搜集达人应助Inory007采纳,获得10
9秒前
隐形曼青应助Kiki采纳,获得10
9秒前
BlackSwan完成签到,获得积分10
9秒前
碧蓝白玉完成签到,获得积分10
9秒前
高分求助中
Modern Epidemiology, Fourth Edition 5000
Kinesiophobia : a new view of chronic pain behavior 5000
Molecular Biology of Cancer: Mechanisms, Targets, and Therapeutics 3000
Digital Twins of Advanced Materials Processing 2000
Propeller Design 2000
Weaponeering, Fourth Edition – Two Volume SET 2000
First commercial application of ELCRES™ HTV150A film in Nichicon capacitors for AC-DC inverters: SABIC at PCIM Europe 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 化学工程 生物化学 物理 计算机科学 内科学 复合材料 催化作用 物理化学 光电子学 电极 冶金 细胞生物学 基因
热门帖子
关注 科研通微信公众号,转发送积分 6005417
求助须知:如何正确求助?哪些是违规求助? 7529527
关于积分的说明 16114233
捐赠科研通 5151112
什么是DOI,文献DOI怎么找? 2759933
邀请新用户注册赠送积分活动 1737153
关于科研通互助平台的介绍 1632262