payless: a low cost network monitoring framework for ...mfbari/files/c12s.pdf · payless is a step...

21
PayLess: A Low Cost Network Monitoring Framework for Software Defined Networks Shihabur R. Chowdhury, Md. Faizul Bari, Reaz Ahmed and Raouf Boutaba David R. Cheriton School of Computer Science, University of Waterloo This work has been supported by NSERC discovery grant and SAVI research network Presented By: Shihabur Rahman Chowdhury

Upload: others

Post on 25-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess: A Low Cost Network Monitoring Framework for Software Defined Networks

Shihabur R. Chowdhury, Md. Faizul Bari, Reaz Ahmed and Raouf Boutaba

David R. Cheriton School of Computer Science, University of Waterloo This work has been supported by NSERC discovery grant and SAVI research network

Presented By: Shihabur Rahman Chowdhury

Page 2: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Typical SDN Scenario

Data Plane

Control Plane (NOX/POX/FloodLight/Beacon etc.)

Southbound API (e.g., OpenFlow)

2

Northbound API (non-standard)

Page 3: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Management Plane

Control Plane (NOX/POX/FloodLight/Beacon etc.)

Application Development over SDN: Current Scenario

Data Plane

Northbound API

Monitoring Application (e.g., Link Utilization Monitor, User Billing)

3

Southbound API

……

Page 4: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Control Plane (NOX/POX/FloodLight/Beacon etc.)

Application Development over SDN: Current Scenario (contd…)

Data Plane

Controller API

Monitoring Application (e.g., Link Utilization Monitor, User Billing)

Non-standard, Controller Dependent

Applications become “part” of the controller

4

Page 5: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Application Development over SDN: Proposal

Data Plane

Control Plane (NOX/POX/FloodLight/Beacon etc.)

Northbound API

Network Monitoring Framework

Southbound API - OpenFlow

RESTful API

User Billing IDS Usage Monitor …

Monitoring Applications

5

Page 6: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Application Development over SDN: Proposal

Data Plane

Control Plane (NOX/POX/FloodLight/Beacon etc.)

Northbound API

Network Monitoring Framework

Southbound API - OpenFlow

RESTful API

User Billing IDS Usage Monitor …

Monitoring Applications

6

PayLess

Page 7: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture

Request Interpreter

Scheduler Switch Selector

Aggregator

Data Store

Controller Driver and Plug-in

PayLess RESTful API

User Billing IDS Usage Monitor …

Monitoring Applications

7

Page 8: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…)

Each component has well-defined interface Can be easily replaced by a custom implementation

i.e., data aggregation level, sampling algorithm etc. can be customized

8

Request Interpreter Scheduler

Switch Selector Aggregator

Page 9: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…)

Determines what to monitor by translating monitoring requests from the applications Requests are sent in JSON format

May contain: Type (performance, security, fault etc.) Monitoring metric ( what to measure ) Entity ( which network entity to monitor ) Aggregation level ( per switch / user / flow etc. ) Priority ( real-time, medium, low) Logging ( format of the log )

9

Request Interpreter Scheduler

Switch Selector Aggregator

Page 10: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…)

Determines when to collect statistics from the network. Periodic At specific events Adaptive sampling etc.

10

Request Interpreter Scheduler

Switch Selector Aggregator

Page 11: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…)

Determines which subset of network elements should be probed for statistics. Only the ingress and egress switches Switches with maximum connectivity etc.

11

Request Interpreter Scheduler

Switch Selector Aggregator

Page 12: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…)

Aggregates the raw monitoring data as per application requirement Per link aggregation Per user aggregation Per switch aggregation etc.

12

Request Interpreter Scheduler

Switch Selector Aggregator

Page 13: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

PayLess Architecture (contd…) RESTful API for developing monitoring applications Applications can be oblivious of control plane technology Applications can be written in any Language Despite of the control plane technology, applications have the

same set of services available

13

Request Interpreter Scheduler

Switch Selector Aggregator

PayLess RESTful API

Page 14: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Implementation Application Adaptive Link Usage Monitoring

Scheduler We propose an adaptive sampling algorithm

Adjust the monitoring frequency according to network load. Assign a monitoring time out to each flow Query the switch(es) for flow statistics when timeout expires If no significant traffic change (<= α), increase the timeout (up to Tmax ) If change in traffic is significant (>= β), decrease the timeout (up to Tmin )

Switch selector: Query all the switches

Aggregator Aggregate data per link

14

Page 15: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Evaluation: Setup Simulation using Mininet and Floodlight controller Topology Hierarchical topology to emulate behavior of a scaled down data center

α = β =100MB; Tmax = 5s, Tmin = 500ms Monitor the usage of Sw-0 – Sw-1 link over time

15

Page 16: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Evaluation: Utilization Comparison with FlowSense*, and Periodic polling (every 500ms)

16

* Yu, C. et al. FlowSense: Monitoring Network Utilization with Zero Measurement Cost. Passive and Active Monitoring (PAM) 2013

Closest to original; More overhead

Closer to original; Non-zero but less overhead

Misses the spikes; Far from original

Page 17: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Evaluation: Overhead

Overhead is measured by the number of monitoring queries.

17

PayLess can reduce the messaging overhead up to 50% compared to periodic polling.

Page 18: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Conclusion Summary State-of-the art controllers offer different northbound APIs. We

need an uniform API for network applications Payless is a step to provide unified API for monitoring

application development

Future Works Full fledged implementation Develop a QoS policy enforcement application* over PayLess

18

*Bari et al., PolicyCop: An Autonomic QoS Policy Enforcement Framework for Software Defined Networks. IEEE SDN4FNS 2014

Page 19: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Questions

?

19

Page 20: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Evaluation: Effect of Tmin

Tmin is the minimum polling timeout.

Tmin is varied (250ms – 2s) to observe its effect on accuracy and overhead Accuracy was

measured as rms error between PayLess and periodic polling over 250ms interval

20

Page 21: Payless: A Low Cost Network Monitoring Framework for ...mfbari/files/c12s.pdf · Payless is a step to provide unified API for monitoring application development Future Works Full

Related Works OpenTM (PAM ‘10) Heuristics on which OpenFlow switches to query for

measuring traffic matrix

FlowSense (PAM ‘13) Event based link utilization monitoring in SDN. No additional measurement overhead.

OpenSketch (NSDI ‘13) Clean slate redesign of data plane to support monitoring in

SDN

21