SlideShare a Scribd company logo
1
Cost-Efficient Rule Management and
Traffic Engineering for Software Defined
Networks
Huawei Huang
Supervisor: Prof. Song Guo
University of Aizu
Sep. 8, 2016
Presentation slides for Ph.D dissertation
2
Outline
Joint Optimization of Rule Placement and Traffic Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for Software-Defined
Networks [3]
Threads of dissertation
Introduction and background
3
SDN is
an emerging network architecture / paradigm
where the
control plane
is decoupled from data forwarding plane (data-plane)
and
can be directly programmable.
Software Defined Networking ( SDN )
 Control plane
alg, protocols
 Data plane:
hardware,
Packet forwarding
SDN decouplesthecontrolplane& dataplane
4
 Data plane:
hardware,
Packet forwarding
 Control plane
alg, protocols
5
3-layred SDN Architecture
Agile provisioning
Simplify management
Automation service
Benefits:
With SDN, operators, researchers, users, 3rd parties developers:
New
function
6
OpenFlow Hardware
Explanation of Basic Concepts
• What is Traffic Engineering (TE) ?
• Control and optimization of routing, to steer traffic through the
network in the most effective way
• Traffic oriented performance, e.g.,
• Max (throughput)
• Min ( packet transfer delay )
• Min ( packet loss )
• How? -- Approaches
• Collect measurements of traffic and topology
• Compute paths based on load, and requirements
• Optimize the setting of the “static” parameters
• With SDN, these are easy.
7
8
Flow Table Entry
(also called Forwarding Rule,
which is installed in Flow-Table of a switch)
Controller
Explanation (cont.)
9
How a Packet is processed in a switch / router ?
Flow table stores Flow Table Entry.
Explanation (cont.)
10
Structure of a Rule:
Example:
Explanation (cont.)
11
Rules paly various functionalities.
Rules have to be installed in TCAMs of switch.
Explanation (cont.)
12
Outline
Threads of dissertation
Introduction and background
Joint Optimization of Rule Placement and Trac Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for In-Band Software-
Defined Networks [3]
Threads of this dissertation
13
Rule space
is limited
Link
bandwidth
is limited
Min (rule-number)
Opt (rule placement)
Min (rule caching cost)
Min (delay)
Max (throughput)
Link load-balance
Resilience guarantee
Cost Opt.
Traffic
Engineering
Rule
management
&
Traffic
engineering
14
Outline
Joint Optimization of Rule Placement and Traffic Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for Software-Defined
Networks
Threads of dissertation
Introduction and background
15
JointOptimizationofRulePlacementandTrafficEngineering
forQoSProvisioninginSoftwareDefinedNetwork
(IEEEToC2015)
Topic 1:
• Conventionally, duplicated rule-installation
• For each traffic flow, original SDN-protocol installs forwarding
rules on its traversing path
Installs 2 rules for the 2 flows.
If DstIP=0.0.0.3,
then, do Action 1
IP=0.0.0.1
IP=0.0.0.2
If DstIP=0.0.0.3,
then, do Action 1
IP=0.0.0.3
ControllerRule 1
Rule 2
A motivation case.
Server
Clients
• Turning duplicated rule-installation -> multiplexing rule-installation,
when we conduct the TE:
• Only install one common rule that works for multiple flows.
• Total rule-space can be reduced.
16
So, we study a problem of
rule-placement:
Min (total rule No.)
subject to:
limited rule space;
link capacity.
Idea
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
• 4 cases of formulations :
• MIP: mixed integer programming
17
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
RM: rule-multiplexing
nonRM: non rule-multiplexing
CP: candidate path provided
nonCP: no candidate path provided
RM-CP:
nonRM-CP:
Min (rule num)
Trivial RM-nonCP & nonRM-nonCP
cases are ignored here.
NP-hardnessProof
• Theorem 1. Given a set of candidate paths, the rule placement
problem (RP) mentioned above is NP-hard.
• The proof is done by reducing the well-known 2-partition
problem to the RP problem.
• i.e., we construct a special case of RP problem into the 2-partition
problem.
• 2-partition problem is NP-hard -> rule-place. Problem is NP-
hard.
18
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
Algorithms design
• Fast heuristics based on Relaxing-and-Rounding
• 1st step: Relax the Integer-variables -> Continuous ones
19
[0, 1]
Conditionally round.
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
Algorithms design(Cont.)
• Fast heuristics based on Relaxing-and-Rounding
• Critical idea of 2nd step: conditionally select a part of relaxed vars
to round them back into integer, and construct a solution.
20
Conditionally round some
back into integer.
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
Case study under CP
• With candidate paths provided.
21
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
Cost: 40 rules. Cost: 20 rules.>
Case study under nonCP
• Without candidate paths
22Cost: 40 rules. Cost: 20 rules.
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
>
Efficiency of RM is proved.
More simulation results
• Show that Rule-Multiplexing (RM) mechanism outperforms than
nonRM.
• Particularly, RM-nonCP has the best performance.
23
Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
24
Outline
Joint Optimization of Rule Placement and Traffic Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for In-Band Software-
Defined Networks [3]
Threads of dissertation
Introduction and background
25
Topic 2: Rule Caching
Background:
Whentrafficarrivesataswitch,
packetsneedtobeprocessedby
local-switch or
remote-proxy(e.g.,amiddleboxorevenacontroller).
CostMinimizationforRuleCachinginSoftware
DefinedNetworking
(IEEETPDS2015)
Virus
Controller
controls all switches
Arriving flow
Server
Firewall
proxies
Client
… Allowed flow
Ingress
switch
Malware
DoS
redirect
Redirected flow
26
Decisions for each traffic-flow at each time-slot:
Systemmodel
Topic 2: Rule Caching
remote-processinglocal processing
When to install rule?
How long to cache the rule?
Which way to process packets?
0-1 decisionyt = 0 yt = 1
At time-slot t : Remote cost:
expense at the
remote proxy.
Local cost:
expense at the
switch.
xt = 0 or 1?
local-processing cost remote-processing cost
27
Total Cost = +
Problem: How to Minimize a joint cost ?
Given a set of flows and required rules,
We normalize the unit cost of
local-processing as
and
remote-processing as
Topic 2: Rule Caching
Formulation
Trigger of remote
processing
Fetch at least one time
before caching
Packets in each Time-
slot need to be processed
28
Basic analysis:
Typical patterns in an optimal solution:
Three elements of optimal solution: Only remote processing
Only local processing
Hybrid
Topic 2: Rule Caching
Idea: achieve the goal by deciding: for a flow,
whether and when to install rules in a switch,
& how long to cache the rules if install them.
Algorithm Design
valid
29
How good of this algorithm?
If the trace of a flow is given,
OfflineAlgorithm
Topic 2: Rule Caching
Evaluation of offline-algorithm
30
Proactive algorithm : rules are only fetched in the first time slot and cached all the remaining duration.
Reactive algorithm triggers remote process at each time slot.
Topic 2: Rule Caching
31
How good of this algorithm?
Online Alg 1: Exactly Match the Flow(EMF)
The1st OnlineAlgorithm
Topic 2: Rule Caching
32
Competitive ratio of this algorithm:
Online Alg 2: fixed length of Extra Caching Alg (ECA)
Topic 2: Rule Caching
The2nd OnlineAlgorithm
Evaluationof online algorithms
33
Performance of Online
algs is within
theoretical bound
Online algs
perform better
than the original
SDN protocol.
More experiments to
prove the correctness
of theoretical bounds
for the online algs.
Topic 2: Rule Caching
34
Outline
Joint Optimization of Rule Placement and Traffic Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for Software-Defined
Networks [3]
Threads of dissertation
Introduction and background
35
Background before topic-3
When emergent events happen,
e.g., earthquake occurs,
some critical network links might be disconnected.
Routing-protection is an important topic !
Because, in the perspective of
Traffic-engineering,
we need to guarantee the
Min ( network recovery delay ).
Topic 3: routing protection
36
Near-OptimalRoutingProtectionforIn-BandSDNs
(TheextensionofthistopichasbeenpublishedinIEEEJSAC,2016.)
https://www.researchgate.net/publication/301842070_Near-Optimal_Routing_Protection_for_In-Band_Software-
Defined_Heterogeneous_Networks
• Motivation:
• The controller<->switch connections are critical ( higher priority than
the data-plane routing paths ),
• disconnection brings very serious damages.
• When link failure occurs, the fast recovery is needed.
Topic 3: routing protection
37
• Question: How to protect the controlling channels?
• with a low recovery delay,
• with a reasonable cost of switch node-configuration.
Topic 3: routing protection
• Traditional routing protection
• Local routing via Backup paths
38
Related Work
Topic 3: routing protection
39
• Dedicated-backup, e.g., 1+1 (1+N) protection
• With no recovery delay at all !!
• But with high cost on both terms:
• Link ( high-bandwidth consumption )
• Node ( switch-configuration cost )
• Trade-off has to be considered:
• If adopt dedicated-backup,
• Reduce the ( cost ) !
Optional Approach :
Topic 3: routing protection
Double backup paths,
High cost: double Traffic
rate !!
Formulation
• System model
• As shown in Figure 2.
• Formulation with Obj:
• Min ( link-bandwidth cost + connection-setup cost )
40
Topic 3: routing protection
Exact |Ds| number of in-use
paths must be selected.
Capacity constraints on link.
Capacity constraints on node.
Algorithm
• Markov-Approximate based Algorithm
• Obj: load-balancing + connection-setup cost
41
Define MC
Transit between different
states
Re-Compute transition
rate of different states
Topic 3: routing protection
Basicidea:
Toeliminatetheneighboringcongestion,
refreshtheentireconfiguration ,
ratherthantheconventional localrerouting.
42
Online handlingTheory
Online handling in case of link-failure
Topic 3: routing protection
• Simulation
• Fat-tree Datacenter network
• Representative running case
43
Topic 3: routing protection
• Comparison with conventional Local routing
• on the link-bandwidth consumption
44
Topic 3: routing protection
reroute via link (0,4).
• Convergence property of the proposed algorithm
• Comparing with other benchmark algs.
45
Topic 3: routing protection
46
Outline
Joint Optimization of Rule Placement and Traffic Engineering
for QoS Provisioning in SDN [1]
Cost Minimization for Rule Caching in Software Defined
Networking [2]
Near-Optimal Routing Protection for Software-Defined
Networks [3]
Threads of dissertation
Introduction and background
Conclusion and Future Work
Conclusion and Future Work
• Conclusion
• 3 topics related to Cost-optimization problems over Traffic-
Engineering & Resource-utilization.
• Future work
• I am going to focus on the business logics under SDNs:
• Network Function Virtualization (NFV)
• Resilience and Security enhancement for SDNs
47
48
Major references in slides:
[1] Huawei Huang, Song Guo, Peng Li, Baoliu Ye and Ivan Stojmenovic,
“Joint Optimization of Rule Placement and Traffic Engineering for QoS
Provisioning in Software Defined Network”, IEEE Transactions on
Computers, vol. 64, no. 12, pp. 3488-3499, December 2015.
[2] Huawei Huang, Song Guo, Peng Li, Weifa Liang and Albert Y.
Zomaya, “Cost Minimization for Rule Caching in Software Defined
Networking”, IEEE Transactions on Parallel and Distributed Systems (TPDS),
vol. 27, no. 4, pp. 1007-1016, April 2016.
[3] Huawei Huang, Song Guo, Weifa Liang, Keqiu Li, Baoliu Ye and
Weihua Zhuang, "Near-Optimal Routing Protection for In-Band Software-
Defined Heterogeneous Networks", IEEE Journal on Selected Areas in
Communications (JSAC), vol. 34, no. 11, pp. 2918-2934, October, 2016.

More Related Content

PDF
Resource Management for Computer Operating Systems
PDF
Multiple Downlink Fair Packet Scheduling Scheme in Wi-Max
PDF
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
PDF
A046020112
PDF
Introduction to National Supercomputer center in Tianjin TH-1A Supercomputer
PDF
SSBSE10.ppt
PPTX
RL-Cache: Learning-Based Cache Admission for Content Delivery
PDF
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK
Resource Management for Computer Operating Systems
Multiple Downlink Fair Packet Scheduling Scheme in Wi-Max
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
A046020112
Introduction to National Supercomputer center in Tianjin TH-1A Supercomputer
SSBSE10.ppt
RL-Cache: Learning-Based Cache Admission for Content Delivery
ENSURING QOS GUARANTEES IN A HYBRID OCS/OBS NETWORK

What's hot (17)

PDF
An efficient vertical handoff mechanism for future mobile network
PPTX
Cloud Computing and PSo
PDF
Distributed Traffic management framework
PDF
Genetic Algorithm for Process Scheduling
PDF
Standardising the compressed representation of neural networks
PDF
Improved Max-Min Scheduling Algorithm
PDF
Efficient Planning and Offline Routing Approaches for IP Networks
DOCX
ORCHESTRATING BULK DATA TRANSFERS ACROSS GEO-DISTRIBUTED DATACENTERS
PDF
DYNAMIC TASK SCHEDULING BASED ON BURST TIME REQUIREMENT FOR CLOUD ENVIRONMENT
PDF
M.E Computer Science Mobile Computing Projects
PDF
Scheduling Algorithm Based Simulator for Resource Allocation Task in Cloud Co...
PDF
M phil-computer-science-mobile-computing-projects
PDF
The International Journal of Engineering and Science (The IJES)
PDF
Job Resource Ratio Based Priority Driven Scheduling in Cloud Computing
PDF
THRESHOLD BASED VM PLACEMENT TECHNIQUE FOR LOAD BALANCED RESOURCE PROVISIONIN...
PDF
Resource management
PDF
Networking Articles Overview
An efficient vertical handoff mechanism for future mobile network
Cloud Computing and PSo
Distributed Traffic management framework
Genetic Algorithm for Process Scheduling
Standardising the compressed representation of neural networks
Improved Max-Min Scheduling Algorithm
Efficient Planning and Offline Routing Approaches for IP Networks
ORCHESTRATING BULK DATA TRANSFERS ACROSS GEO-DISTRIBUTED DATACENTERS
DYNAMIC TASK SCHEDULING BASED ON BURST TIME REQUIREMENT FOR CLOUD ENVIRONMENT
M.E Computer Science Mobile Computing Projects
Scheduling Algorithm Based Simulator for Resource Allocation Task in Cloud Co...
M phil-computer-science-mobile-computing-projects
The International Journal of Engineering and Science (The IJES)
Job Resource Ratio Based Priority Driven Scheduling in Cloud Computing
THRESHOLD BASED VM PLACEMENT TECHNIQUE FOR LOAD BALANCED RESOURCE PROVISIONIN...
Resource management
Networking Articles Overview
Ad

Similar to Cost-Efficient Rule Management and Traffic Engineering for Software Defined Networks (20)

PDF
Performance analysis of congestion-aware Q-routing algorithm for network on chip
PDF
Network Algorithmics 2nd Edition Varghese
PDF
Network Algorithmics 2nd Edition Varghese
PPTX
A fuzzy delay-bandwidth guaranteed routing algorithm for vedio conferencing ...
PPT
Network Layer
PPTX
Computer Networks-Network layer Concepts
PDF
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
PDF
PDF
Routing protocols and how communication happens
PPTX
SCOR: Constraint Programming-based Northbound Interface for SDN
PPT
The Network Layer in CN
PDF
Congestion aware routing algorithm network on chip
PPT
Network layer tanenbaum
PDF
DEEP REINFORCEMENT LEARNING BASED OPTIMAL ROUTING WITH SOFTWARE-DEFINED NETWO...
PPTX
Networks and security in engineering .pptx
PPT
Network Layer
DOC
White Paper0_
PDF
Cognitive routing in software defined networks using learning models with lat...
PDF
Task mapping and routing optimization for hard real-time Networks-on-Chip
Performance analysis of congestion-aware Q-routing algorithm for network on chip
Network Algorithmics 2nd Edition Varghese
Network Algorithmics 2nd Edition Varghese
A fuzzy delay-bandwidth guaranteed routing algorithm for vedio conferencing ...
Network Layer
Computer Networks-Network layer Concepts
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
Routing protocols and how communication happens
SCOR: Constraint Programming-based Northbound Interface for SDN
The Network Layer in CN
Congestion aware routing algorithm network on chip
Network layer tanenbaum
DEEP REINFORCEMENT LEARNING BASED OPTIMAL ROUTING WITH SOFTWARE-DEFINED NETWO...
Networks and security in engineering .pptx
Network Layer
White Paper0_
Cognitive routing in software defined networks using learning models with lat...
Task mapping and routing optimization for hard real-time Networks-on-Chip
Ad

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
RMMM.pdf make it easy to upload and study
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Structure & Organelles in detailed.
PDF
Classroom Observation Tools for Teachers
PDF
Computing-Curriculum for Schools in Ghana
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial disease of the cardiovascular and lymphatic systems
human mycosis Human fungal infections are called human mycosis..pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
VCE English Exam - Section C Student Revision Booklet
RMMM.pdf make it easy to upload and study
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Final Presentation General Medicine 03-08-2024.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Structure & Organelles in detailed.
Classroom Observation Tools for Teachers
Computing-Curriculum for Schools in Ghana
2.FourierTransform-ShortQuestionswithAnswers.pdf
TR - Agricultural Crops Production NC III.pdf
Cell Types and Its function , kingdom of life
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Cost-Efficient Rule Management and Traffic Engineering for Software Defined Networks

  • 1. 1 Cost-Efficient Rule Management and Traffic Engineering for Software Defined Networks Huawei Huang Supervisor: Prof. Song Guo University of Aizu Sep. 8, 2016 Presentation slides for Ph.D dissertation
  • 2. 2 Outline Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for Software-Defined Networks [3] Threads of dissertation Introduction and background
  • 3. 3 SDN is an emerging network architecture / paradigm where the control plane is decoupled from data forwarding plane (data-plane) and can be directly programmable. Software Defined Networking ( SDN )  Control plane alg, protocols  Data plane: hardware, Packet forwarding
  • 4. SDN decouplesthecontrolplane& dataplane 4  Data plane: hardware, Packet forwarding  Control plane alg, protocols
  • 5. 5 3-layred SDN Architecture Agile provisioning Simplify management Automation service Benefits: With SDN, operators, researchers, users, 3rd parties developers: New function
  • 7. Explanation of Basic Concepts • What is Traffic Engineering (TE) ? • Control and optimization of routing, to steer traffic through the network in the most effective way • Traffic oriented performance, e.g., • Max (throughput) • Min ( packet transfer delay ) • Min ( packet loss ) • How? -- Approaches • Collect measurements of traffic and topology • Compute paths based on load, and requirements • Optimize the setting of the “static” parameters • With SDN, these are easy. 7
  • 8. 8 Flow Table Entry (also called Forwarding Rule, which is installed in Flow-Table of a switch) Controller Explanation (cont.)
  • 9. 9 How a Packet is processed in a switch / router ? Flow table stores Flow Table Entry. Explanation (cont.)
  • 10. 10 Structure of a Rule: Example: Explanation (cont.)
  • 11. 11 Rules paly various functionalities. Rules have to be installed in TCAMs of switch. Explanation (cont.)
  • 12. 12 Outline Threads of dissertation Introduction and background Joint Optimization of Rule Placement and Trac Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for In-Band Software- Defined Networks [3]
  • 13. Threads of this dissertation 13 Rule space is limited Link bandwidth is limited Min (rule-number) Opt (rule placement) Min (rule caching cost) Min (delay) Max (throughput) Link load-balance Resilience guarantee Cost Opt. Traffic Engineering Rule management & Traffic engineering
  • 14. 14 Outline Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for Software-Defined Networks Threads of dissertation Introduction and background
  • 15. 15 JointOptimizationofRulePlacementandTrafficEngineering forQoSProvisioninginSoftwareDefinedNetwork (IEEEToC2015) Topic 1: • Conventionally, duplicated rule-installation • For each traffic flow, original SDN-protocol installs forwarding rules on its traversing path Installs 2 rules for the 2 flows. If DstIP=0.0.0.3, then, do Action 1 IP=0.0.0.1 IP=0.0.0.2 If DstIP=0.0.0.3, then, do Action 1 IP=0.0.0.3 ControllerRule 1 Rule 2 A motivation case. Server Clients
  • 16. • Turning duplicated rule-installation -> multiplexing rule-installation, when we conduct the TE: • Only install one common rule that works for multiple flows. • Total rule-space can be reduced. 16 So, we study a problem of rule-placement: Min (total rule No.) subject to: limited rule space; link capacity. Idea Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
  • 17. • 4 cases of formulations : • MIP: mixed integer programming 17 Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling RM: rule-multiplexing nonRM: non rule-multiplexing CP: candidate path provided nonCP: no candidate path provided RM-CP: nonRM-CP: Min (rule num) Trivial RM-nonCP & nonRM-nonCP cases are ignored here.
  • 18. NP-hardnessProof • Theorem 1. Given a set of candidate paths, the rule placement problem (RP) mentioned above is NP-hard. • The proof is done by reducing the well-known 2-partition problem to the RP problem. • i.e., we construct a special case of RP problem into the 2-partition problem. • 2-partition problem is NP-hard -> rule-place. Problem is NP- hard. 18 Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
  • 19. Algorithms design • Fast heuristics based on Relaxing-and-Rounding • 1st step: Relax the Integer-variables -> Continuous ones 19 [0, 1] Conditionally round. Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
  • 20. Algorithms design(Cont.) • Fast heuristics based on Relaxing-and-Rounding • Critical idea of 2nd step: conditionally select a part of relaxed vars to round them back into integer, and construct a solution. 20 Conditionally round some back into integer. Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
  • 21. Case study under CP • With candidate paths provided. 21 Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling Cost: 40 rules. Cost: 20 rules.>
  • 22. Case study under nonCP • Without candidate paths 22Cost: 40 rules. Cost: 20 rules. Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling > Efficiency of RM is proved.
  • 23. More simulation results • Show that Rule-Multiplexing (RM) mechanism outperforms than nonRM. • Particularly, RM-nonCP has the best performance. 23 Topic 1: Joint Optimization of Rule Placement and Traffic Scheduling
  • 24. 24 Outline Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for In-Band Software- Defined Networks [3] Threads of dissertation Introduction and background
  • 25. 25 Topic 2: Rule Caching Background: Whentrafficarrivesataswitch, packetsneedtobeprocessedby local-switch or remote-proxy(e.g.,amiddleboxorevenacontroller). CostMinimizationforRuleCachinginSoftware DefinedNetworking (IEEETPDS2015) Virus Controller controls all switches Arriving flow Server Firewall proxies Client … Allowed flow Ingress switch Malware DoS redirect Redirected flow
  • 26. 26 Decisions for each traffic-flow at each time-slot: Systemmodel Topic 2: Rule Caching remote-processinglocal processing When to install rule? How long to cache the rule? Which way to process packets? 0-1 decisionyt = 0 yt = 1 At time-slot t : Remote cost: expense at the remote proxy. Local cost: expense at the switch. xt = 0 or 1?
  • 27. local-processing cost remote-processing cost 27 Total Cost = + Problem: How to Minimize a joint cost ? Given a set of flows and required rules, We normalize the unit cost of local-processing as and remote-processing as Topic 2: Rule Caching Formulation Trigger of remote processing Fetch at least one time before caching Packets in each Time- slot need to be processed
  • 28. 28 Basic analysis: Typical patterns in an optimal solution: Three elements of optimal solution: Only remote processing Only local processing Hybrid Topic 2: Rule Caching Idea: achieve the goal by deciding: for a flow, whether and when to install rules in a switch, & how long to cache the rules if install them. Algorithm Design valid
  • 29. 29 How good of this algorithm? If the trace of a flow is given, OfflineAlgorithm Topic 2: Rule Caching
  • 30. Evaluation of offline-algorithm 30 Proactive algorithm : rules are only fetched in the first time slot and cached all the remaining duration. Reactive algorithm triggers remote process at each time slot. Topic 2: Rule Caching
  • 31. 31 How good of this algorithm? Online Alg 1: Exactly Match the Flow(EMF) The1st OnlineAlgorithm Topic 2: Rule Caching
  • 32. 32 Competitive ratio of this algorithm: Online Alg 2: fixed length of Extra Caching Alg (ECA) Topic 2: Rule Caching The2nd OnlineAlgorithm
  • 33. Evaluationof online algorithms 33 Performance of Online algs is within theoretical bound Online algs perform better than the original SDN protocol. More experiments to prove the correctness of theoretical bounds for the online algs. Topic 2: Rule Caching
  • 34. 34 Outline Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for Software-Defined Networks [3] Threads of dissertation Introduction and background
  • 35. 35 Background before topic-3 When emergent events happen, e.g., earthquake occurs, some critical network links might be disconnected. Routing-protection is an important topic ! Because, in the perspective of Traffic-engineering, we need to guarantee the Min ( network recovery delay ). Topic 3: routing protection
  • 36. 36 Near-OptimalRoutingProtectionforIn-BandSDNs (TheextensionofthistopichasbeenpublishedinIEEEJSAC,2016.) https://www.researchgate.net/publication/301842070_Near-Optimal_Routing_Protection_for_In-Band_Software- Defined_Heterogeneous_Networks • Motivation: • The controller<->switch connections are critical ( higher priority than the data-plane routing paths ), • disconnection brings very serious damages. • When link failure occurs, the fast recovery is needed. Topic 3: routing protection
  • 37. 37 • Question: How to protect the controlling channels? • with a low recovery delay, • with a reasonable cost of switch node-configuration. Topic 3: routing protection
  • 38. • Traditional routing protection • Local routing via Backup paths 38 Related Work Topic 3: routing protection
  • 39. 39 • Dedicated-backup, e.g., 1+1 (1+N) protection • With no recovery delay at all !! • But with high cost on both terms: • Link ( high-bandwidth consumption ) • Node ( switch-configuration cost ) • Trade-off has to be considered: • If adopt dedicated-backup, • Reduce the ( cost ) ! Optional Approach : Topic 3: routing protection Double backup paths, High cost: double Traffic rate !!
  • 40. Formulation • System model • As shown in Figure 2. • Formulation with Obj: • Min ( link-bandwidth cost + connection-setup cost ) 40 Topic 3: routing protection Exact |Ds| number of in-use paths must be selected. Capacity constraints on link. Capacity constraints on node.
  • 41. Algorithm • Markov-Approximate based Algorithm • Obj: load-balancing + connection-setup cost 41 Define MC Transit between different states Re-Compute transition rate of different states Topic 3: routing protection
  • 43. • Simulation • Fat-tree Datacenter network • Representative running case 43 Topic 3: routing protection
  • 44. • Comparison with conventional Local routing • on the link-bandwidth consumption 44 Topic 3: routing protection reroute via link (0,4).
  • 45. • Convergence property of the proposed algorithm • Comparing with other benchmark algs. 45 Topic 3: routing protection
  • 46. 46 Outline Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in SDN [1] Cost Minimization for Rule Caching in Software Defined Networking [2] Near-Optimal Routing Protection for Software-Defined Networks [3] Threads of dissertation Introduction and background Conclusion and Future Work
  • 47. Conclusion and Future Work • Conclusion • 3 topics related to Cost-optimization problems over Traffic- Engineering & Resource-utilization. • Future work • I am going to focus on the business logics under SDNs: • Network Function Virtualization (NFV) • Resilience and Security enhancement for SDNs 47
  • 48. 48 Major references in slides: [1] Huawei Huang, Song Guo, Peng Li, Baoliu Ye and Ivan Stojmenovic, “Joint Optimization of Rule Placement and Traffic Engineering for QoS Provisioning in Software Defined Network”, IEEE Transactions on Computers, vol. 64, no. 12, pp. 3488-3499, December 2015. [2] Huawei Huang, Song Guo, Peng Li, Weifa Liang and Albert Y. Zomaya, “Cost Minimization for Rule Caching in Software Defined Networking”, IEEE Transactions on Parallel and Distributed Systems (TPDS), vol. 27, no. 4, pp. 1007-1016, April 2016. [3] Huawei Huang, Song Guo, Weifa Liang, Keqiu Li, Baoliu Ye and Weihua Zhuang, "Near-Optimal Routing Protection for In-Band Software- Defined Heterogeneous Networks", IEEE Journal on Selected Areas in Communications (JSAC), vol. 34, no. 11, pp. 2918-2934, October, 2016.