首页> 外文会议>ACM/IEEE symposium on architectures for networking and communications systems >M-DFA (Multithreaded DFA): An Algorithm for Reduction of State Transitions and Acceleration of REGEXP Matching
【24h】

M-DFA (Multithreaded DFA): An Algorithm for Reduction of State Transitions and Acceleration of REGEXP Matching

机译:M-DFA(多线程DFA):一种减少状态转换和加速REGEXP匹配的算法

获取原文

摘要

This paper proposes a multi-thread based regular expression (regexp) matching algorithm, M-DFA (multithreaded DFA), for parallel computer architectures such as multi-core processors and graphic processing units (GPU). At the thread level, one thread is designated to traverse the DFA of a possible matching path until its termination, and at the task level multiple threads concurrently match each input symbol in parallel. Given a set of regexps, the total number of (DFA) state transitions in M-DFA is significantly smaller than that of its traditional DFA counterpart. The significant saving of state transitions is contributed by elimination of backtracking transitions, which commonly occur to mapping of concurrent active states in NFA to DFA and other situations. Experimental result shows that the proposed algorithm achieves significant reduction on state and state transition. In addition, the proposed algorithm running on Nvidia~® GTX 480 is 35 times faster than the popular regexp library, RE2 performed on Intel Core i7 CPU.
机译:本文针对并行计算机体系结构(例如多核处理器和图形处理单元(GPU)),提出了一种基于多线程的正则表达式(regexp)匹配算法M-DFA(多线程DFA)。在线程级别,一个线程被指定为遍历可能匹配路径的DFA,直到其终止为止;在任务级别,多个线程并行地并行匹配每个输入符号。给定一组正则表达式,M-DFA中(DFA)状态转换的总数明显小于其传统DFA对应项的总数。消除回溯转换有助于节省状态转换,回溯转换通常发生在将NFA中的并发活动状态映射到DFA和其他情况时。实验结果表明,该算法在状态和状态转换方面都取得了明显的降低。此外,在Nvidia〜®GTX 480上运行的拟议算法比流行的regexp库RE2(在Intel Core i7 CPU上执行)快35倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号