Scalable Multi-Match Packet Classification Using TCAM and SRAM

Slides:



Advertisements
Similar presentations
Scalable Packet Classification Using Hybrid and Dynamic Cuttings Authors : Wenjun Li,Xianfeng Li Publisher : Engineering Lab on Intelligent Perception.
Advertisements

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 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.
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.
Efficient Multidimensional Packet Classification with Fast Updates Author: Yeim-Kuan Chang Publisher: IEEE TRANSACTIONS ON COMPUTERS, VOL. 58, NO. 4, APRIL.
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 Energy Efficient Packet Classification Hardware Accelerator Alan Kennedy, Xiaojun Wang HDL Lab, School of Electronic Engineering, Dublin City University.
1 Performance Improvement of Two-Dimensional Packet Classification by Filter Rephrasing Department of Computer Science and Information Engineering National.
Two stage packet classification using most specific filter matching and transport level sharing Authors: M.E. Kounavis *,A. Kumar,R. Yavatkar,H. Vin Presenter:
1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date:
OpenFlow-Based Server Load Balancing GoneWild Author : Richard Wang, Dana Butnariu, Jennifer Rexford Publisher : Hot-ICE'11 Proceedings of the 11th USENIX.
High-Performance Packet Classification on GPU Author: Shijie Zhou, Shreyas G. Singapura and Viktor K. Prasanna Publisher: HPEC 2014 Presenter: Gang Chi.
HybridCuts: A Scheme Combining Decomposition and Cutting for Packet Classification Authors : Wenjun Li, Xianfeng Li Publisher : 2013 IEEE 21st Annual Symposium.
Packet Classification using Rule Caching Author: Nitesh B. Guinde, Roberto Rojas-Cessa, Sotirios G. Ziavras Publisher: IISA, 2013 Fourth International.
Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer.
High-Speed Packet Classification Using Binary Search on Length Authors: Hyesook Lim and Ju Hyoung Mun Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: Jan. 14, 2008.
A Hybrid IP Lookup Architecture with Fast Updates Author : Layong Luo, Gaogang Xie, Yingke Xie, Laurent Mathy, Kavé Salamatian Conference: IEEE INFOCOM,
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
EQC16: An Optimized Packet Classification Algorithm For Large Rule-Sets Author: Uday Trivedi, Mohan Lal Jangir Publisher: 2014 International Conference.
Regular Expression Matching for Reconfigurable Packet Inspection Authors: Jo˜ao Bispo, Ioannis Sourdis, Jo˜ao M.P. Cardoso and Stamatis Vassiliadis Publisher:
Research on TCAM-based OpenFlow Switch Author: Fei Long, Zhigang Sun, Ziwen Zhang, Hui Chen, Longgen Liao Conference: 2012 International Conference on.
Shadow MACs: Scalable Label- switching for Commodity Ethernet Author: Kanak Agarwal, John Carter, Eric Rozner and Colin Dixon Publisher: HotSDN 2014 Presenter:
Updating Designed for Fast IP Lookup Author : Natasa Maksic, Zoran Chicha and Aleksandra Smiljani´c Conference: IEEE High Performance Switching and Routing.
TFA: A Tunable Finite Automaton for Regular Expression Matching Author: Yang Xu, Junchen Jiang, Rihua Wei, Yang Song and H. Jonathan Chao Publisher: ACM/IEEE.
Binary-tree-based high speed packet classification system on FPGA Author: Jingjiao Li*, Yong Chen*, Cholman HO**, Zhenlin Lu* Publisher: 2013 ICOIN Presenter:
Boundary Cutting for Packet Classification Author: Hyesook Lim, Nara Lee, Geumdan Jin, Jungwon Lee, Youngju Choi, Changhoon Yim Publisher: Networking,
Lightweight Traffic-Aware Packet Classification for Continuous Operation Author: Shariful Hasan Shaikot, Min Sik Kim Presenter: Yen-Chun Tseng Date: 2014/11/26.
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.
Cuckoo Filter: Practically Better Than Bloom Author: Bin Fan, David G. Andersen, Michael Kaminsky, Michael D. Mitzenmacher Publisher: ACM CoNEXT 2014 Presenter:
Packet Classification Using Dynamically Generated Decision Trees
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.
LOP_RE: Range Encoding for Low Power Packet Classification Author: Xin He, Jorgen Peddersen and Sri Parameswaran Conference : IEEE 34th Conference on Local.
SRD-DFA Achieving Sub-Rule Distinguishing with Extended DFA Structure Author: Gao Xia, Xiaofei Wang, Bin Liu Publisher: IEEE DASC (International Conference.
Packet Classification Using Multi- Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: 2013 IEEE 37th Annual Computer Software.
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:
JA-trie: Entropy-Based Packet Classification Author: Gianni Antichi, Christian Callegari, Andrew W. Moore, Stefano Giordano, Enrico Anastasi Conference.
A Multi-dimensional Packet Classification Algorithm Based on Hierarchical All-match B+ Tree Author: Gang Wang, Yaping Lin*, Jinguo Li, Xin Yao Publisher:
Reorganized and Compact DFA for Efficient Regular Expression Matching
Indexing Structures for Files and Physical Database Design
A DFA with Extended Character-Set for Fast Deep Packet Inspection
2018/6/26 An Energy-efficient TCAM-based Packet Classification with Decision-tree Mapping Author: Zhao Ruan, Xianfeng Li , Wenjun Li Publisher: 2013.
2018/11/19 Source Routing with Protocol-oblivious Forwarding to Enable Efficient e-Health Data Transfer Author: Shengru Li, Daoyun Hu, Wenjian Fang and.
Parallel Processing Priority Trie-based IP Lookup Approach
2018/12/10 Energy Efficient SDN Commodity Switch based Practical Flow Forwarding Method Author: Amer AlGhadhban and Basem Shihada Publisher: 2016 IEEE/IFIP.
Scalable Memory-Less Architecture for String Matching With FPGAs
2018/12/29 A Novel Approach for Prefix Minimization using Ternary trie (PMTT) for Packet Classification Author: Sanchita Saha Ray, Abhishek Chatterjee,
Binary Prefix Search Author: Yeim-Kuan Chang
Advance Database System
Memory-Efficient Regular Expression Search Using State Merging
Packet Classification Using Coarse-Grained Tuple Spaces
A Small and Fast IP Forwarding Table Using Hashing
A New String Matching Algorithm Based on Logical Indexing
EMOMA- Exact Match in One Memory Access
Compact DFA Structure for Multiple Regular Expressions Matching
2019/5/3 A De-compositional Approach to Regular Expression Matching for Network Security Applications Author: Eric Norige Alex Liu Presenter: Yi-Hsien.
2019/5/5 A Flexible Wildcard-Pattern Matching Accelerator via Simultaneous Discrete Finite Automata Author: Hsiang-Jen Tsai, Chien-Chih Chen, Yin-Chi Peng,
2019/5/8 BitCoding Network Traffic Classification Through Encoded Bit Level Signatures Author: Neminath Hubballi, Mayank Swarnkar Publisher/Conference:
Power-efficient range-match-based packet classification on FPGA
Large-scale Packet Classification on FPGA
Authors: A. Rasmussen, A. Kragelund, M. Berger, H. Wessing, S. Ruepp
A Hybrid IP Lookup Architecture with Fast Updates
A SRAM-based Architecture for Trie-based IP Lookup Using FPGA
Authors: Ding-Yuan Lee, Ching-Che Wang, An-Yeu Wu Publisher: 2019 VLSI
MEET-IP Memory and Energy Efficient TCAM-based IP Lookup
Towards TCAM-based Scalable Virtual Routers
Packet Classification Using Binary Content Addressable Memory
Presentation transcript:

Scalable Multi-Match Packet Classification Using TCAM and SRAM 2019/2/25 Scalable Multi-Match Packet Classification Using TCAM and SRAM Presenter: Wei-Li,Wang Date: 2017/2/8 Author: Yu-Chieh Cheng and Pi-ChungWang IEEE TRANSACTIONS ON COMPUTERS, VOL. 65, NO. 7, JULY 2016 Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C. CSIE CIAL Lab 1

2019/2/25 Introduction To simplify the hardware configuration and lower the implementation cost, we focus on a succinct TCAM architecture with only one single nonproprietary TCAM chip. In this study, we improve the performance of TCAM based packet classification by incorporating SRAM in the search procedure. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

MULTI-MATCH USING SRAM-ASSISTED TCAM (MUST) 2019/2/25 MULTI-MATCH USING SRAM-ASSISTED TCAM (MUST) We create index rules stored in TCAM, the original rules stored in the corresponding SRAM entry. Space Decomposition Using a Single Decision Tree Space Decomposition Using Multiple Decision Trees National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

Space Decomposition Using a Single Decision Tree In our proposed binary decision tree, the space of an internal node is equally divided by its two child nodes and the two subspaces differ only in one of the dimensions. We consider that each field of an index rule should be represented as a prefix so that each index rule only occupies one TCAM entry. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using a Single Decision Tree The rule list of a leaf node is allowed to have at most bin-threshold (binth) rules. In the worst case, these rules replicate exponentially to result in explosive storage. To alleviate the problem of rule replication , the field generating minimum replicas is selected. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using a Single Decision Tree National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using a Single Decision Tree National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using a Single Decision Tree The leaf nodes with dotted bold lines correspond to the overlapping areas completely covered by more than two rules. Since the overlapping rules always match all the points in the area, a further space decomposition is no longer necessary. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using a Single Decision Tree 2019/2/25 Space Decomposition Using a Single Decision Tree Each index rule consists of two parts, rule specification stored in TCAM and the associated original rules stored in SRAM. Ex. Because the index rules do not overlap with each other, each packet classification only accesses TCAM once. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

Space Decomposition Using a Single Decision Tree The speed performance may degrade since the number of SRAMaccesses is proportional to the binth value. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using Multiple Decision Trees 2019/2/25 Space Decomposition Using Multiple Decision Trees To leverage both speed and storage performance, we allow a moderate increment of TCAM accesses to achieve better storage performance. Our approach determines whether a rule should be stored in a different decision tree according to the number of its replicas. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

Space Decomposition Using Multiple Decision Trees We set an expansion factor to control the number of replicas of a rule to be stored in a decision tree. For each rule, there is a counter which is initially set to zero. If a rule overlaps more than one child node, then the counter value is increased by one. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using Multiple Decision Trees When the number of replicas is larger than the expansion factor, this rule will be removed from the decision tree and stored in a new rule set. The procedure of tree construction proceeds for all of the rules. If the new rule set is non-empty after constructing a decision tree, then the above procedure repeats to generate another decision tree until all rules are stored in a decision tree. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using Multiple Decision Trees National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using Multiple Decision Trees In the fourth layer, both rules, F10 and F11, generate the third replicas to activate rule removal. In the fifth layer, F2, which has a replica, is to be removed. National Cheng Kung University CSIE Computer & Internet Architecture Lab

Space Decomposition Using Multiple Decision Trees National Cheng Kung University CSIE Computer & Internet Architecture Lab

2019/2/25 Search Procedure Assume that there are d decision trees. Each bitmap has d bits which are initially set to “don’t care”. For the ith decision tree, the ith bit of its bitmap is set to one. The bitmap is then appended to all index rules of the ith decision tree. each rule is only stored in one decision tree. As a result, the index rules of all decision trees must be searched for all possible matches. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab

Search Procedure National Cheng Kung University CSIE Computer & Internet Architecture Lab

Search Procedure - Example For an incoming packet (0111; 0111), the search procedure generates a search key, (0111; 0111; 11), to access TCAM. First match: I2 Since I2 belongs to the first decision tree, the search key is updated to (0111; 0111; 01) to avoid matching I2 again. Second match:I6 National Cheng Kung University CSIE Computer & Internet Architecture Lab

PERFORMANCE EVALUATION Snort Rule Sets ClassBench Rule Databases National Cheng Kung University CSIE Computer & Internet Architecture Lab

Snort Rule Sets These Snort rules specify few ranges and do not suffer from the cost of range representation in TCAM. All schemes in our experiments apply negation removal for storage saving.(remove : $EXTERNAL_NET for IP address prefix or !80 for port number.) National Cheng Kung University CSIE Computer & Internet Architecture Lab

Snort Rule Sets National Cheng Kung University CSIE Computer & Internet Architecture Lab

Snort Rule Sets National Cheng Kung University CSIE Computer & Internet Architecture Lab

Snort Rule Sets National Cheng Kung University CSIE Computer & Internet Architecture Lab

ClassBench Rule Databases 2019/2/25 ClassBench Rule Databases The real databases have 752, 269 and 1,550 rules. National Cheng Kung University CSIE Computer & Internet Architecture Lab CSIE CIAL Lab