Title :
NFA reduction for regular expressions matching using FPGA
Author :
Kosar, V. ; Zadnik, Martin ; Korenek, Jan
Author_Institution :
Fac. of Inf. Technol., Brno Univ. of Technol., Brno, Czech Republic
Abstract :
Many algorithms have been proposed to accelerate regular expression matching via mapping of a nondeterministic finite automaton into a circuit implemented in an FPGA. These algorithms exploit unique features of the FPGA to achieve high throughput. On the other hand the FPGA poses a limit on the number of regular expressions by its limited resources. In this paper, we investigate applicability of NFA reduction techniques - a formal aparatus to reduce the number of states and transitions in NFA prior to its mapping into FPGA. The paper presents several NFA reduction techniques, each with a different reduction power and time complexity. The evaluation utilizes regular expressions from Snort and L7 decoder. The best NFA reduction algorithms achieve more than 66% reduction in the number of states for a Snort ftp module. Such a reduction translates directly into 66% LUT-FF pairs saving in the FPGA.
Keywords :
deterministic automata; field programmable gate arrays; finite automata; string matching; FPGA; L7 decoder; LUT-FF pairs saving; NFA reduction techniques; Snort ftp module; nondeterministic finite automaton; reduction power complexity; regular expression matching; time complexity; Automata; Decoding; Field programmable gate arrays; Optimization; Table lookup; Time complexity;
Conference_Titel :
Field-Programmable Technology (FPT), 2013 International Conference on
Conference_Location :
Kyoto
Print_ISBN :
978-1-4799-2199-7
DOI :
10.1109/FPT.2013.6718381