Packet classification on Multiple Fields Authors: Pankaj Gupta and Nick McKcown Publisher: ACM 1999 Presenter: 楊皓中 Date: 2013/12/11.

Slides:



Advertisements
Similar presentations
Packet Classification using Hierarchical Intelligent Cuttings
Advertisements

Fast Firewall Implementation for Software and Hardware-based Routers Lili Qiu, Microsoft Research George Varghese, UCSD Subhash Suri, UCSB 9 th International.
Types of Algorithms.
Ultra-High Throughput Low-Power Packet Classification
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.2 Row Reduction and Echelon Forms
Linear Equations in Linear Algebra
1 On Constructing Efficient Shared Decision Trees for Multiple Packet Filters Author: Bo Zhang T. S. Eugene Ng Publisher: IEEE INFOCOM 2010 Presenter:
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
Packet Classification on Multiple Fields Pankaj Gupta and Nick McKeown Stanford University {pankaj, September 2, 1999.
CS 268: Lectures 13/14 (Route Lookup and Packet Classification) Ion Stoica April 1/3, 2002.
Efficient Multidimensional Packet Classification with Fast Updates Author: Yeim-Kuan Chang Publisher: IEEE TRANSACTIONS ON COMPUTERS, VOL. 58, NO. 4, APRIL.
CS 268: Route Lookup and Packet Classification Ion Stoica March 11, 2003.
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
Performance Evaluation of IPv6 Packet Classification with Caching Author: Kai-Yuan Ho, Yaw-Chung Chen Publisher: ChinaCom 2008 Presenter: Chen-Yu Chaug.
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.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
Two stage packet classification using most specific filter matching and transport level sharing Authors: M.E. Kounavis *,A. Kumar,R. Yavatkar,H. Vin Presenter:
CS 268: Route Lookup and Packet Classification
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
Fast Packet Classification Using Bit Compression with Fast Boolean Expansion Author: Chien Chen, Chia-Jen Hsu and Chi-Chia Huang Publisher: Journal of.
ECE 526 – Network Processing Systems Design Packet Processing II: algorithms and data structures Chapter 5: D. E. Comer.
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
Block Permutations in Boolean Space to Minimize TCAM for Packet Classification Authors: Rihua Wei, Yang Xu, H. Jonathan Chao Publisher: IEEE INFOCOM,2012.
Packet Classification Using Multi-Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: COMPSACW, 2013 IEEE 37th Annual (Computer.
(TPDS) A Scalable and Modular Architecture for High-Performance Packet Classification Authors: Thilan Ganegedara, Weirong Jiang, and Viktor K. Prasanna.
An Improved Algorithm to Accelerate Regular Expression Evaluation Author: Michela Becchi, Patrick Crowley Publisher: 3rd ACM/IEEE Symposium on Architecture.
Content Addressable Network CAN. The CAN is essentially a distributed Internet-scale hash table that maps file names to their location in the network.
Packet Classification on Multiple Fields 참고 논문 : Pankaj Gupta and Nick McKeown SigComm 1999.
Author: Sriram Ramabhadran, George Varghese Publisher: SIGMETRICS’03 Presenter: Yun-Yan Chang Date: 2010/12/29 1.
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. Outline Introduction Related work on packet classification Grouper Performance Analysis Empirical Evaluation Conclusions 2/42.
EQC16: An Optimized Packet Classification Algorithm For Large Rule-Sets Author: Uday Trivedi, Mohan Lal Jangir Publisher: 2014 International Conference.
StrideBV: Single chip 400G+ packet classification Author: Thilan Ganegedara, Viktor K. Prasanna Publisher: HPSR 2012 Presenter: Chun-Sheng Hsueh Date:
1 Packet Classification تنظیم : محمدعلی عظیمی. Classifier Example 2.
1 Fast packet classification for two-dimensional conflict-free filters Department of Computer Science and Information Engineering National Cheng Kung University,
PARALLEL-SEARCH TRIE- BASED SCHEME FOR FAST IP LOOKUP Author: Roberto Rojas-Cessa, Lakshmi Ramesh, Ziqian Dong, Lin Cai Nirwan Ansari Publisher: IEEE GLOBECOM.
A Smart Pre-Classifier to Reduce Power Consumption of TCAMs for Multi-dimensional Packet Classification Yadi Ma, Suman Banerjee University of Wisconsin-Madison.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
Types of Algorithms. 2 Algorithm classification Algorithms that use a similar problem-solving approach can be grouped together We’ll talk about a classification.
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.
Author: Weirong Jiang and Viktor K. Prasanna Publisher: ACM Symposium on Parallel Algorithms and Architectures, SPAA 2009 Presenter: Chin-Chung Pan Date:
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean Logic.
Hierarchical packet classification using a Bloom filter and rule-priority tries Source : Computer Communications Authors : A. G. Alagu Priya 、 Hyesook.
Author : Lynn Choi, Hyogon Kim, Sunil Kim, Moon Hae Kim Publisher/Conf : IEEE/ACM TRANSACTIONS ON NETWORKING Speaker : De yu Chen Data :
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.
First generation firewalls packets filtering ريماز ابراهيم محمد علي دعاء عادل محمد عسجد سامي عبدالكريم.
Author : Tzi-Cker Chiueh, Prashant Pradhan Publisher : High-Performance Computer Architecture, Presenter : Jo-Ning Yu Date : 2010/11/03.
By: Yaron Levy Supervisors: Dr. Shlomo Greenberg Mr. Hagai David.
Internet Networking recitation #9
Toward Advocacy-Free Evaluation of Packet Classification Algorithms
Types of Algorithms.
Transport Layer Systems Packet Classification
Types of Algorithms.
Linear Equations in Linear Algebra
Implementing an OpenFlow Switch on the NetFPGA platform
Internet Networking recitation #10
Publisher : TRANSACTIONS ON NETWORKING Author : Haoyu Song, Jonathan S
Types of Algorithms.
Linear Equations in Linear Algebra
Authors: Duo Liu, Bei Hua, Xianghui Hu and Xinan Tang
MEET-IP Memory and Energy Efficient TCAM-based IP Lookup
Packet Classification Using Binary Content Addressable Memory
Presentation transcript:

Packet classification on Multiple Fields Authors: Pankaj Gupta and Nick McKcown Publisher: ACM 1999 Presenter: 楊皓中 Date: 2013/12/11

Introduction There are a number of network service that require packet classification,such as routing,access-control in firewalls, policy based routing. In each case, it is necessary to determine which flow an arriving packet belongs to so as to determine –for example— whether to forward or filter it, where to forward it to. We find that a simple multi-stage classification algorithm, call RFC(recursive flow classification)

Introduction

Proposed Algorithm RFC 一. Structure of the classifiers 二. Algorithm 三. A simple complete example of RFC

Structure of the classifiers

Algorithm

Algorithm 1) In the first phase, F fields of the packet header are split up into multiple chunks that are used to index into multiple memories in parallel. Each of the parallel lookups yields an output value that we will call eqlD 2) In subsequent phases, the index into each memory is formed by combining the results of the lookups from earlier phases. 3) In the final phase, we are left with one result from the lookup. Because of the way the memory contents have been pre-computed, this value corresponds to the classID of the packet.

Algorithm Example: Phase 0 table of chunk 6 ◦ 00 : {20,21} ◦ 01 : {www=80} ◦ 10 : {>1023} ◦ 11 : {all remaining number in } ◦ two bit values the “equivalence classIDS” (eqIDs). ◦ CBM(class bitmap) ◦ Ex: Dport=20 ◦ indexeqID | | | | eqIDCBM

Algorithm Example: Phase 0 table of chunk 4 ◦ 00 : {udp = 17} ◦ 01 : {tcp = 6} ◦ 10: {all remaining number in 0-255} ◦ Ex: dport =20,udp 02 | | | indexeqID | | | | indexeqID eqIDCBM eqIDCBM eqIDCBM indexeqID

RFC pre-processing The performance of RFC can be tuned with parameters P : ◦ For instance, two of the several possible reduction trees for P=3 and P=4 When there is more than one reduction tree possible for a given value of P, we choose a tree based on two heuristics: (i) we combine those chunks together which have the most “correlation” ◦ e.g. we combine the two 16-bit chunks of Network-layer source address in the earliest phase possible (ii) we combine as many chunks as we can without causing unreasonable memory consumption

RFC pre-processing Following these heuristics, we find that ◦ the “best” reduction tree for P=3 is tree-B in Figure 8 ◦ the “best” reduction tree for P=4 is tree-A in Figure 9. chunk 0source(32-16) 1source(15-0) 2destination(32-16) 3destination(15-0) 4protocol 5protocol-flags

RFC pre-processing Our first goal is to keep the total amount of memory reasonably small. The graphs show how the memory usage increases with the number of rules in each classifier P=2 P=3 P=4 small memory, but comes two additional memory access

as we increase the number of phases from three to four, we require a smaller total amount of memory. However, this comes at the expense of two additional memory accesses, illustrating the trade-off between memory consumption and lookup time in RFC

RFC pre-processing Our second goal is to keep the preprocessing time small. plot the preprocessing time required for both three and four phases of RFC The graphs indicate that, for these classifiers, RFC is suitable if the rules change relatively slowly; ◦ for example, not more than once every few seconds

RFC lookup performance

Adjacency Groups Since the size of the RFC tables depends on the number of chunk equivalence classes, ◦ we focus our efforts on trying to reduce this number. ◦ This we do by merging two or more rules of the original classifier. First, we define some notation. We call two distinct rules R and S. with R appearing first. in the classifier to be adjacent in dimension ‘I’ if all of the following three conditions hold: ◦ (1) They have the same action ◦ (2) All but the ‘I’ field have the exact same specification in the two rules ◦ (3) All rules appearing in between R and S in the classifier have either the same action or are disjoint from R. Two rules are said to be simply adjacent if they are adjacent in some dimension.

Adjacency Groups

Memory consumed with p=3with adjGrp

Comparison with other packet classification