首页> 外文会议>2nd international conference on security of information and networks 2009 >DFA-based and SIMD NFA-based Regular Expression Matching on Cell BE for Fast Network Traffic Filtering
【24h】

DFA-based and SIMD NFA-based Regular Expression Matching on Cell BE for Fast Network Traffic Filtering

机译:在单元BE上基于DFA和基于SIMD NFA的正则表达式匹配,可进行快速的网络流量过滤

获取原文

摘要

Regular expression matching is the heart of many data processing routines, such as string search, network traffic filtering, etc. The traditional way of regexp matching is building and execution of a deterministic finite automaton (DFA), that provides O(1) processing time per 1 input symbol for any regular expression. But this technique almost always forces many modern SIMD-processors to perform regexp search in scalar mode, thus it doesn't use the most part of their computational power.This paper represents traditional straightforward DFA along with another regexp implementation, based on nondeterministic finite automata (NFA) SIMD-simulation on Cell Broadband Engine processor. Software implementation of NFA-based SIMD algorithm achieves as much as 10 Gbit/s per one Cell BE processor with 512 NFA states, thus it is feasible for preliminary network traffic filtering of suspicious objects, while DFA-based scalar one gains up to 60 Gbit/s with 60-state automaton. One Cell BE processor can maintain NFA of 6000..7000 overall states simultaneously, so if one wants to use signatures with more that 512 states, it's possible with linear performance-to-signatures tradeoff.
机译:正则表达式匹配是许多数据处理例程的核心,例如字符串搜索,网络流量过滤等。正则表达式匹配的传统方式是建立和执行确定性有限自动机(DFA),该处理机提供O(1)处理时间任何正则表达式的每1个输入符号。但是,这种技术几乎总是迫使许多现代SIMD处理器在标量模式下执行正则表达式搜索,因此,它并没有使用它们的大部分计算能力。 本文基于Cell Broadband Engine处理器上的非确定性有限自动机(NFA)SIMD模拟,展示了传统的直接DFA以及另一种正则表达式实现。基于NFA的SIMD算法的软件实现每一个具有512个NFA状态的Cell BE处理器可实现高达10 Gbit / s的速度,因此对于可疑对象的初步网络流量过滤是可行的,而基于DFA的标量之一最多可获取60 Gbit / s与60状态自动机。一个Cell BE处理器可以同时保持6000..7000的NFA总体状态,因此,如果要使用具有512个以上状态的签名,则可以在性能与签名之间进行线性权衡。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号