Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer.

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 Efficient Regular Expressions Compression Algorithm From A New Perspective Authors : Tingwen Liu,Yifu Yang,Yanbing Liu,Yong Sun,Li Guo Tingwen LiuYifu.
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.
Compact State Machines for High Performance Pattern Matching Department of Computer Science and Information Engineering National Cheng Kung University,
1 Performance Improvement of Two-Dimensional Packet Classification by Filter Rephrasing Department of Computer Science and Information Engineering National.
1 An innovative low-cost Classification Scheme for combined multi-Gigabit IP and Ethernet Networks Department of Computer Science and Information Engineering.
Memory-Efficient Regular Expression Search Using State Merging Department of Computer Science and Information Engineering National Cheng Kung University,
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.
Fast forwarding table lookup exploiting GPU memory architecture Author : Youngjun Lee,Minseon Jeong,Sanghwan Lee,Eun-Jin Im Publisher : Information and.
Leveraging Traffic Repetitions for High- Speed Deep Packet Inspection Author: Anat Bremler-Barr, Shimrit Tzur David, Yotam Harchol, David Hay Publisher:
A Regular Expression Matching Algorithm Using Transition Merging Department of Computer Science and Information Engineering National Cheng Kung University,
Fast Packet Classification Using Bloom filters Authors: Sarang Dharmapurikar, Haoyu Song, Jonathan Turner, and John Lockwood Publisher: ANCS 2006 Present:
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,
EQC16: An Optimized Packet Classification Algorithm For Large Rule-Sets Author: Uday Trivedi, Mohan Lal Jangir Publisher: 2014 International Conference.
Pattern-Based DFA for Memory- Efficient and Scalable Multiple Regular Expression Matching Author: Junchen Jiang, Yang Xu, Tian Pan, Yi Tang, Bin Liu Publisher:IEEE.
Scalable Many-field Packet Classification on Multi-core Processors Authors : Yun R. Qu, Shijie Zhou, Viktor K. Prasanna Publisher : International Symposium.
Deterministic Finite Automaton for Scalable Traffic Identification: the Power of Compressing by Range Authors: Rafael Antonello, Stenio Fernandes, Djamel.
1 Fast packet classification for two-dimensional conflict-free filters Department of Computer Science and Information Engineering National Cheng Kung University,
DBS A Bit-level Heuristic Packet Classification Algorithm for High Speed Network Author : Baohua Yang, Xiang Wang, Yibo Xue, Jun Li Publisher : th.
Memory-Efficient Regular Expression Search Using State Merging Author: Michela Becchi, Srihari Cadambi Publisher: INFOCOM th IEEE International.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
SwinTop: Optimizing Memory Efficiency of Packet Classification in Network Author: Chen, Chang; Cai, Liangwei; Xiang, Yang; Li, Jun Conference: Communication.
Research on TCAM-based OpenFlow Switch Author: Fei Long, Zhigang Sun, Ziwen Zhang, Hui Chen, Longgen Liao Conference: 2012 International Conference on.
2017/4/26 Rethinking Packet Classification for Global Network View of Software-Defined Networking Author: Takeru Inoue, Toru Mano, Kimihiro Mizutani, Shin-ichi.
Early Detection of DDoS Attacks against SDN Controllers
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.
Lossy Compression of Packet Classifiers Author: Ori Rottenstreich, J’anos Tapolcai Publisher: 2015 IEEE International Conference on Communications Presenter:
Packet Classification Using Dynamically Generated Decision Trees
GFlow: Towards GPU-based High- Performance Table Matching in OpenFlow Switches Author : Kun Qiu, Zhe Chen, Yang Chen, Jin Zhao, Xin Wang Publisher : Information.
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.
Practical Multituple Packet Classification Using Dynamic Discrete Bit Selection Author: Baohua Yang, Fong J., Weirong Jiang, Yibo Xue, Jun Li Publisher:
Hierarchical Hybrid Search Structure for High Performance Packet Classification Authors : O˜guzhan Erdem, Hoang Le, Viktor K. Prasanna Publisher : INFOCOM,
LightFlow : Speeding Up GPU-based Flow Switching and Facilitating Maintenance of Flow Table Author : Nobutaka Matsumoto and Michiaki Hayashi Conference:
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:
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
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
Memory-Efficient Regular Expression Search Using State Merging
Virtual TCAM for Data Center Switches
A Small and Fast IP Forwarding Table Using Hashing
Scalable Multi-Match Packet Classification Using TCAM and SRAM
A New String Matching Algorithm Based on Logical Indexing
2019/5/2 Using Path Label Routing in Wide Area Software-Defined Networks with OpenFlow ICNP = International Conference on Network Protocols Presenter:Hung-Yen.
Compact DFA Structure for Multiple Regular Expressions Matching
Power-efficient range-match-based packet classification on FPGA
Large-scale Packet Classification on FPGA
A Hybrid IP Lookup Architecture with Fast Updates
2019/9/3 Adaptive Hashing Based Multiple Variable Length Pattern Search Algorithm for Large Data Sets 比對 Simple Pattern 的方法是基於 Hash 並且可以比對不同長度的 Pattern。
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:

Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer Software and Applications Conference Workshops) Presenter: Chih-Hsun Wang Date: 2014/12/24 Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C.

Introduction Recursive Flow Classification (RFC) is a notable high- speed scheme for packet classification. However, it may incur high memory consumption in generating the pre- computed cross-product tables. In this paper, we propose a new packet classification scheme based on RFC to reduce the memory consumption by partitioning a rule database into several subsets. The performance of a packet classification algorithm is measured by its memory consumption and number of memory accesses to accomplish a classification. National Cheng Kung University CSIE Computer & Internet Architecture Lab 2

Proposed Scheme Partition a rule database into several subsets. The rules of each subset are stored in an independent RFC data structure. Each subset is then represented by an index rule and each index rule points to the corresponding RFC data structure. With the index RFC, we can determine which subsets an incoming packet matches. The corresponding RFC data structures are accessed to determine the matching rules. National Cheng Kung University CSIE Computer & Internet Architecture Lab 3

Proposed Scheme National Cheng Kung University CSIE Computer & Internet Architecture Lab 4 In SA field, there are five combinations: 0* (R3,R6), 010* (R3,R4,R6), 1* (R2,R6), 1100 (R1,R2,R6), 1110 (R2,R5,R6) In DA field, there are six combinations: * (R5), 110* (R5,R6), 1011 (R1,R5), 0* (R4,R5), 010* (R2,R4,R5), 00* (R3,R5) Cross product entries = 6*5 = 30

Proposed Scheme National Cheng Kung University CSIE Computer & Internet Architecture Lab 5 Divide rules into three subsets: (R1,R5,R6), (R2,R5), and (R3,R4) Cross product entries = 3*3 + 2*2 + 2*2 = 17

Proposed Scheme An effective partitioning algorithm should meet several requirements First, the rules which are geometrically close to each other should be categorized in the same subset. Second, each rule should reside in exact one subset. Third, the number of rule subsets should be adjustable to accommodate different rule databases. National Cheng Kung University CSIE Computer & Internet Architecture Lab 6

Proposed Scheme First, generates a balanced binary decision tree where each internal node divides the associated rules into two subsets. In the procedure of constructing a decision tree, any replicated rules are moved to the second decision tree. The rules in a leaf node are inserted into an RFC data structure, thus the number of RFC data structures is equal to the total number of leaf nodes in all decision trees. National Cheng Kung University CSIE Computer & Internet Architecture Lab 7

Proposed Scheme Create decision tree First define a bucket size to limit the number of rules stored in an RFC data structure. To partition a rule set, we select a field which can effectively distinguish these rules. For the selected field, we further determine an address point which can equally divide the rule set into two parts. With the selected address point, we can divide the rule set into three subsets. National Cheng Kung University CSIE Computer & Internet Architecture Lab 8

Proposed Scheme National Cheng Kung University CSIE Computer & Internet Architecture Lab 9 Bucket size = 4

Proposed Scheme After partitioning a rule-database into several subsets, the rules of a subset is stored in an RFC data structure and use an index rule to represent the space of a subset. After creating the index rules for all subsets, we use an RFC data structure to store these index rules, called index RFC. National Cheng Kung University CSIE Computer & Internet Architecture Lab 10

Proposed Scheme National Cheng Kung University CSIE Computer & Internet Architecture Lab 11

Proposed Scheme National Cheng Kung University CSIE Computer & Internet Architecture Lab 12

National Cheng Kung University CSIE Computer & Internet Architecture Lab 13 Proposed Scheme

National Cheng Kung University CSIE Computer & Internet Architecture Lab 14 0 … RFC data structure 0 … eqIDCBM Proposed Scheme Index array

Table IV shows the cross product table entries in each phase for the original RFC and our algorithm. In this example, this paper reduce 63% entries of the original RFC. 15 Proposed Scheme

Search For an incoming packet, the complete search procedure starts by traversing the index RFC data structure to find the matching index rules. Then, the search procedure proceeds to search the subsets of the matching index rules by accessing the corresponding RFC data structures. National Cheng Kung University CSIE Computer & Internet Architecture Lab 16

Refinements National Cheng Kung University CSIE Computer & Internet Architecture Lab 17 Merging Small Subsets While partitioning a rule database, small subsets could be generated. These small subsets would result in less efficient RFC data structure. Extra memory accesses to these data structures are also incurred. We merge the subsets whose numbers of rules are smaller than a threshold.

Refinements Merging the First Phases of Different RFCs: Because each of RFC data structure is traversed independently, we need 7*(k+1) memory accesses to retrieve eqIDs in the index arrays of the phase 0. Merging the index arrays of the same chunk from different RFC data structures, where each entry in the new array has k+1 fields. To reduce the number of memory accesses, we merge the index arrays of the same chunk from different RFC data structures, where each entry in the new array has k+1 fields. National Cheng Kung University CSIE Computer & Internet Architecture Lab 18

Refinements Merging the First Phases of Different RFCs: If we partition a database into k subsets, we will need 6*2^16*(k+1)+2^8*(k+1) array entries in the phase 0. In order to reduce the memory consumption, we replace the index array with a binary-search array for the phase 0 eqIDs. For each index array, the eqIDs stored in contiguous entries could be the same. We can merge them into an interval, which starts from the first entry to the last entry with the same eqID. National Cheng Kung University CSIE Computer & Internet Architecture Lab 19

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 20

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 21

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 22 不同 Merging Thresholds 比較

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 23 Merging Small Subsets or Not

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 24

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 25

Experimental Result National Cheng Kung University CSIE Computer & Internet Architecture Lab 26