1 a fast scalable automaton-matching accelerator for embedded content processors authors: kuo-kun...

15
1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING- DAR LIN and TSERN-HUEI LEE Publisher/Conf. : ACM TECS 2009 8(3) Presenter: Fang-Chen Kuo Date: 2009.4.29 Dept. of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C

Post on 20-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

1

A Fast Scalable Automaton-Matching Accelerator for Embedded ContentProcessors

Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

Publisher/Conf. : ACM TECS 2009 8(3) Presenter: Fang-Chen Kuo

Date: 2009.4.29

Dept. of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C

Page 2: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

2

Outline Related Work

Bitmap-AC BFSM

Proposed Scheme Sequential Algorithm Prehash Matching Root-Index Matching Parallel Architecture

Performance Comparison

Page 3: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

3

Bitmap-AC [Tuck et al. 2004]

Page 4: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

4

BFSM [Dharmapurikar et al. 2004]

Page 5: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

5

FSAM (Fast Scalable Automaton Matching)

Based on Bitmap-AC [Tuck et al. 2004]

Hashing Based Scheme

Page 6: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

6

FSAM

Page 7: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

7

Sequential algorithm of FSAM

Page 8: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

8

Two Method

Prehash Matching For Non-Root State Goal: Reduced access to the structure of

AC Root-Index Matching

For Root State Goal: Skip Multiple Characters

Page 9: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

9

Prehash Matching

Page 10: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

10

Prehash Matching (Example)

Page 11: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

11

Root-Index Matching

Page 12: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

12

FSAM (Parallel Architecture)

Page 13: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

13

Double Engine FSAM

Page 14: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

14

Hardware (Implementation)

Page 15: 1 A Fast Scalable Automaton-Matching Accelerator for Embedded Content Processors Authors: KUO-KUN TSENG, YUAN-CHENG LAI, YING-DAR LIN and TSERN-HUEI LEE

15

Hardware (Comparison - I)

Performance Comparison