1 fast packet classification using group bit vector author: tong liu, huawei li, xiaowei li, yinhe...
Post on 19-Dec-2015
215 views
TRANSCRIPT
1
Fast Packet Classification using Group Bit Vector
Author:
Tong Liu, Huawei Li, Xiaowei Li, Yinhe Han
Publisher:IEEE GLOBECOM 2006
Presenter:
Hsin-Mao Chen
Date:2010/01/06
2
Outline
IntroductionGroup Bit Vector IdeaGroup Bit Vector AlgorithmLook Up The Matched RulePerformance Evaluation
3
Introduction
In the BV algorithm, the length of the operation bit vector equals to the number of rules. It is too large for large size rule databases.
In the ABV algorithm, rules aggregation can reduce the length of the operation bit vector. However, it often brings false matches, which may degrade its performance.
4
Group Bit Vector Idea
Create rule set.
Construct particular groups with the rule set.
5
Group Bit Vector Algorithm
1.Aggregate some rules with the same selected header field as a rule set.
2.Gather some rule set as a group called parameter group (PG).
3.Construct group bit vector (gbv) with the parameter groups.
6
Group Bit Vector Algorithm
7
Group Bit Vector Algorithm
1.Aggregate some rules with the same selected header field as a rule set.
2.Gather some rule set as a group called parameter group (PG).
3.Construct group bit vector (gbv) with the parameter groups.
8
Group Bit Vector Algorithm
S1 S2 S8
S2 S4 S7 S8
S3 S6 S8
S3 S5 S8
Maximum length=4
9
Group Bit Vector Algorithm
1.Aggregate some rules with the same selected header field as a rule set.
2.Gather some rule set as a group called parameter group (PG).
3.Construct group bit vector (gbv) with the parameter groups.
10
Group Bit Vector Algorithm
11
Group Bit Vector Algorithm
12
Look Up The Matched Rule
Packet:
(0111, 1000)
13
Look Up The Matched RulePacket:
(0111, 1000)
14
Look Up The Matched Rule
1111
0010
0010
AND
15
Performance Evaluation
TLBV: total length of bit vector
LBV: length of the operation bit vector
TFM: times of false matches