traffic matrix estimation for traffic engineering

40
Traffic Matrix Estimation for Traffic Engineering Mehmet Umut Demircin

Upload: lydat

Post on 19-Jan-2017

226 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Traffic Matrix Estimation for Traffic Engineering

Traffic Matrix Estimation for Traffic Engineering

Mehmet Umut Demircin

Page 2: Traffic Matrix Estimation for Traffic Engineering

Traffic Engineering (TE)

TasksLoad balancingRouting protocols configurationDimensioningProvisioningFailover strategies

Page 3: Traffic Matrix Estimation for Traffic Engineering

Particular TE Problem

Optimizing routes in a backbone network in order to avoid congestions and failures.Minimize the max-utilization.MPLS (Multi-Protocol Label Switching)

Linear programming solution to a multi-commodity flow problem.

Traditional shortest path routing (OSPF, IS-IS) Compute set of link weights that minimize congestion.

Page 4: Traffic Matrix Estimation for Traffic Engineering

Traffic Matrix (TM)

A traffic matrix provides, for every ingress point i into the network and every egress point j out of the network, the volume of traffic Ti,j from i to j over a given time interval.

TE utilizes traffic matrices in diagnosis and management of network congestion.

Traffic matrices are critical inputs to network design, capacity planning and business planning.

Page 5: Traffic Matrix Estimation for Traffic Engineering

Traffic Matrix (cont’d)

Ingress and egress points can be routers or PoPs.

Page 6: Traffic Matrix Estimation for Traffic Engineering

Determining the Traffic Matrix

Direct Measurement:TM is computed directly by collecting flow-level measurements at ingress points.

Additional infrastructure needed at routers. (Expensive!)

May reduce forwarding performance at routers. Terabytes of data per day.

Solution = Estimation

Page 7: Traffic Matrix Estimation for Traffic Engineering

TM Estimation

Available information:Link counts from SNMP data.Routing information. (Weights of links)Additional topological information. ( Peerings,

access links)Assumption on the distribution of demands.

Page 8: Traffic Matrix Estimation for Traffic Engineering

Traffic Matrix Estimation:Existing Techniques and New

Directions

A. Madina, N. Taft, K. Salamatian, S. Bhattacharyya, C. Diot

Sigcomm 2003

Page 9: Traffic Matrix Estimation for Traffic Engineering

Three Existing Techniques

Linear Programming (LP) approach. O. Goldschmidt - ISMA Workshop 2000

Bayesian estimation. C. Tebaldi, M. West - J. of American Statistical Association,

June 1998.

Expectation Maximization (EM) approach. J. Cao, D. Davis, S. Vander Weil, B. Yu - J. of American

Statistical Association, 2000.

Page 10: Traffic Matrix Estimation for Traffic Engineering

Terminology c=n*(n-1) origin-destination (OD) pairs. X: Traffic matrix. (Xj data transmitted by OD pair j) Y=(y1,y2,…,yr ) : vector of link counts. A: r-by-c routing matrix (aij=1, if link i belongs to

the path associated to OD pair j)

Y=AXr<<c => Infinitely many solutions!

Page 11: Traffic Matrix Estimation for Traffic Engineering

Linear Programming

Objective:

Constraints:

Page 12: Traffic Matrix Estimation for Traffic Engineering

Statistical Approaches

Page 13: Traffic Matrix Estimation for Traffic Engineering

Bayesian Approach

Assumes P(Xj) follows a Poisson distribution with mean λj. (independently dist.)

needs to be estimated. (a prior is needed)

Conditioning on link counts: P(X,Λ|Y)Uses Markov Chain Monte Carlo (MCMC) simulation

method to get posterior distributions. Ultimate goal: compute P(X|Y)

Page 14: Traffic Matrix Estimation for Traffic Engineering

Expectation Maximization (EM)

Assumes Xj are ind. dist. Gaussian.

Y=AX implies:

Requires a prior for initialization. Incorporates multiple sets of link measurements. Uses EM algorithm to compute MLE.

Page 15: Traffic Matrix Estimation for Traffic Engineering

Comparison of Methodologies

Considers PoP-PoP traffic demands. Two different topologies (4-node, 14-node). Synthetic TMs. (constant, Poisson, Gaussian,

Uniform, Bimodal) Comparison criteria:

Estimation errors yielded. Sensitivity to prior. Sensitivity to distribution assumptions.

Page 16: Traffic Matrix Estimation for Traffic Engineering

4-node topology

Page 17: Traffic Matrix Estimation for Traffic Engineering

4-node topology results

Page 18: Traffic Matrix Estimation for Traffic Engineering

14-node topology

Page 19: Traffic Matrix Estimation for Traffic Engineering

14-node topology results

Page 20: Traffic Matrix Estimation for Traffic Engineering

Marginal Gains of Known Rows

Page 21: Traffic Matrix Estimation for Traffic Engineering

New Directions Lessons learned:

Model assumptions do not reflect the true nature of traffic. (multimodal behavior)

Dependence on priors Link count is not sufficient (Generally more data is

available to network operators.) Proposed Solutions:

Use choice models to incorporate additional information.

Generate a good prior solution.

Page 22: Traffic Matrix Estimation for Traffic Engineering

New statement of the problem

Xij= Oi.αijOi : outflow from node (PoP) i.αij : fraction Oi going to PoP j.Equivalent problem: estimating αij .

Solution via Discrete Choice Models (DCM).User choices. ISP choices.

Page 23: Traffic Matrix Estimation for Traffic Engineering

Choice Models

Decision makers: PoPs Set of alternatives: egress PoPs. Attributes of decision makers and alternatives:

attractiveness (capacity, number of attached customers, peering links).

Utility maximization with random utility models.

Page 24: Traffic Matrix Estimation for Traffic Engineering

Random Utility Model

Uij= Vi

j + εij : Utility of PoP i choosing to

send packet to PoP j. Choice problem: Deterministic component:

Random component: mlogit model used.

Page 25: Traffic Matrix Estimation for Traffic Engineering

Results Two different models (Model 1:attractiveness, Model 2: attractiveness + repulsion )

Page 26: Traffic Matrix Estimation for Traffic Engineering

Fast Accurate Computation of Large-Scale IP Traffic Matrices from

Link Loads

Y. Zhang, M. Roughan, N. Duffield, A. Greenberg

Sigmetrics 2003

Page 27: Traffic Matrix Estimation for Traffic Engineering

Highlights

Router to router traffic matrix is computed instead of PoP to PoP.

Performance evaluation with real traffic matrices.

Tomogravity method (Gravity + Tomography)

Page 28: Traffic Matrix Estimation for Traffic Engineering

Tomogravity

Two step modeling.Gravity Model: Initial solution obtained using

edge link load data and ISP routing policy.

Tomographic Estimation: Initial solution is refined by applying quadratic programming to minimize distance to initial solution subject to tomographic constraints (link counts).

Page 29: Traffic Matrix Estimation for Traffic Engineering

Gravity Modeling

General formula:

Simple gravity model: Try to estimate the amount of traffic between edge links.

Page 30: Traffic Matrix Estimation for Traffic Engineering

Generalized Gravity Model

Four traffic categories Transit Outbound Inbound Internal

Peers: P1, P2, … Access links: a1, a2, ... Peering links: p1,p2,…

Page 31: Traffic Matrix Estimation for Traffic Engineering

Generalized Gravity Model

Page 32: Traffic Matrix Estimation for Traffic Engineering

Generalized Gravity Model

Page 33: Traffic Matrix Estimation for Traffic Engineering

Tomography

Solution should be consistent with the link counts.

Page 34: Traffic Matrix Estimation for Traffic Engineering

Reducing the computational complexity Hundreds of backbone routers, ten

thousands of unknowns. Observations:

Some elements of the BR to BR matrix are empty. (Multiple BRs in each PoP, shortest paths)

Topological equivalence. (Reduce the number of IGP simulations)

Page 35: Traffic Matrix Estimation for Traffic Engineering

Quadratic Programming

Problem Definition:

Use SVD to solve the inverse problem. Use Iterative Proportional Fitting (IPF) to

ensure non-negativity.

Page 36: Traffic Matrix Estimation for Traffic Engineering

Evaluation of Gravity Models

Page 37: Traffic Matrix Estimation for Traffic Engineering

Performance of proposed algorithm

Page 38: Traffic Matrix Estimation for Traffic Engineering

Comparison

Page 39: Traffic Matrix Estimation for Traffic Engineering

Robustness

Measurement errorsx=At+εε=x*N(0,σ)

Page 40: Traffic Matrix Estimation for Traffic Engineering

Questions?