1 Layered Interval Codes for TCAM-based Classification Author: Anat Bremler-Barr, David Hay, Danny Hendler Publisher: IEEE INFOCOM 2009 Presenter: Chun-Yi.

Slides:



Advertisements
Similar presentations
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Advertisements

Diversity Maximization Under Matroid Constraints Date : 2013/11/06 Source : KDD’13 Authors : Zeinab Abbassi, Vahab S. Mirrokni, Mayur Thakur Advisor :
A Ternary Unification Framework for Optimizing TCAM-Based Packet Classification Systems Author: Eric Norige, Alex X. Liu, and Eric Torng Publisher: ANCS.
1 TCAM Razor: A Systematic Approach Towards Minimizing Packet Classifiers in TCAMs Department of Computer Science and Information Engineering National.
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
1 Compressing Two-Dimensional Routing Tables Author: Subhash Suri, Tuomas Sandholm, Priyank Warkhede. Publisher: ALGO'03 Presenter: Yu-Ping Chiang Date:
[1][1][1][1] Lecture 4: Frequency reuse, channel assignment, and more June 15, Introduction to Algorithmic Wireless Communications David Amzallag.
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Efficient Multidimensional Packet Classification with Fast Updates Author: Yeim-Kuan Chang Publisher: IEEE TRANSACTIONS ON COMPUTERS, VOL. 58, NO. 4, APRIL.
1 Partition Filter Set for Power- Efficient Packet Classification Authors: Haibin Lu, MianPan Publisher: IEEE GLOBECOM 2006 Present: Chen-Yu Lin Date:
1 Range Encoding Cheng-Chien Su. 2 Outline DRES: Dynamic Range Encoding Scheme for TCAM Coprocessors  Hao Che, Zhijun Wang, Kai Zheng, Bin Liu  IEEE.
1 DRES:Dynamic Range Encoding Scheme for TCAM Coprocessors Authors: Hao Che, Zhijun Wang, Kai Zheng and Bin Liu Publisher: IEEE Transactions on Computers,
1 OC-3072 Packet Classification Using BDDs and Pipelined SRAMs Author: Amit Prakash, Adnan Aziz Publisher: Hot Interconnects 9, Presenter: Hsin-Mao.
An Efficient IP Lookup Architecture with Fast Update Using Single-Match TCAMs Author: Jinsoo Kim, Junghwan Kim Publisher: WWIC 2008 Presenter: Chen-Yu.
Efficient Gray Code Based Range Encoding Schemes for Packet Classification in TCAM Author: Yeim-Kuan Chang, Cheng-Chien Su, and Yung-Chieh Lin Publisher:
Achieving Minimum Coverage Breach under Bandwidth Constraints in Wireless Sensor Networks Maggie X. Cheng, Lu Ruan and Weili Wu Dept. of Comput. Sci, Missouri.
Worst-Case TCAM Rule Expansion Ori Rottenstreich (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel)
Memory-Efficient Regular Expression Search Using State Merging Department of Computer Science and Information Engineering National Cheng Kung University,
Existing Range Encoding Schemes Presenter: Kai-Yang, Liu Date: 2011/11/23.
Graph Coloring.
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Math – Getting Information from the Graph of a Function 1.
1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date:
PEDS: Parallel Error Detection Scheme for TCAM Devices David Hay, Politecnico di Torino Joint work with Anat Bremler Barr (IDC, Israel), Danny Hendler.
Network Aware Resource Allocation in Distributed Clouds.
Layered Interval Codes for TCAM-based Classification David Hay, Politecnico di Torino Joint work with Anat Bremler-Barr (IDC), Danny Hendler (BGU) and.
Software Pipelining for Stream Programs on Resource Constrained Multi-core Architectures IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEM 2012 Authors:
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
Solve problems by using linear programming.
Palette: Distributing Tables in Software-Defined Networks Yossi Kanizo (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) and David Hay.
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
PEDS: A PARALLEL ERROR DETECTION SCHEME FOR TCAM DEVICES Author: Anat Bremler-Barr, David Hay, Danny Hendler and Ron M. Roth Publisher/Conf.: IEEE INFOCOM.
ANALYSIS AND IMPLEMENTATION OF GRAPH COLORING ALGORITHMS FOR REGISTER ALLOCATION By, Sumeeth K. C Vasanth K.
Course: Logic Programming and Constraints
1 Space-Efficient TCAM-based Classification Using Gray Coding Anat Bremler – Barr Interdisciplianry Center Danny Hendler Ben-Gurion University Infocom.
StrideBV: Single chip 400G+ packet classification Author: Thilan Ganegedara, Viktor K. Prasanna Publisher: HPSR 2012 Presenter: Chun-Sheng Hsueh Date:
Graph Coloring. Vertex Coloring problem in VLSI routing channels Standard cells Share a track Minimize channel width- assign horizontal Metal wires to.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
Bit Weaving: A Non-Prefix Approach to Compressing Packet Classifiers in TCAMs Author: Chad R. Meiners, Alex X. Liu, and Eric Torng Publisher: 2012 IEEE/ACM.
Authors : S.S. Lam, X. Cai Public : Nonlinear Analysis: Real World Applications 3(2002) Adviser : RC. Chen Speaker : CC. Lin Date : 2005/12/27.
Range Enhanced Packet Classification Design on FPGA Author: Yeim-Kuan Chang, Chun-sheng Hsueh Publisher: IEEE Transactions on Emerging Topics in Computing.
PC-TRIO: A Power Efficient TACM Architecture for Packet Classifiers Author: Tania Banerjee, Sartaj Sahni, Gunasekaran Seetharaman Publisher: IEEE Computer.
Parallel tree search: An algorithmic approach for multi- field packet classification Authors: Derek Pao and Cutson Liu. Publisher: Computer communications.
1 Bit Weaving: A Non-Prefix Approach to Compressing Packet Classifiers in TCAMs Author: Chad R. Meiners, Alex X. Liu, and Eric Torng Publisher: IEEE/ACM.
Packet Classification Using Multidimensional Cutting Sumeet Singh (UCSD) Florin Baboescu (UCSD) George Varghese (UCSD) Jia Wang (AT&T Labs-Research) Reviewed.
Author: Weirong Jiang and Viktor K. Prasanna Publisher: The 18th International Conference on Computer Communications and Networks (ICCCN 2009) Presenter:
1 Space-Efficient TCAM-based Classification Using Gray Coding Authors: Anat Bremler-Barr and Danny Hendler Publisher: IEEE INFOCOM 2007 Present: Chen-Yu.
Hierarchical packet classification using a Bloom filter and rule-priority tries Source : Computer Communications Authors : A. G. Alagu Priya 、 Hyesook.
Author: Weirong Jiang, Viktor K. Prasanna Publisher: th IEEE International Conference on Application-specific Systems, Architectures and Processors.
Packet Classification Using Multi- Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: 2013 IEEE 37th Annual Computer Software.
DRES: Dynamic Range Encoding Scheme for TCAM Coprocessors 2008 YU-ANTL Lab Seminar June 11, 2008 JeongKi Park Advanced Networking Technology Lab. (YU-ANTL)
Flow Scheduling for Interactive Video Streaming MD Iftakharul Islam (Tamim) Department of Computer Science Kent State University Kent, OH, USA.
Hierarchical Hybrid Search Structure for High Performance Packet Classification Authors : O˜guzhan Erdem, Hoang Le, Viktor K. Prasanna Publisher : INFOCOM,
Scalable Multi-match Packet Classification Using TCAM and SRAM Author: Yu-Chieh Cheng, Pi-Chung Wang Publisher: IEEE Transactions on Computers (2015) Presenter:
Greedy Algorithms – Chapter 5
IDENTIFICATION OF DENSE SUBGRAPHS FROM MASSIVE SPARSE GRAPHS
ICS 353: Design and Analysis of Algorithms
Yotam Harchol The Hebrew University of Jerusalem, Israel
Yeim-Kuan Chang, Cheng-Chein Su, and Yung-Cheih Lin
Scalable Multi-Match Packet Classification Using TCAM and SRAM
Text Book: Introduction to algorithms By C L R S
Maximum Flow Neil Tang 4/8/2008
Nature does nothing uselessly.
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Yotam Harchol The Hebrew University of Jerusalem, Israel
f(x) g(x) x x (-8,5) (8,4) (8,3) (3,0) (-4,-1) (-7,-1) (3,-2) (0,-3)
Survey on Coverage Problems in Wireless Sensor Networks
Worst-Case TCAM Rule Expansion
Presentation transcript:

1 Layered Interval Codes for TCAM-based Classification Author: Anat Bremler-Barr, David Hay, Danny Hendler Publisher: IEEE INFOCOM 2009 Presenter: Chun-Yi Li Date: 2009/03/04

2 Introduction  Range expansion was found to cause an increase of more than 16% in TCAM space requirements for real- word databases.  The algorithms we present split the ranges between multiple layers, each of which consists of mutually disjoint ranges.

3 Introduction Minimum-space LIC (MLIC) The MLIC problem is to find a legal coloring C of G that minimizes The MLIC problem is to output a LIC code for the ranges of S that uses a minimum number of bits.

4 Introduction Budgeted minimum LIC (BMLIC) The BMLIC problem is to find a subset V’ V and a coloring C of the subgraph of G induced by V’, such thatΣ w(v) is maximum under the constraint that C has LIC code-size of at most b.

5 Introduction Encoding Example Liu’s basic dependent encoding

6 Introduction Encoding Example LIC encoding

7 Outline  The Layered Interval Encoding Scheme  Terminology  The Layering Stage  The Bits Allocation Stage  The Encoding Stage  Performance

8 The Layered Interval Encoding Scheme Terminology  Minimum-space LIC (MLIC) The MLIC problem is to find a legal coloring C of G that minimizes The MLIC problem is to output a LIC code for the ranges of S that uses a minimum number of bits.

9 The Layered Interval Encoding Scheme Terminology  Minimum-space LIC (MLIC) R4 R1 R2R3 R1 R2 R3 R4

10 The Layered Interval Encoding Scheme Terminology  Budgeted minimum LIC (BMLIC) The BMLIC problem is to find a subset V’ V and a coloring C of the subgraph of G induced by V’, such thatΣ w(v) is maximum under the constraint that C has LIC code-size of at most b.

11 The Layered Interval Encoding Scheme Terminology  Budgeted minimum LIC (BMLIC) An instance of BMLIC consists of a set S of weighted ranges and a positive integer b, the number of available bits. Under this restriction, it is required to output a LIC code for a maximum-weight subset S’ of S.

12 The Layered Interval Encoding Scheme Terminology  weight – interval r’s total redundancy. Ex: R1 source port = [1,3] => 0001, 001* destination port = [9,12] => 1001, 101*, 1100 total redundancy = 2*3-1=5

13 The Layered Interval Encoding Scheme The Layering Stage  Maximum Size Independent Sets (MSIS) This is a greedy layering algorithm that works iteratively. The algorithm finds a maximum size independent set.

14 The Layered Interval Encoding Scheme The Layering Stage  Maximum Size Colorable Sets (MSCS) An i-colorable set of a graph G is a subset of G’s vertices that can be colored with i colors. MSCS finds a maximum size i- colorable set of G.

15 The Layered Interval Encoding Scheme The Layering Stage  Maximum Size Colorable Sets (MSCS)

16 The Layered Interval Encoding Scheme The Layering Stage  Maximum Weight Independent Sets (MWIS) Same as MSIS, except that we iteratively find a maximum weighted independent set.  Maximum Weight Colorable Sets (MWCS) Same as MSCS, except that, instead of finding maximum size k-colorable sets,MWCS finds maximum weight k-colorable sets.

17 The Layered Interval Encoding Scheme The Bits Allocation Stage Compute the above quantity for each layer L i, and assign the next bit to a layer for which this quantity is maximal.

18 The Layered Interval Encoding Scheme The Bits Allocation Stage Sort L i ’s interval in decreasing weight order

19 The Layered Interval Encoding Scheme The Encoding Stage k 1 =assigned[m] k 2 = assigned[m] code[i][j] = * k 1 . bin(j) . * k 2 ‥‥ ‥‥‥‥‥‥ ‥‥‥‥‥‥‥ k 1 bits layer 1layer 2layer ilayer i+1 k 2 bits b bits layer n assigned[i] is the number of bits assigner to i’th layer

20 Outline  The Layered Interval Encoding Scheme  Terminology  The Layering Stage  The Bits Allocation Stage  The Encoding Stage  Implementation Consideration  Supporting Multiple Range Fields  LIC Scheme Architecture  Hot Update Support  Performance

21 Implementation Consideration Supporting Multiple Range Fields

22 Implementation Consideration LIC Scheme Architecture

23 Hot Update Support

24 Outline  The Layered Interval Encoding Scheme  Terminology  The Layering Stage  The Bits Allocation Stage  The Encoding Stage  Performance

25 Performance Expansion and redundancy factors, using 36 extra bits, for different range encoding algorithms.

26 Performance The number of bits required to encode all the ranges that occur in our database as a function of the encoding scheme employed.

27 Performance Redundancy factor as a function of the number of extra bits for different encoding schemes.

28 Performance Redundancy factor as a function of the number of extra bits for different layering algorithms.