Harry: A Scalable SIMD-based Multi-literal Pattern Matching Engine for Deep Packet Inspection

SIMD公司 计算机科学 并行计算 瓶颈 可扩展性 文字(数理逻辑) 网络数据包 深包检验 吞吐量 匹配(统计) 算法 嵌入式系统 计算机网络 操作系统 统计 数学 无线
作者
Hao Xu,Harry Chang,Wenjun Zhu,Yang Hong,Geoff Langdale,Kun Qiu,Jin Zhao
标识
DOI:10.1109/infocom53939.2023.10229022
摘要

Deep Packet Inspection (DPI) is a significant network security technique. It examines traffic workloads by searching for specific rules. Since every byte of packets needs to be examined by many literal rules, multi-literal matching becomes the performance bottleneck of DPI. FDR, the fastest multi-literal matching engine on CPUs, takes advantage of Single-Instruction-Multiple-Data (SIMD) to alleviate this bottleneck and achieves a performance boost over the widely-used Aho-Corasick (AC) algorithm. However, FDR does not deeply exploit the data-level parallelism of SIMD and its SIMD vector utilization is only 50%. Besides, limited by certain SIMD shift instructions, it cannot benefit from advanced SIMD instruction sets. To overcome these issues, we propose Harry, a scalable and SIMD-based multi-literal matching engine. Harry adopts a column-vector-based matching algorithm to improve the data-level parallelism and SIMD vector utilization. To support the algorithm, it takes two encoding methods to compress the mask table. Also, it utilizes shuffle instruction to implement shift. We implement Harry on commodity CPU and evaluate it with real network traffic and DPI rules. Our evaluation shows that Harry reaches a throughput of 30∼70Gbit/s, up to 52x that of AC and 2.09x of FDR. It has been successfully deployed in Hyperscan.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
小明完成签到 ,获得积分10
1秒前
Rain发布了新的文献求助10
1秒前
时尚之桃完成签到 ,获得积分10
2秒前
鹿至发布了新的文献求助10
2秒前
丘比特的应助被bakerwm采纳,获得10
2秒前
3秒前
科目三的应助被后GAI采纳,获得10
3秒前
英勇的莺发布了新的文献求助10
3秒前
goenkrrj发布了新的文献求助10
3秒前
lzsxjd发布了新的文献求助10
3秒前
Sg关闭了Sg的文献求助
4秒前
美丽冬卉发布了新的文献求助10
4秒前
4秒前
ccc发布了新的文献求助10
5秒前
5秒前
5秒前
5秒前
李小刀完成签到,获得积分20
6秒前
cyp完成签到,获得积分10
7秒前
哼哼发布了新的文献求助10
7秒前
科研通AI6.3的应助被shuimu采纳,获得10
7秒前
wdl对应助文件撤销了驳回
7秒前
7秒前
开心夜云完成签到,获得积分10
7秒前
冰晨完成签到,获得积分10
8秒前
时尚的满天完成签到,获得积分10
8秒前
8秒前
泡芙发布了新的文献求助10
9秒前
天涯若比邻完成签到,获得积分10
9秒前
LZX完成签到,获得积分10
9秒前
耍酷季节的应助被王威采纳,获得100
10秒前
10秒前
zhikaiyici的应助被美丽冬卉采纳,获得10
10秒前
充电宝的应助被时尚的满天采纳,获得10
11秒前
alexzlmmd发布了新的文献求助10
11秒前
完美世界的应助被艾云欣采纳,获得10
11秒前
orixero的应助被yu采纳,获得10
11秒前
12秒前
整齐睫毛完成签到,获得积分10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of Sport Coaching Research 1000
突发性耳聋患者听觉障碍相关症状群管理的最佳证据总结 500
Orthognathic Surgery - 2 Volume Set 500
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
Approaches to Qualitative Research 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8206844
求助须知:如何正确求助?哪些是违规求助? 9590172
关于积分的说明 21927242
捐赠科研通 7811152
什么是DOI,文献DOI怎么找? 3441837
关于科研通互助平台的介绍 2564094
邀请新用户注册赠送积分活动 2489295