Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

27
Network Configuration and Management via Two-Phase Online Optimization Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno

Transcript of Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Page 1: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Network Configuration and Management viaTwo-Phase Online

Optimization

Bilal GonenUniversity of Alaska

Anchorage

Murat YukselUniversity of Nevada,

Reno

Page 2: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Motivation: Network Configuration

Many parameters to set in a network

Each may significantly change the overall network performance

Fast response to failures is necessary

Automated configuration and management is much needed in practice

Can be casted as an optimization problem..

Page 3: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

A Real-world Optimization Problem:Routing With “Static” Link Weights

Routers flood information to learn topology Determine “next hop” to reach other

routers… Compute shortest paths based on link

weights Link weights configured by network

operator

5

5

5

5

5

55

5

5

5

source: http://www.cs.princeton.edu/courses/archive/spr06/cos461/

Page 4: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

A Real-world Optimization Problem(Traffic Engineering)

5

5

55

5

5

5

5

5

5

55

5

congestion

22

2

2

2

2

2

2

DS D

DS

S

Page 5: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Setting the Link Weights

Inversely proportional to link capacity

Proportional to propagation delayNetwork-wide optimization based on

traffic5

5

5

5

5

55

5

5

5

source: http://www.cs.princeton.edu/courses/archive/spr06/cos461/

Page 6: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Setting the Link Weights

Empirical way: Network administrator experience

Problems: error-prone, not scalable

5

5

5

5

5

55

5

5

5

source: http://www.cs.princeton.edu/courses/archive/spr06/cos461/

Page 7: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Traffic Engineering Problem

Given a certain offered traffic load matrix, distribute the traffic over the network to achieve the optimal resource utilization.

5

5

5

5

5

55

5

5

5

source: http://www.cs.princeton.edu/courses/archive/spr06/cos461/

Page 8: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Motivation: Problem Definition

Black-Box System

Parameter 1

Parameter 2

Parameter n

System Response

Map the network to a black-box optimization framework and let the optimization algorithm search for the best configuration

Black-box optimization searches thru the response surface to find the optimum or near-optimum sample.

Key Question: How to accurately characterize the response surface with minimum # of experiments?

Page 9: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Motivation: Problem Definition

Black-Box System

Parameter 1

Parameter 2

Parameter n

System Response

Can we try all possibilities? (Exhaustive search)

Assume 1 ≤ Xi ≤ 10 , i=1:5Step Size = 1105 = 100,000

If one try = 1 secthen 100,000 sec ≈ 28 hours

For 10 parameters ≈ 317 years

Page 10: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Motivation: Big Picture

Black-Box System

Parameter 1

Parameter 2

Parameter n

System Response

Parameter Adjustments

Algorithm#3

Algorithm#2

Algorithm#1

Budget Allocator

Comparator

Current BestSoFar

BestSoFar

Metric

Number of Experiments

PTAS

Problem

Page 11: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS : Probabilistic Trans-Algorithmic Search

Black-Box System

Parameter 1

Parameter 2

Parameter n

System Response

Parameter Adjustments

Algorithm#3

Algorithm#2

Algorithm#1

Budget Allocator

Comparator

Current BestSoFar

BestSoFar

Metric

Number of Experiments

Page 12: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS Design Principles

An algorithm may be good at one class of problems, but its performance will suffer in the other problems NFL Theorem: General-purpose universal

algorithm is impossible Key Question: How to design an evolutionary

hybrid search algorithm? Search for the best search

Roulette wheel: Punish the bad algorithms and reward the good ones

Trans-algorithmic Transfer the best-so-far among the algorithms

Page 13: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Some Common Search Techniques

Exploration techniques: Random sampling Random walk Genetic Algorithm

Exploitation techniques: Downhill simplex Hillclimbing Simulated Annealing

Hybrid Recursive Random Search (RRS), T. Ye et al.

ToN 2009

Page 14: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Some Common Search Techniques

Exploration techniques: Random sampling Random walk Genetic Algorithm

Exploitation techniques: Downhill simplex Hillclimbing Simulated Annealing

Hybrid Recursive Random Search (RRS), T. Ye

et al. ToN 2009

Page 15: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Resource Allocation Mechanism

Page 16: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS : Probabilistic Trans-Algorithmic Search

Black-Box System

Parameter 1

Parameter 2

Parameter n

System Response

Parameter Adjustments

Algorithm#3

Algorithm#2

Algorithm#1

Budget Allocator

Comparator

Current BestSoFar

BestSoFar

Metric

Number of Experiments

Page 17: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Resource Allocation Mechanism

Total Budget = 1500

300 300 300 300 300

Round budget = 300

Algorithm-1

Round-1

budget=100

Algorithm-2

Algorithm-3

budget=100

budget=100

WinnerAlgorithm-1

Round-2

budget=110

Algorithm-2

Algorithm-3

budget=98

budget=92

Winner

Algorithm-1

Round-3

budget=106

Algorithm-2

Algorithm-3

budget=90

budget=104

Winner

Algorithm-1

Round-4

budget=120

Algorithm-2

Algorithm-3

budget=92

budget=88

Winner

Algorithm-1

Round-5

budget=110

Algorithm-2

Algorithm-3

budget=102

budget=88

Winner

Page 18: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

RRS is rewarded in the 2nd round.

Resource Allocation Mechanism

budget From To budget From To budget From To RRS SA GA RRS SA GA RRS SA GA1 72 73440 92820 72 73440 74460 72 73440 76500 0.26 0.01 0.04 35.69 1.88 5.63 93.29 93.29 93.292 93 92820 92820 59 92820 100980 64 92820 92820 0.00 0.09 0.00 0.00 43.20 0.00 78.89 122.09 78.893 78 100980 102000 83 100980 100980 55 100980 100980 0.01 0.00 0.00 43.20 0.00 0.00 107.69 107.69 64.494 107 102000 102000 69 102000 102000 40 102000 102000 0.00 0.00 0.00 14.40 14.40 14.40 107.69 107.69 64.495 107 102000 102000 69 102000 102000 40 102000 103020 0.00 0.00 0.01 0.00 0.00 43.20 93.29 93.29 93.29

Next Round BudgetRound

RRS SA GAPercentage

ImprovementEarned from SoftBudget

RRS is the winner in the 1st round.

GA is the second in the 1st round.

SA is the third in the 1st round.

SA is punished more in the 2nd round.

GA is punished in the 2nd round.SA is punished in the 2nd round but

rewarded in the 3rd round.

Page 19: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Experiment Setup

Network Simulator 2 (NS-2)

We converted our PTAS code into an NS-2 agent and integrate it into the NS-2.

Optimization objective: minimize the overall

packet drop rate Thus, maximize

aggregate network throughput

Page 20: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Performance Evaluation on Exodus Topology

22 nodes and 37 links exist. We used 7 nodes as the edge nodes, and composed 6 × 7=42 TCP flows

between those edge nodes. Simulation metric: number of bytes received at sink nodes of the TCP

flows. We repeated the optimization process 30 times. Average throughput achieved by each algorithm with 80% confidence

intervals.IEEE GLOBECOM Workshops, 2011

Page 21: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS with No System Model

Optimization using a separate model of the system

Optimization using real-time running system

Assumption: system does not change frequently (backbone networks).

This former approach fails when the network system is dynamic with high failure rates or a variable demand profile.

It is not practical to model such highly variant networks by simulations.

Page 22: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS with No System Model:IGP Link Weights Optimization

130000 5000 6500 1150010000

search phase

search intervalsearch interval

search interval = 5,000 sec

Simulation duration = 13,000 sec

search phase

A two-phase approach: search, no-search

Page 23: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS with No System Model

Key questions: How frequent should we go into the “search” phase to achieve reasonable improvement by using in-situ trials on the real network?

How much disturbance is given to the system when the optimizer is searching for better configuration parameters?

Page 24: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS with No System Model:IGP Link Weights Optimization

RRS (Avg throughput=7,698.24)

PTAS (Avg throughput=7708.21)GA (Avg throughput=7,596.68)

SA (Avg throughput=7,322.22)

Page 25: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

PTAS with No System Model:IGP Link Weights Optimization

Comparison of PTAS with RRS, SA, and GA for using different search phase lengths and different number of rounds for PTAS

Although not always, PTAS outperforms on average.

Page 26: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Summary

Need for automated configuration and management of highly dynamic networks.

PTAS with no system model and PTAS with separate system model.

We explore some of the key tradeoffs: How frequent the search should be done How long should the search phase be How worse the search phase can temporarily make the

system performance due to its trials. We apply PTAS and three other search algorithms

on Six well-known objective functions A network problem on realistic ISP topologies Wireless ad hoc network

Page 27: Bilal Gonen University of Alaska Anchorage Murat Yuksel University of Nevada, Reno.

Questions, Comments