Wire Speed Packet Classification Without TCAMs ACM SIGMETRICS 2007 Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison)

Slides:



Advertisements
Similar presentations
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Advertisements

August 17, 2000 Hot Interconnects 8 Devavrat Shah and Pankaj Gupta
Fast Updating Algorithms for TCAMs Devavrat Shah Pankaj Gupta IEEE MICRO, Jan.-Feb
Multi-dimensional Packet Classification on FPGA: 100Gbps and Beyond
1 IP-Lookup and Packet Classification Advanced Algorithms & Data Structures Lecture Theme 08 – Part I Prof. Dr. Th. Ottmann Summer Semester 2006.
VCRIB: Virtual Cloud Rule Information Base Masoud Moshref, Minlan Yu, Abhishek Sharma, Ramesh Govindan HotCloud 2012.
1 An Efficient, Hardware-based Multi-Hash Scheme for High Speed IP Lookup Hot Interconnects 2008 Socrates Demetriades, Michel Hanna, Sangyeun Cho and Rami.
Fast Firewall Implementation for Software and Hardware-based Routers Lili Qiu, Microsoft Research George Varghese, UCSD Subhash Suri, UCSB 9 th International.
Bio Michel Hanna M.S. in E.E., Cairo University, Egypt B.S. in E.E., Cairo University at Fayoum, Egypt Currently is a Ph.D. Student in Computer Engineering.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—4-1 Implementing Inter-VLAN Routing Deploying Multilayer Switching with Cisco Express Forwarding.
M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Shulin You UNIVERSITY OF MASSACHUSETTS, AMHERST – Department of Electrical and Computer Engineering.
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.
Scalable Flow-Based Networking with DIFANE 1 Minlan Yu Princeton University Joint work with Mike Freedman, Jennifer Rexford and Jia Wang.
Low Power TCAM Forwarding Engine for IP Packets Authors: Alireza Mahini, Reza Berangi, Seyedeh Fatemeh and Hamidreza Mahini Presenter: Yi-Sheng, Lin (
Router Architecture : Building high-performance routers Ian Pratt
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:
Efficient Multi-match Packet Classification with TCAM Fang Yu Randy H. Katz EECS Department, UC Berkeley {fyu,
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
1 Energy Efficient Multi-match Packet Classification with TCAM Fang Yu
CS 268: Lectures 13/14 (Route Lookup and Packet Classification) Ion Stoica April 1/3, 2002.
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.
Performance Evaluation of IPv6 Packet Classification with Caching Author: Kai-Yuan Ho, Yaw-Chung Chen Publisher: ChinaCom 2008 Presenter: Chen-Yu Chaug.
Efficient Multi-Match Packet Classification with TCAM Fang Yu
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 Wire Speed Packet Classification Without TCAMs: A Few More Registers (And A Bit of Logic) Are Enough Author: Qunfeng Dong, Suman Banerjee, Jia Wang, Dheeraj.
EaseCAM: An Energy And Storage Efficient TCAM-based IP-Lookup Architecture Rabi Mahapatra Texas A&M University;
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
March 1, Packet Classification and Filtering for Network Processors JC Ho.
Router modeling using Ptolemy Xuanming Dong and Amit Mahajan May 15, 2002 EE290N.
Chapter 9 Classification And Forwarding. Outline.
Hash, Don’t Cache: Fast Packet Forwarding for Enterprise Edge Routers Minlan Yu Princeton University Joint work with Jennifer.
Computer Networks Switching Professor Hui Zhang
1 Route Table Partitioning and Load Balancing for Parallel Searching with TCAMs Department of Computer Science and Information Engineering National Cheng.
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
PEDS: Parallel Error Detection Scheme for TCAM Devices David Hay, Politecnico di Torino Joint work with Anat Bremler Barr (IDC, Israel), Danny Hendler.
SIGCOMM 2002 New Directions in Traffic Measurement and Accounting Focusing on the Elephants, Ignoring the Mice Cristian Estan and George Varghese University.
CoPTUA: Consistent Policy Table Update Algorithm for TCAM without Locking Zhijun Wang, Hao Che, Mohan Kumar, Senior Member, IEEE, and Sajal K. Das.
A 50-Gb/s IP Router 참고논문 : Craig Partridge et al. [ IEEE/ACM ToN, June 1998 ]
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Minimizing Rulesets for TCAM Implementation.
Multi-dimensional Packet Classification on FPGA 100 Gbps and Beyond Author: Yaxuan Qi, Jeffrey Fong, Weirong Jiang, Bo Xu, Jun Li, Viktor Prasanna Publisher:
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
ORange: Multi Field OpenFlow based Range Classifier Liron Schiff Tel Aviv University Yehuda Afek Tel Aviv University Anat Bremler-Barr Inter Disciplinary.
Packet Classification on Multiple Fields 참고 논문 : Pankaj Gupta and Nick McKeown SigComm 1999.
Firewall Fingerprinting Amir R. Khakpour 1, Joshua W. Hulst 1, Zhihui Ge 2, Alex X. Liu 1, Dan Pei 2, Jia Wang 2 1 Michigan State University 2 AT&T Labs.
Packet Classifiers In Ternary CAMs Can Be Smaller Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison) Jia Wang.
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
Applied Research Laboratory Edward W. Spitznagel 24 October Packet Classification using Extended TCAMs Edward W. Spitznagel, Jonathan S. Turner,
Balajee Vamanan and T. N. Vijaykumar School of Electrical & Computer Engineering CoNEXT 2011.
Author : Guangdeng Liao, Heeyeol Yu, Laxmi Bhuyan Publisher : Publisher : DAC'10 Presenter : Jo-Ning Yu Date : 2010/10/06.
1. Outline Introduction Related work on packet classification Grouper Performance Analysis Empirical Evaluation Conclusions 2/42.
1 Dynamic Pipelining: Making IP- Lookup Truly Scalable Jahangir Hasan T. N. Vijaykumar School of Electrical and Computer Engineering, Purdue University.
Scalable High Speed IP Routing Lookups Scalable High Speed IP Routing Lookups Authors: M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Zhqi.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
A Smart Pre-Classifier to Reduce Power Consumption of TCAMs for Multi-dimensional Packet Classification Yadi Ma, Suman Banerjee University of Wisconsin-Madison.
TCAM –BASED REGULAR EXPRESSION MATCHING SOLUTION IN NETWORK Phase-I Review Supervised By, Presented By, MRS. SHARMILA,M.E., M.ARULMOZHI, AP/CSE.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
CS 740: Advanced Computer Networks IP Lookup and classification Supplemental material 02/05/2007.
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 Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
Packet Classification Using Multidimensional Cutting Sumeet Singh (UCSD) Florin Baboescu (UCSD) George Varghese (UCSD) Jia Wang (AT&T Labs-Research) Reviewed.
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 IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo, Jose G. Delgado-Frias Publisher: Journal of Systems.
A Classification for Access Control List To Speed Up Packet-Filtering Firewall CHEN FAN, LONG TAN, RAWAD FELIMBAN and ABDELSHAKOUR ABUZNEID Department.
By: Yaron Levy Supervisors: Dr. Shlomo Greenberg Mr. Hagai David.
Implementation of GPU based CCN Router
Transport Layer Systems Packet Classification
Jason Klaus, Duncan Elliott Confidential
Presentation transcript:

Wire Speed Packet Classification Without TCAMs ACM SIGMETRICS 2007 Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison) Jia Wang (AT&T Laboratories – Research) Dheeraj Agrawal (University of Wisconsin-Madison)

 Introduction  Previous work and our objective  Motivation  Design  Evaluation  Summary Outline

 Packet classification [SVSW98,LS98]  Make a decision on each incoming packet based on the value of some packet header field(s), according to a given rule set.  Example — IP forwarding based on destination IP address  Is the foundation of many Internet functions (e.g. security, QoS, etc).  Each rule specifies a range literal on each relevant field  For example, the source port must be in the range [1024, 65535]  Prefix, single value, and wildcard are all special ranges.  A rule and a packet match, if the packet satisfies all range literals.  Objective  For each incoming packet, find the first highest priority rule that matches the packet. Introduction

Introduction  Hardware solution  Ternary Content Addressable Memory (TCAM) is the favoured solution for wire speed packet classification in high speed routers.  Fast — search all stored rules in parallel and return the first matching rule.  Expensive — accounts for a significant portion of router line card cost  Power consuming — one TCAM chip consumes 12W-15W  Heat dissipation is a major challenge in designing high performance architectures  Cooling cost is a considerable portion of ISPs’ operational cost  Board area efficiency is low  Not convenient to perform complex operations  Software solution  Compared with TCAM  Better for performing complex classification tasks  Cheap — no additional hardware needed  Low power consumption — DRAM/SRAM-based implementation  Slow

 Packet Wire Speeds  With 40-byte packet size, OC-768 allows 8 nano-seconds per packet.  Researchers have been working on the design of routers with 4×OC-768  Software solutions  O(logn) memory accesses per packet, using O(n^d) memory space, or  O((logn)^(d-1)) memory accesses per packet, using O(n) memory space  n is the number of rules  d is the number of packet header fields  As wire speeds accelerate much faster than memory access speeds, software solution will become increasingly difficult.  TCAM is the de facto solution for wire speed packet classification, and even IP lookup as well. Introduction

Using a small and fast cache is a natural and appealing choice.

 Flow Cache [Xu et al. 2000, Chang et al. 2004]  Xu, Singhal, and Degroat 2000  Number of concurrent flows: 14,000  Cache size: 16K entries  Cache miss ratio: 8%  Chang, Feng, and Li 2004  Number of concurrent flows: 567  Cache size: 4KB  Cache miss ratio: 4.85% Prior arts

 Number of concurrent flows  100,000+  To be realistic in today’s Internet  Cache size  A small number of entries  To be cost efficient  Cache miss ratio  0.1% or lower  To classify missed packets using a low cost packet classifier Our objectives

 Caching rules is more efficient than caching packets  One rule can match many different flows  A small number of rules match most traffic  Cached rules need not be existing rules in the rule set  A new rule may cover more flows than any existing rule  Cached rules should evolve in response to traffic dynamics  Evolving rules may cover more flows than any existing rule Observations

Example

Framework

 What (not which!) rules should we cache?  To cover incoming flows using as few rules as possible  How should cached rules evolve?  In response to changes in traffic pattern  Semantic integrity of the rule cache?  If hit, the cache should always output the right decision  Effect of cache management delay on cache hit ratio?  Prefer low cost and hence relatively slow cache manager  Updated rules are not available until after cache management  Can possibly miss some packets because of the delay Challenges

Framework

RHL & Sliding Window

 Each element in Regular Hypercube List (RHL) is a rule  Namely, a d-dimensional hyper-cube in the definition space  An RHL element has a single decision  Thus can be represented as a single rule  Every sample is linked to some RHL element covering it  To fully utilize sampled packets in the sliding window  The weight of an RHL is its number of associated samples  Overlapping RHL elements must have the same decision  Greatly simplifies cache management and cache design!  We can simply put the top RHL elements into rule cache. Regular Hypercube List (RHL)

SPDD

Framework

Rule Cache Design

 If attacking traffic accounts for a percentage of x in aggregate traffic, cache miss ratio caused by an adversary is bounded by x/1-x.  Even if the adversary is perfectly informed  Even if the adversary can arbitrarily control the content of attacking packets, when sampled by the cache manager  For example, if x = 10%, cache miss ratio caused by the adversary is at most 11.1%.  Detailed proof can be found in the paper. Security of Rule Cache

Evaluation

Evaluation

Evaluation

Evaluation

Evaluation

 TCAM as the de facto solution has some disadvantages  Accounts for a significant portion of router line card cost  Quite power consuming  We propose smart rule cache architecture to replace TCAM  A small on-chip rule cache matches more than 99.9% incoming traffic  Missed packets can be easily classified using a low cost classifier  The small cache can be implemented at negligible cost Summary

ACM SIGMETRICS 2007 Qunfeng Dong University of Wisconsin - Madison Thank you!