Top Banner
1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel and Distributed Systems Present: Kai-Tso Chang Date: October, 22, 2008
35

1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

1

Processor Array Architectures for Deep Packet Classification

Authors: Fayez Gebali and A.N.M. Ehtesham RafiqPublisher: IEEE Transactions on Parallel and Distributed SystemsPresent: Kai-Tso ChangDate: October, 22, 2008

Page 2: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

2

Define

T: text length : n t0 t1…tn-1

P: pattern length : m p0 p1 …pm-1

Page 3: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

3

The basic string matching algorithm

Page 4: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

4

Expressing the algorithm as an iterative expression

1. represents an m-input AND function

2. Match(a,b) is a function that is true when character a matches b

1=y0 input text: abcdx xxxxx

1=y1 input text: xabcd xxxxx

1=y6 input text: xxxxx xabcd

Page 5: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

5

Dependence graph (DG)

a

b

c

d

Page 6: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

6

Timing fuction

The column vector s =[s1,s2] is the scheduling vector and s is an integer

Page 7: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

7

Timing function

Page 8: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

8

Pipeline , broadcast

Pipeline a certain variable whose null vector is e, we must satisfy the following inequality

Broadcast a variable whose null vector is e, we must have

Page 9: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

9

Pipeline , broadcast

We have only one output variable Y whose null-vector is

Pipeline:

Broadcast:

Page 10: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

10

Timing function

1

10

2

2

2

3

3

3

3

4

4

4

4 5

5

5

5 6

6

6

6

7

87

7 8 9

a

b

c

d

Page 11: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

11

Pipeline , broadcast

Page 12: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

12

DG Node Projection

a

b

c

d

Page 13: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

13

DG Node Projection

Page 14: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

14

DG Node Projection

Page 15: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

15

Design 1.a

1

10

2

2

2

3

3

3

3

4

4

4

4 5

5

5

5 6

6

6

6

7

87

7 8 9

a

b

c

d

Page 16: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

16

Design 1.a

Page 17: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

11

00

22

33

T

d

c

b

aa

b

c

d

a

a

a

b

b

b

c

c

c

d

d

d

1

1

1

1

1

1

1

1

clock 0clock 1clock 2clock 3

Input text: abcdx xxxxx

Page 18: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

18

Design 1.b

1

10

2

2

2

3

3

3

3

4

4

4

4 5

5

5

5 6

6

6

6

7

87

7 8 9

a

b

c

d

Page 19: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

19

Design 1.b

Page 20: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

20

Design 1.b

Page 21: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

21

Design 1.c

1

10

2

2

2

3

3

3

3

4

4

4

4 5

5

5

5 6

6

6

6

7

87

7 8 9

a

b

c

d

Page 22: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

22

Page 23: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

23

Design 1.c

Page 24: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

24

Comparing designs 1.a and 1.b

Page 25: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

25

Design 2

Page 26: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

26

Design 2

5

6

7

8

6

7

8

8

7 8 9

10

11

12

9

9

9

10

10 11

10

11

12

11

12

13

13

14a

b

c

d

Page 27: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

27

Design 2.a

5

6

7

8

6

7

8

8

7 8 9

10

11

12

9

9

9

10

10 11

10

11

12

11

12

13

13

14a

b

c

d

Page 28: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

28

Design 2.a

Page 29: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

29

00

11

22

33

clock 0

a

a

b

c

d

clock 1clock 2clock 3clock 4clock 5clock 6clock 7clock 8

ab

a

abc

ab

bcd

a

bc

dx

c

ab

cd

xx

d

a

bc

dx

xx

x

a

cd

xx

xx

x

abc

dx

xx

xx

x

1

1

1

1

1

1

1

c

b

abdx

ac

b

Page 30: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

30

Design 2.b

Page 31: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

31

Comparing designs 1.a and 2.a

Page 32: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

32

Design 3

Broadcast:

Page 33: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

33

Design 3

4

4

4

4

5 6 7 8 9 10

5 6 7 8 9 10

5 6 7 8 9 10

5 6 7 8 9 10a

b

c

d

Page 34: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

34

Design 3.a

0

1

2

3

T

Page 35: 1 Processor Array Architectures for Deep Packet Classification Authors: Fayez Gebali and A.N.M. Ehtesham Rafiq Publisher: IEEE Transactions on Parallel.

35

a

a

a

a

a

a

a

b

b

b

b

b

b

b

c

c

c

a

c

c

d

d

d d

c

b

a

clock 0clock 1clock 2clock 3clock 4