1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date:

Slides:



Advertisements
Similar presentations
An Array-Based Algorithm for Simultaneous Multidimensional Aggregates By Yihong Zhao, Prasad M. Desphande and Jeffrey F. Naughton Presented by Kia Hall.
Advertisements

Gerth Stølting Brodal University of Aarhus Monday June 9, 2008, IT University of Copenhagen, Denmark International PhD School in Algorithms for Advanced.
1 IP-Lookup and Packet Classification Advanced Algorithms & Data Structures Lecture Theme 08 – Part I Prof. Dr. Th. Ottmann Summer Semester 2006.
An On-Chip IP Address Lookup Algorithm Author: Xuehong Sun and Yiqiang Q. Zhao Publisher: IEEE TRANSACTIONS ON COMPUTERS, 2005 Presenter: Yu Hao, Tseng.
A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree Author:Yeim-Kuan Chang and Yung-Chieh Lin Publisher: 2009 International Conference.
IP Routing Lookups Scalable High Speed IP Routing Lookups.
HybridCuts: A Scheme Combining Decomposition and Cutting for Packet Classification Author: Wenjun Li, Xianfeng Li Publisher: 2013 IEEE 21 st Annual Symposium.
Outline Introduction Related work on packet classification Grouper Performance Empirical Evaluation Conclusions.
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.
ClassBench: A Packet Classification Benchmark
Low Power TCAM Forwarding Engine for IP Packets Authors: Alireza Mahini, Reza Berangi, Seyedeh Fatemeh and Hamidreza Mahini Presenter: Yi-Sheng, Lin (
An Efficient IP Address Lookup Algorithm Using a Priority Trie Authors: Hyesook Lim and Ju Hyoung Mun Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: Mar. 11, 2008.
IP Address Lookup for Internet Routers Using Balanced Binary Search with Prefix Vector Author: Hyesook Lim, Hyeong-gee Kim, Changhoon Publisher: IEEE TRANSACTIONS.
1 MIPS Extension for a TCAM Based Parallel Architecture for Fast IP Lookup Author: Oğuzhan ERDEM Cüneyt F. BAZLAMAÇCI Publisher: ISCIS 2009 Presenter:
1 Searching Very Large Routing Tables in Wide Embedded Memory Author: Jan van Lunteren Publisher: GLOBECOM 2001 Presenter: Han-Chen Chen Date: 2010/01/06.
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
1 A Tree Based Router Search Engine Architecture With Single Port Memories Author: Baboescu, F.Baboescu, F. Tullsen, D.M. Rosu, G. Singh, S. Tullsen, D.M.Rosu,
Power Efficient IP Lookup with Supernode Caching Lu Peng, Wencheng Lu*, and Lide Duan Dept. of Electrical & Computer Engineering Louisiana State University.
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
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:
Parallel-Search Trie-based Scheme for Fast IP Lookup
1 Geometric Solutions for the IP-Lookup and Packet Classification Problem (Lecture 12: The IP-LookUp & Packet Classification Problem, Part II) Advanced.
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 Performance Improvement of Two-Dimensional Packet Classification by Filter Rephrasing Department of Computer Science and Information Engineering National.
張 燕 光 資訊工程學系 Dept. of Computer Science & Information Engineering,
1 A Fast IP Lookup Scheme for Longest-Matching Prefix Authors: Lih-Chyau Wuu, Shou-Yu Pin Reporter: Chen-Nien Tsai.
Two stage packet classification using most specific filter matching and transport level sharing Authors: M.E. Kounavis *,A. Kumar,R. Yavatkar,H. Vin Presenter:
An Efficient IP Lookup Architecture with Fast Update Using Single-Match TCAMs Author: Jinsoo Kim, Junghwan Kim Publisher: WWIC 2008 Presenter: Chen-Yu.
Basic Data Structures for IP lookups and Packet Classification
1 Performing packet content inspection by longest prefix matching technology Authors: Nen-Fu Huang, Yen-Ming Chu, Yen-Min Wu and Chia- Wen Ho Publisher:
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
Existing Range Encoding Schemes Presenter: Kai-Yang, Liu Date: 2011/11/23.
Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer.
Fast Packet Classification Using Bloom filters Authors: Sarang Dharmapurikar, Haoyu Song, Jonathan Turner, and John Lockwood Publisher: ANCS 2006 Present:
Packet Classification using Tuple Space Search
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
1 Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates Author: Yeim-Kuan Chang Publisher: ICOIN 2005 Presenter: Po Ting Huang Date:
1 Fast packet classification for two-dimensional conflict-free filters Department of Computer Science and Information Engineering National Cheng Kung University,
A Dynamic Longest Prefix Matching Content Addressable Memory for IP Routing Author: Satendra Kumar Maurya, Lawrence T. Clark Publisher: IEEE TRANSACTIONS.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
CS 740: Advanced Computer Networks IP Lookup and classification Supplemental material 02/05/2007.
Bahareh Sarrafzadeh 6111 Fall 2009
Parallel tree search: An algorithmic approach for multi- field packet classification Authors: Derek Pao and Cutson Liu. Publisher: Computer communications.
Packet Classification Using Dynamically Generated Decision Trees
Author: Weirong Jiang and Viktor K. Prasanna Publisher: The 18th International Conference on Computer Communications and Networks (ICCCN 2009) Presenter:
IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo a, Jose G. Delgado-Frias Publisher: Journal of Systems.
1 Space-Efficient TCAM-based Classification Using Gray Coding Authors: Anat Bremler-Barr and Danny Hendler Publisher: IEEE INFOCOM 2007 Present: Chen-Yu.
1 IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo, Jose G. Delgado-Frias Publisher: Journal of Systems.
Hierarchical packet classification using a Bloom filter and rule-priority tries Source : Computer Communications Authors : A. G. Alagu Priya 、 Hyesook.
DESIGN AND IMPLEMENTATION OF DYNAMIC ROUTING TABLES Author: Yeim-Kuan Chang and Dung-Jiun Lin Publisher/Conf.: The graduation paper of CIAL master student,
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)
1 Research on packet classification cased on improved cross-product method Author: Mohua Zhang, Ge Li Publisher: Procedia Engineering, Volume 24, 2011,
Scalable Multi-match Packet Classification Using TCAM and SRAM Author: Yu-Chieh Cheng, Pi-Chung Wang Publisher: IEEE Transactions on Computers (2015) Presenter:
IP Routers – internal view
AN ON-CHIP IP ADDRESS LOOKUP ALGORITHM
2018/6/26 An Energy-efficient TCAM-based Packet Classification with Decision-tree Mapping Author: Zhao Ruan, Xianfeng Li , Wenjun Li Publisher: 2013.
Toward Advocacy-Free Evaluation of Packet Classification Algorithms
Parallel Processing Priority Trie-based IP Lookup Approach
Scalable Memory-Less Architecture for String Matching With FPGAs
Packet Classification Using Coarse-Grained Tuple Spaces
Greedy Algorithms TOPICS Greedy Strategy Activity Selection
A Small and Fast IP Forwarding Table Using Hashing
Scalable Multi-Match Packet Classification Using TCAM and SRAM
Author: Yaron Weinsberg ,Shimrit Tzur-David ,Danny Dolev and Tal Anker
Large-scale Packet Classification on FPGA
Worst-Case TCAM Rule Expansion
Packet Classification Using Binary Content Addressable Memory
Presentation transcript:

1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date: Jan, 10, 2008

2 Outline Introduction Filter encoding scheme Prefix Inclusion Coding scheme Performance evaluation

3 Introduction TCAM is currently the dominant solution method used by the industry. High cost and high power consumption are the two major drawbacks of TCAM-based lookup engines. Adoption of IPv6 with increased address length will further exacerbate. In this paper, we present a filter encoding method, called prefix inclusion coding (PIC) to improve the efficiency of TCAM- based lookup engine. Filters are stored in an encoded format to reduce storage requirement. Codeword lookup is equivalent to finding the longest matching prefix in the codeword table.

4 Filter encoding scheme Filter encoding is an effective approach to enhanced the efficiency of the TCAM lookup engine. van Lunteren and engbersen proposed an encoding scheme called P 2 C based on the concept of primitive range hierarchy. Ranges are mapped to different layers in the hierarchy such that ranges on the same layer must be disjoint and are represented by codeword.

5 Filter encoding scheme Style 1 Primitive ranges in a layer are assigned distinct non-zero codeword. Style 2 Allows 2 primitive ranges at the same layer to be assigned a common codeword if both ranges are subsets of two disjoint primitive ranges at other layers. Style 3 Primitive ranges on different layers are merged if the number of layers exceeds the physical limit.

6 Filter encoding scheme

7 The codeword lookup method is required to find all matching ranges and combine the code segments for each primitive layer to form the final codeword. For example, the codeword corresponds to the input address y marked in coding style 2 of figure 2 is The proposed method can have better compression ratio compared to P 2 C. Our method can reduce the TCAM space requirement by 70% to over 90%

8 Prefix Inclusion Coding Scheme A 5-tuple filter is stored in the TCAM in an encoded format where C i is the codeword for field F i. Let p and q be two distinct address prefixes where the length if p is shorter than or equal to the length of q. Prefixes p and q are either disjoint, or q is enclosed by p (q is subrange of p). The codeword assignment satisfies the following 3 requirement. 1. A valid codeword must have non-zero value. 2. The inclusion property is preserved. C q is enclosed by C p iff q is enclosed by p 3. If q is enclosed by p, then C q must have a non-zero suffix extension from C p

9 Prefix Inclusion Coding Scheme The system maintains two separate codeword tables storing the pairs for the source and destination prefixes. An input address A is first translated to a codeword C A by finding the longest matching prefix in the corresponding codeword table. Given a sorted list of n prefixes, a tree (i - tree) that represents the inclusion relationship can be constructed in O(hn) time where h is the depth of the tree. Depends on the maximum nesting level of prefixes.

10 Prefix Inclusion Coding Scheme A leaf node in the i – tree can be assigned a full-length codeword that occupies a single point in the code space.

11 Prefix Inclusion Coding Scheme The code space occupied by an internal node is greater than or equal to 1 plus the sum of the code space of its children. The code space occupied by an internal node must be a power of 2. The minimum codeword length is then equal to log 2 of the code space occupied by root.

12 Prefix Inclusion Coding Scheme

13 Prefix Inclusion Coding Scheme An address value is first translated to a value in the code space before the encoded filter table is searched. In the codeword table, a don’t care bit in a codeword is substituted by a zero. For example: Input address is , the best matching prefix is J = 11100* and the return code value will be The codeword lookup can be implemented using TCAM or other efficient algorithmic method.

14 Prefix Inclusion Coding Scheme PIC can also applied to encode port range values The port range [0-1023] and [ ] are commonly found in filter sets, other arbitrary port ranges are, in general, subranges of these two ranges. If two ranges are partially overlapping, one of the 2 ranges will be decomposed.

15 Prefix Inclusion Coding Scheme

16 Prefix Inclusion Coding Scheme Using a pure PIC encoding scheme, there can be 2 options: 1. range B is decomposed into 2 sub ranges. 2. range C is decomposed into 2 sub ranges. One may avoid port range decomposition by using a hybrid encoding method that combines PIC with P 2 C Partially overlapped ranges are grouped into a composite range

17 Performance evaluation Table 2 shows the required code length for the five fields in a filter.

18 Performance evaluation Compare the raw space required by PIC and that of the conventional approach where filters are not encoded.

19 Performance evaluation In PIC, TCAM space requirement consists of two components The encoded filters The codeword table for the two address fields. n: total number of distinct prefixes. L: length of the overall codeword for a 5-tuple filter. r: number of replicated entries due to partially overlapping port range. TCAM space for encoded filter table is (N + r) * L bits, and the space for the codeword table is n*32 bits.