+ All Categories
Home > Documents > Reorganized and Compact DFA for Efficient Regular Expression Matching

Reorganized and Compact DFA for Efficient Regular Expression Matching

Date post: 30-Dec-2015
Category:
Upload: liberty-goodman
View: 34 times
Download: 2 times
Share this document with a friend
Description:
Reorganized and Compact DFA for Efficient Regular Expression Matching. Publisher : International Conference on Communications (ICC), 2011 Author : Kai Wang, Yaxuan Qi, Yibo Xue, Jun Li Presenter : Yu-Hsiang Wang Date : 2011/09/14. Outline. Introduction Motivation - PowerPoint PPT Presentation
12
Reorganized and Compact DFA for Efficient Regular Expression Matching Publisher : International Conference on Communications (ICC), 2011 Author : Kai Wang, Yaxuan Qi, Yibo Xue, Jun Li Presenter : Yu-Hsiang Wang Date : 2011/09/14 1
Transcript
Page 1: Reorganized and Compact DFA for Efficient Regular Expression Matching

Reorganized and Compact DFA for Efficient Regular Expression Matching

Publisher : International Conference on Communications (ICC), 2011Author : Kai Wang, Yaxuan Qi, Yibo Xue, Jun LiPresenter : Yu-Hsiang WangDate : 2011/09/14

1

Page 2: Reorganized and Compact DFA for Efficient Regular Expression Matching

Outline

IntroductionMotivationAlgorithm : DFA ReorganizationArchitecturePerformance evaluations

2

Page 3: Reorganized and Compact DFA for Efficient Regular Expression Matching

Introduction

• Although D2FA-related algorithms show very good performance in terms of DFA compression ratio, they suffer from nondeterministic memory access per input character.

• D2FA can have predictable memory access by limiting the maximum default path length , but at the expense of inefficient and unstable compression performance.

3

Page 4: Reorganized and Compact DFA for Efficient Regular Expression Matching

Motivation

• Due to the large redundancy of identical transitions within similar states in DFA, we can employ the bitmap technique to do compression along the state dimension, called state bitmap.

4

Real DFA table recognizing regular expressions : def[^ef]*add, def[^df]*bee and def[^de]*cff over alphabet {a,b,c,d,e,f,g,h}

Page 5: Reorganized and Compact DFA for Efficient Regular Expression Matching

DFA Reorganization

5

Page 6: Reorganized and Compact DFA for Efficient Regular Expression Matching

DFA Reorganization

6

Page 7: Reorganized and Compact DFA for Efficient Regular Expression Matching

DFA Reorganization• Some original transitions along the state

dimension are exactly the same, so the unique transition table can be compressed by mapping σμ and σν to the same character index, called character mapping.

7

Page 8: Reorganized and Compact DFA for Efficient Regular Expression Matching

Architecture

8

Page 9: Reorganized and Compact DFA for Efficient Regular Expression Matching

Performance evaluations

9

Page 10: Reorganized and Compact DFA for Efficient Regular Expression Matching

Performance evaluations

• The memory usage of RCDFA in hardware is tested with limiting the bitmap size to 256 bit and the number of bitmaps to 32

10

Page 11: Reorganized and Compact DFA for Efficient Regular Expression Matching

Performance evaluations

11

Page 12: Reorganized and Compact DFA for Efficient Regular Expression Matching

Performance evaluations

• We can achieve a maximum clock frequency of 156.01MHz and 2.4Gbps throughput of single RCDFA.

• With parallelization of multiple RCDFA matching engines in the test FPGA with 5MB block RAMs, we can further achieve at least (2.4)*5 = 12Gbps throughput for the real-life rule sets in test.

12


Recommended