Efficient TCAM Encoding Schemes for Packet Classification using Gray Code - PowerPoint PPT Presentation

About This Presentation
Title:

Efficient TCAM Encoding Schemes for Packet Classification using Gray Code

Description:

Department of Computer Science and Information Engineering. National Cheng Kung University, Taiwan R.O.C. ... prefix & Elementary interval-based encoding scheme ... – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 16
Provided by: hsky4
Category:

less

Transcript and Presenter's Notes

Title: Efficient TCAM Encoding Schemes for Packet Classification using Gray Code


1
Efficient TCAM Encoding Schemes for Packet
Classification using Gray Code
Authors Yeim-Kuan Chang and Cheng-Chien
Su Publisher the IEEE Globecom 2007
conference Present Chen-Rong Chang Date
December, 10, 2008
Department of Computer Science and Information
Engineering National Cheng Kung University,
Taiwan R.O.C.
2
Outline
  • Introduction
  • Related Works
  • Proposed range encoding shemes
  • Performance

3
Introduction
  • A traditional solution for storing ranges in
    TCAM is the direct range-to-prefix conversion
    which individually converts each range into
    multiple prefixes.
  • A set of encoding schemes called parallel packet
    classification encoding (PPCE) is proposed based
    on the concept of elementary intervals.

4
Elementary intervals
5
Direct range-to-prefix Elementary
interval-based encoding scheme
Direct range-to-prefix conversion EX R2 2
6 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0
1 0 1 0 0 1 1 0 Elementary interval-based
encoding scheme EX R2 1 1 0 0 0 1 R3
4 7 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1
For tatal 17 5-bit prefix
0 0 0 1
0 0 1 0
0 0 1 1 0
For tatal 6 4-bit prefix
0 1
6
Parallel packet classification encoding (PPCE)
scheme
7
Proposed Range Encoding Schemes
8
Proposed Range Encoding Schemes (cont.)
9
BRGC range group
  • The following rules are satisfied
  • no range is disjoint from the other ranges in the
    group
  • each range covers exactly consecutive
    elementary intervals
  • the identifiers assigned to these intervals can
    be merged into one ternary string
  • Perfect range group
  • it covers 2d 1 valid elementary intervals
    which need 2d 1 distinct identifiers.

10
Perfect BRGC range group (cont.)
11
Imperfect BRGC range groups
12
Many-to-one code assignment
  • The many-to-one code assignment scheme achieves
    the goal of using only one ternary string to
    encode a range by assigning more than one code to
    an elementary interval.

13
One-to-many code assignment
  • The one-to-many code assignment scheme extends
    the use of a common code from the default
    elementary intervals to the valid elementary
    intervals by assigning a common code to the valid
    elementary intervals covered by the same subset
    of original ranges

14
Performance
15
Performance (cont.)
Write a Comment
User Comments (0)
About PowerShow.com