Rule Caching in Software- Define Networkings. Supervisor: Prof Weifa Liang Student: Zhenge Jia, u Date of presentation: 24 th May 2016

Similar documents
Wildcard-Rule Caching and Cache Replacement Algorithms in Software-Defined Networking

Proceedings of the Fourth Engineering Students Conference at Peradeniya (ESCaPe) SDN Flow Caching

Flow Caching for High Entropy Packet Fields

Building Efficient and Reliable Software-Defined Networks. Naga Katta

Hands on SDN and BRO

DevoFlow: Scaling Flow Management for High Performance Networks

Rule-Caching Algorithms for Software-Defined Networks

ClassBench-ng: Recasting ClassBench After a Decade of Network Evolution

CS 4226: Internet Architecture

Packet Classification Using Dynamically Generated Decision Trees

PC-DUOS: Fast TCAM Lookup and Update for Packet Classifiers

Implementation of Boundary Cutting Algorithm Using Packet Classification

Lecture 14 SDN and NFV. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Overview of the Cisco OpenFlow Agent

CacheFlow: Dependency-Aware Rule-Caching for Software-Defined Networks

An Efficient TCAM Update Scheme for Packet Classification

Design of a High Speed FPGA-Based Classifier for Efficient Packet Classification

IRMS: An Intelligent Rule Management Scheme for Software Defined Networking

Packet Classification using Rule Caching

Multi-Field Range Encoding for Packet Classification in TCAM

CSC 401 Data and Computer Communications Networks

National Chiao Tung University, HsinChu, Taiwan

Decision Forest: A Scalable Architecture for Flexible Flow Matching on FPGA

Chapter 5 Network Layer: The Control Plane

Scalable Enterprise Networks with Inexpensive Switches

SDN-based Network Obfuscation. Roland Meier PhD Student ETH Zürich

Application-Aware SDN Routing for Big-Data Processing

High Performance Architecture for Flow-Table Lookup in SDN on FPGA

CAB: A Reactive Wildcard Rule Caching System for Software-Defined Networks

CS 5114 Network Programming Languages Data Plane. Nate Foster Cornell University Spring 2013

Using SDN and NFV to Realize a Scalable and Resilient Omni-Present Firewall

Network Processors. Nevin Heintze Agere Systems

Infinite CacheFlow : A Caching Solution for Switches in Software Defined Networks. Omid Alipourfard

SDN_CDN Documentation

100 GBE AND BEYOND. Diagram courtesy of the CFP MSA Brocade Communications Systems, Inc. v /11/21

SDN in TETRA Group Communication - Voice Switching

Software Defined Networking(SDN) Wireless application

Three Different Designs for Packet Classification

Taxonomy of SDN. Vara Varavithya 17 January 2018

Languages for Software-Defined Networks

Software Defined Networking

Electrical Engineering and Computer Science

Efficient TCAM Encoding Schemes for Packet Classification using Gray Code

Application of SDN: Load Balancing & Traffic Engineering

Grid of Segment Trees for Packet Classification

A Flow Aggregation Method Based on End-to-End Delay in SDN

SSA: A Power and Memory Efficient Scheme to Multi-Match Packet Classification. Fang Yu, T.V. Lakshman, Martin Austin Motoyama, Randy H.

Software-Defined Networking (SDN) Now for Operational Technology (OT) Networks SEL 2017

Languages for SDN (Frenetic)

Optimizing the One Big Switch Abstraction in Software-Defined Networks

Problem Statement. Algorithm MinDPQ (contd.) Algorithm MinDPQ. Summary of Algorithm MinDPQ. Algorithm MinDPQ: Experimental Results.

IP Forwarding. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli

SDN/DANCES Project Update Developing Applications with Networking Capabilities via End-to-end SDN (DANCES)

Multi-Field Range Encoding for Packet Classification in TCAM

Centralization of Network using Openflow Protocol

A Configurable Packet Classification Architecture for Software- Defined Networking

Software Defined Networking

Cloud Networking (VITMMA02) Software Defined Networking (SDN) in the Cloud

CoVisor: A Composi,onal Hypervisor for So6ware- Defined Networks

Network Programming Languages. Nate Foster

Design and development of the reactive BGP peering in softwaredefined routing exchanges

Configuring OpenFlow 1

Interactive Monitoring, Visualization, and Configuration of OpenFlow-Based SDN

SDN Lecture 2. Layer I: Infrastructure Layer II: Southbound Interfaces

Software Defined Networking

Performance Analysis of OpenFlow Hardware

Multi-core Implementation of Decomposition-based Packet Classification Algorithms 1

LACP Meets OpenFlow Seamless Link Aggregation to OpenFlow Networks

Using NAT in Overlapping Networks

Software-Defined Networking (SDN) Overview

Overview. Implementing Gigabit Routers with NetFPGA. Basic Architectural Components of an IP Router. Per-packet processing in an IP Router

TUPLE PRUNING USING BLOOM FILTERS FOR PACKET CLASSIFICATION

FPX Architecture for a Dynamically Extensible Router

Encoding Short Ranges in TCAM Without Expansion: Efficient Algorithm and Applications

Selective Boundary Cutting For Packet Classification SOUMYA. K 1, CHANDRA SEKHAR. M 2

OPENFLOW & SOFTWARE DEFINED NETWORKING. Greg Ferro EtherealMind.com and PacketPushers.net

End to End SLA for Enterprise Multi-Tenant Applications

Rule Caching for Packet Classification Support

An Effective Swapping Mechanism to Overcome the Memory Limitation of SDN Devices

Web-Based User Interface for the Floodlight SDN Controller

Configuring Online Diagnostics

Scalability of Software Defined Network on Floodlight Controller using OFNet

Securing Network Application Deployment in Software Defined Networking 11/23/17

Software-Defined Networking (Continued)

A Multi Gigabit FPGA-based 5-tuple classification system

Disrupting SDN via the Data Plane: A Low-Rate Flow Table Overflow Attack

IEEE SYSTEMS JOURNAL 1

CSE398: Network Systems Design

Configuring QoS on VLANs

Software Defined Networking Data centre perspective: Open Flow

Efficient Conflict Detection in Flow-Based Virtualized Networks

Switch and Router Design. Packet Processing Examples. Packet Processing Examples. Packet Processing Rate 12/14/2011

Programmable Software Switches. Lecture 11, Computer Networks (198:552)

MULTI-MATCH PACKET CLASSIFICATION BASED ON DISTRIBUTED HASHTABLE

Application Delivery Using Software Defined Networking

Decision Forest: A Scalable Architecture for Flexible Flow Matching on FPGA

Software Defined Traffic Measurement with OpenSketch

Hierarchical Rate Limiting in an ODL Orchestrated Virtualized DC. Vishal Thapar, Ericsson Deepthi V V, Ericsson Faseela K, Ericsson

UNIVERSITY OF CAGLIARI

Software Define Network Applications on Top of Blockchain Technology

Transcription:

Rule Caching in Software- Define Networkings Supervisor: Prof Weifa Liang Student: Zhenge Jia, u5433077 Date of presentation: 24 th May 2016

Background Related Work System Model CONTENT Wildcard Rule Caching Algorithm References

Background Applications, Service program Northbound Interface:Rest API Floodlight, Ryu, etc Southbound Interface: OpenFlow, OpFlex, etc Physical, Virtual swtich (Open vswitch)

Background Example of Flow Table Matching Rule Action Statistics Op. Size Loca Loca Offset Offset Type F S Offset Value TTL Counter = 16 P P Src IP Dst IP Drop N 0 0 0 112 1 = 16 P C Dst IP Value Forward Y 8 Dst MAC Mac D 112 33 Each flow table entry contains a set of packet fields to match, an action and an statistics. When an OpenFlow Switch receives a packet it has never seen before, it sends this packet to the controller. It can drop the packet. Or it can add a flow entry directing the switch on how to forward similar packets in the future.

Background TCAM (Ternary Content- Addressable Memory) Pros High lookup speed Wildcard matching capability Cons Power-hungry (100 times more power-consuming per Mbit than SRAM) Expensive (400 times more expensive per Mbit than SRAM) Limited size (Could store limited number of rules) Rule Caching Cache the important rule Algorithms applied in wired SDN

Related Work A Rule-Caching Algorithms for SDN [1] Incremental rule-dependency analysis Splice dependency chain by cover-set Wildcard rules caching algorithm based on coverset B Wildcard Rules Caching and Cache Replacement Algorithms in SDN [2] Wildcard rules caching algorithm based on accumulative contribution C Classbench: A packet classification benchmark [3] Policy and trace generator

Related Work 1 Rules Dependency DAG Construct a directed graph where each rule is a node, and each edge captures a direct dependency between a pair of rules. [1] SDN/Rules Caching Cover-set A new rule is created to cover many low-weight rules. [1] 2 3 Wildcard Rules Caching Algorithm The algorithm in [2] select the combination of caching rules with highest contribution by layer-bylayer calculation.

System Model Rules dependency DAG Rule Match Action Priority Weight R1 000 Forward to port 1 6 20 R2 00* Forward to port 3 5 30 R3 0** Forward to port 4 4 100 R4 110 Drop 3 10 R5 10* Forward to port 2 2 80 R6 **0 Forward to port 5 1 90 1. Rules on higher level have higher priority. 2. The dependency exists when the child rule overlap with parent rule in match field. 3. Once the rule is selected, all other dependent rules must be also stored in TCAM.

System Model Terms Weight The volume of traffic matching the rule Cost The number of rules that must be installed together Contribution The ratio of weight to cost

Related Exist ing Work Wildcard R ule Caching Algor it hm The Wildcard Rules Caching Algorithm Based on Layer-by-layer Calculation Select children of R9 and form the Layer_1. Sort the rules by individual contribution. In each layer, select the combination of rules with the highest accumulative contribution. And get into next layer.

New Wildcard Rule Caching Algorithm Select the rule with highest individual contribution to add into cache. Break the layer-by-layer calculation. Add children of all selected rules in TCAM for the next loop. Update the TCAM cache set by add the new rule into.

New Wildcard Rule Caching Algorithm Result Input dependency DAG Result under layer-bylayer caching algorithm Result under new wildcard rules caching algorithm

Future Works Test the wildcard rules caching algorithm for large amount of rules. Test in real SDN environment

References [1] N. Katta, O. Alipourfard, J. Rexford, and D. Walker. (2014). Rule-Caching Algorithm for Software-Defined Networks; [Online]. Available: https://www.cs.princeton.edu/~jrex/papers/cacheflow-long14.pdf, 2014. [2] Jang-Ping Sheu, and Yen-Cheng Chuo, Wildcard Rules Caching and Cache Replacement Algorithm in Software-Defined Networking, IEEE Trans. Netw., March 10, 2016, doi: 10.1109/TNSM. 2016.2530687 [3] D. E. Taylor and J. S. Turner, ClassBench: A Packet Classification Benchmark, IEEE/ACM Trans. on Networking, pp. 499-511, vol. 15, no. 3, June 2007. [4] TCAMs and OpenFlow: What every SDN practitioner must know. Available: http://tinyurl.com/kjy99uw, 2012.

Thanks