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

abstract

  • 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. 2012 Authors.

name of conference

  • Proceedings of the eighth ACM/IEEE symposium on Architectures for networking and communications systems

published proceedings

  • PROCEEDINGS OF THE EIGHTH ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS'12)

author list (cited authors)

  • Lin, C., & Liu, J.

citation count

  • 0

complete list of authors

  • Lin, Cheng-Hung||Liu, Jyh-Charn

publication date

  • January 2012