OpenSketch Slides courtesy of Minlan Yu 1. Management = Measurement + Control Traffic engineering – Identify large traffic aggregates, traffic changes.

Slides:



Advertisements
Similar presentations
Virtual Network Diagnosis as a Service Wenfei Wu (UW-Madison) Guohui Wang (Facebook) Aditya Akella (UW-Madison) Anees Shaikh (IBM System Networking)
Advertisements

SDN Controller Challenges
Logically Centralized Control Class 2. Types of Networks ISP Networks – Entity only owns the switches – Throughput: 100GB-10TB – Heterogeneous devices:
VCRIB: Virtual Cloud Rule Information Base Masoud Moshref, Minlan Yu, Abhishek Sharma, Ramesh Govindan HotCloud 2012.
Forwarding Metamorphosis: Fast Programmable Match-Action Processing in Hardware for SDN Pat Bosshart, Glen Gibb, Hun-Seok Kim, George Varghese, Nick.
New Directions in Traffic Measurement and Accounting Cristian Estan – UCSD George Varghese - UCSD Reviewed by Michela Becchi Discussion Leaders Andrew.
Programmable Measurement Architecture for Data Centers Minlan Yu University of Southern California 1.
1 An Efficient, Hardware-based Multi-Hash Scheme for High Speed IP Lookup Hot Interconnects 2008 Socrates Demetriades, Michel Hanna, Sangyeun Cho and Rami.
Slick: A control plane for middleboxes Bilal Anwer, Theophilus Benson, Dave Levin, Nick Feamster, Jennifer Rexford Supported by DARPA through the U.S.
An Overview of Software-Defined Network Presenter: Xitao Wen.
Making Cellular Networks Scalable and Flexible Li Erran Li Bell Labs, Alcatel-Lucent Joint work with collaborators at university of Michigan, Princeton,
Measurement in Networks & SDN Applications. Interesting Questions Who is sending a lot to a subnet? – Heavy Hitters Is someone doing a port Scan? Is someone.
SDN and Openflow.
Scalable Network Virtualization in Software-Defined Networks
Scalable Flow-Based Networking with DIFANE 1 Minlan Yu Princeton University Joint work with Mike Freedman, Jennifer Rexford and Jia Wang.
Measuring Large Traffic Aggregates on Commodity Switches Lavanya Jose, Minlan Yu, Jennifer Rexford Princeton University, NJ 1.
Trajectory Sampling for Direct Traffic Observation Matthias Grossglauser joint work with Nick Duffield AT&T Labs – Research.
Reverse Hashing for High-speed Network Monitoring: Algorithms, Evaluation, and Applications Robert Schweller 1, Zhichun Li 1, Yan Chen 1, Yan Gao 1, Ashish.
Shivkumar KalyanaramanRensselaer Q1-1 ECSE-6600: Internet Protocols Quiz 1 Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT.
Reverse Hashing for Sketch Based Change Detection in High Speed Networks Ashish Gupta Elliot Parsons with Robert Schweller, Theory Group Advisor: Yan Chen.
Dream Slides Courtesy of Minlan Yu (USC) 1. Challenges in Flow-based Measurement 2 Controller Configure resources1Fetch statistics2(Re)Configure resources1.
DREAM: Dynamic Resource Allocation for Software-defined Measurement
BUFFALO: Bloom Filter Forwarding Architecture for Large Organizations Minlan Yu Princeton University Joint work with Alex Fabrikant,
Hash, Don’t Cache: Fast Packet Forwarding for Enterprise Edge Routers Minlan Yu Princeton University Joint work with Jennifer.
Software-defined Measurement
OpenFlow Switch Limitations. Background: Current Applications Traffic Engineering application (performance) – Fine grained rules and short time scales.
An Overview of Software-Defined Network Presenter: Xitao Wen.
NET-REPLAY: A NEW NETWORK PRIMITIVE Ashok Anand Aditya Akella University of Wisconsin, Madison.
Cellular Core Network Architecture
Jennifer Rexford Princeton University MW 11:00am-12:20pm Programmable Data Planes COS 597E: Software Defined Networking.
Software-Defined Networks Jennifer Rexford Princeton University.
SIGCOMM 2002 New Directions in Traffic Measurement and Accounting Focusing on the Elephants, Ignoring the Mice Cristian Estan and George Varghese University.
Sujayyendhiren RS, Kaiqi Xiong and Minseok Kwon Rochester Institute of Technology Motivation Experimental Setup in ProtoGENI Conclusions and Future Work.
Vladimír Smotlacha CESNET Full Packet Monitoring Sensors: Hardware and Software Challenges.
Wire Speed Packet Classification Without TCAMs ACM SIGMETRICS 2007 Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison)
Resource/Accuracy Tradeoffs in Software-Defined Measurement Masoud Moshref, Minlan Yu, Ramesh Govindan HotSDN’13.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Measurement COS 597E: Software Defined Networking.
Programming Languages for Software Defined Networks Jennifer Rexford and David Walker Princeton University Joint work with the.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
TCAM –BASED REGULAR EXPRESSION MATCHING SOLUTION IN NETWORK Phase-I Review Supervised By, Presented By, MRS. SHARMILA,M.E., M.ARULMOZHI, AP/CSE.
Enabling a “RISC” Approach for Software-Defined Monitoring using Universal Streaming Vyas Sekar Zaoxing Liu, Greg Vorsanger, Vladimir Braverman.
CellSDN: Software-Defined Cellular Core networks Xin Jin Princeton University Joint work with Li Erran Li, Laurent Vanbever, and Jennifer Rexford.
Presenter : Weerawardhana J.L.M.N. Department of Computer Engineering, University of Peradeniya.
SCREAM: Sketch Resource Allocation for Software-defined Measurement Masoud Moshref, Minlan Yu, Ramesh Govindan, Amin Vahdat (CoNEXT’15)
1 Netflow Collection and Aggregation in the AT&T Common Backbone Carsten Lund.
BUFFALO: Bloom Filter Forwarding Architecture for Large Organizations Minlan Yu Princeton University Joint work with Alex Fabrikant,
Re-evaluating Measurement Algorithms in Software Omid Alipourfard, Masoud Moshref, Minlan Yu {alipourf, moshrefj,
MOZART: Temporal Coordination of Measurement (SOSR’ 16)
SketchVisor: Robust Network Measurement for Software Packet Processing
SDN challenges Deployment challenges
Jennifer Rexford Princeton University
FlowRadar: A Better NetFlow For Data Centers
NOX: Towards an Operating System for Networks
6.829 Lecture 13: Software Defined Networking
Srinivas Narayana MIT CSAIL October 7, 2016
SONATA: Query-Driven Network Telemetry
CS 31006: Computer Networks – The Routers
DDoS Attack Detection under SDN Context
Optimal Elephant Flow Detection Presented by: Gil Einziger,
Software Defined Networking
Enabling Innovation Inside the Network
Qun Huang, Patrick P. C. Lee, Yungang Bao
SCREAM: Sketch Resource Allocation for Software-defined Measurement
Programmable Networks
Memento: Making Sliding Windows Efficient for Heavy Hitters
Ch 17 - Binding Protocol Addresses
Lu Tang , Qun Huang, Patrick P. C. Lee
Toward Self-Driving Networks
Toward Self-Driving Networks
Elmo Muhammad Shahbaz Lalith Suresh, Jennifer Rexford, Nick Feamster,
Presentation transcript:

OpenSketch Slides courtesy of Minlan Yu 1

Management = Measurement + Control Traffic engineering – Identify large traffic aggregates, traffic changes – Understand flow characteristics (flow size, delay, etc.) Performance diagnosis – Why my application has high delay, low throughput? Accounting – Count resource usage for tenants 2

Measurement is Increasingly Important Increasing network utilization in larger networks – Hundreds of thousands of servers and switches – Up to 100Gbps in data centers – Google drives WAN links to 100% utilization Requires better measurement support – Collect fine-grained flow information – Timely report of traffic changes – Automatic performance diagnosis 3

Yet, measurement is underexplored Vendors view measurement as a secondary citizen – Control functions are optimized w/ many resources – NetFlow/sFlow are too coarse-grained Operators rely on postmoterm analysis – No control on what (not) to measure – Infer missing information from massive data Network-wide view of traffic is especially difficult – Data are collected at different times/places 4

Software-defined Measurement SDN offers unique opportunities for measurement – Vendors build simple, reusable primitives – Operators decide what to measure dynamically – Operators regain network-wide view 5 Controller Heavy Hitter detection Configure resources1Fetch statistics2(Re)Configure resources1 Change detection

Challenges Diverse measurement tasks – Generic measurement primitives at switches – Modularized measurement library in the controller Limited switch resources for measurement – New data structures to reduce memory usage – Multiplexing across many measurement tasks 6

Rethink Measurement Abstraction for SDN 7 API to the data plane (OpenFlow) Fields action counters Src=  drop, #packets, #bytes Switches Forward/measure packets Controller Configure devices and collect measurements

Tradeoff of Generality and Efficiency Generality – Supporting a wide variety of measurement tasks – Who’s sending a lot to /16? – Is someone being DDoS-ed? – How many people downloaded files from ? Efficiency – Enabling high link speed (40 Gbps or larger) – Ensuring low cost (Cheap switches with small memory) – Easy to implement with commodity switch components 8

NetFlow: General, Not Efficient General – Log sampled packets, or flow-level counters – OK for many measurement tasks Not efficient for any single task – It’s hard to determine the right sampling rate – Measurement accuracy depends on traffic distribution – Turned off or not even available in datacenters 9

Streaming Algo: Efficient, Not General Efficient for individual task – E.g. Who’s sending a lot to host A? – Count-Min Sketch: Not general – Require customized hardware or network processors – Hard to implement all solutions in one device 10 # bytes from Hash2 Hash1 Hash3 Data plane Query: Pick min: 3 Control plane

Today Sketches are Developed to Improve Precision Pro’s – Sketches are optimized algorithms – Use minimal space – Very accurate Con’s – Each Sketch require unique specialized hardware – Sketches do not generalize Goal: – General infrastructure that supports multiple sketches 11

Where is the Sweet Spot? 12 EfficientGeneral NetFlow/sFlow (too expensive) NetFlow/sFlow (too expensive) Streaming Algo (Not practical) Streaming Algo (Not practical) OpenSketch General, and efficient data plane based on sketches Modularized control plane with automatic configuration OpenSketch General, and efficient data plane based on sketches Modularized control plane with automatic configuration

Flexible Measurement Data Plane Picking the packets to measure – Classify flows with different resources/accuracy Filter out traffic for /16 – Hashes to represent a compact set of flows Bloom filter for a set of blacklisting IPs Storing and exporting the data – Diverse mappings between counters and flows – E.g., More accuracy for elephant flows – E.g., Volume counter vs distinct counters 13

Insights Measurement task can be viewed as SQL-ish queries – Select count(*) from * where ip= group by Traffic-count: Select count(*) from * where dstip= group by SrcIP Select count(*) from * group by packet-content – The group by: can be accomplished by a hash – The where: can be accomplished by a classifier – The count: by a count primitive 14

A three-stage pipeline 15 # bytes from Hash2 Hash1 Hash3

Build on Existing Switch Components A few simple hash functions – 4-8 three-wise or five-wise independent hash functions – Leverage traffic diversity to approx. truly random func. A few TCAM entries for classification – Match on both packets and hash values – Avoid matching on individual micro-flow entries Flexible counters in SRAM – Logical tables with flexible indexing – Access counters by addresses 16

Modularized Measurement Libarary A measurement library of sketches – Bitmap, Bloom filter, Count-Min Sketch, etc. – Easy to implement with the data plane pipeline – Support diverse measurement tasks Implement Heavy Hitters with OpenSketch – Who’s sending a lot to /16? – count-min sketch to count volume of flows – reversible sketch to identify flows with heavy counts in the count-min sketch 17

Support Many Measurement Tasks 18 Measurement Programs Building blocksLine of Code Heavy hittersCount-min sketch; Reversible sketch Config:10 Query: 20 SuperspreadersCount-min sketch; Bitmap; Reversible sketch Config:10 Query:: 14 Traffic change detection Count-min sketch; Reversible sketch Config:10 Query: 30 Traffic entropy on port field Multi-resolution classifier; Count-min sketch Config:10 Query: 60 Flow size distribution multi-resolution classifier; hash table Config:10 Query: 109

Resource management Automatic configuration within a task – Pick the right sketches for measurement tasks – Based on provable resource-accuracy curves Resource allocation across tasks – Operators simply specify relative importance of tasks – Minimize weighted error using convex optimization – Decompose to the optimization of individual tasks 19

OpenSketch Architecture

OpenSketch Conclusion OpenSketch: – Bridging the gap between theory and practice Leveraging good properties of sketches – Provable accuracy-memory tradeoff Making sketches easy to implement and use – Generic support for different measurement tasks – Easy to implement with commodity switch hardware – Modularized library for easy programming 21