Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

Multihoming and Multi-path Routing
Computer Science Department (Dipartimento di Informatica e Sistemistica - DIS), University of Napoli Federico II – Comics Group Intra-domain Traffic Engineering.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Logically-Centralized Control COS 597E: Software Defined Networking.
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
Data and Computer Communications
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
1 Traffic Engineering (TE). 2 Network Congestion Causes of congestion –Lack of network resources –Uneven distribution of traffic caused by current dynamic.
Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.
1 EL736 Communications Networks II: Design and Algorithms Class3: Network Design Modeling Yong Liu 09/19/2007.
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
Dynamic routing – QoS routing Other approaches to QoS routing Traffic Engineering Practical Traffic Engineering.
TIE Breaking: Tunable Interdomain Egress Selection Renata Teixeira Laboratoire d’Informatique de Paris 6 Université Pierre et Marie Curie with Tim Griffin.
Traffic Engineering With Traditional IP Routing Protocols
1 Route Control Platform Making the Network Act Like One Big Router Jennifer Rexford Princeton University
1 Adapting Routing to the Traffic COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University
1 Traffic Engineering for ISP Networks Jennifer Rexford IP Network Management and Performance AT&T Labs - Research; Florham Park, NJ
Traffic Engineering in IP Networks Jennifer Rexford Computer Science Department Princeton University; Princeton, NJ
Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University
Traffic Engineering for ISP Networks
New Routing Architectures Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Network Protocols Designed for Optimizability Jennifer Rexford Princeton University
Traffic Measurement for IP Operations Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University
Traffic Measurement for IP Operations Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Internet Routing (COS 598A) Today: Intradomain Traffic Engineering Jennifer Rexford Tuesdays/Thursdays.
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.
A Routing Control Platform for Managing IP Networks Jennifer Rexford Princeton University
Measurement and Monitoring Nick Feamster Georgia Tech.
Rethinking Internet Traffic Management: From Multiple Decompositions to a Practical Protocol Jiayue He Princeton University Joint work with Martin Suchara,
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
1 Traffic Engineering for ISP Networks Jennifer Rexford IP Network Management and Performance AT&T Labs - Research; Florham Park, NJ
Multipath Protocol for Delay-Sensitive Traffic Jennifer Rexford Princeton University Joint work with Umar Javed, Martin Suchara, and Jiayue He
Building a Strong Foundation for a Future Internet Jennifer Rexford ’91 Computer Science Department (and Electrical Engineering and the Center for IT Policy)
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
AGG-NANOG IP Network Traffic Engineering Albert Greenberg Internet and Networking Systems Research Lab AT&T Labs - Research; Florham Park, NJ See.
Traffic Matrix Estimation for Traffic Engineering Mehmet Umut Demircin.
Network Topologies.
Tomo-gravity Yin ZhangMatthew Roughan Nick DuffieldAlbert Greenberg “A Northern NJ Research Lab” ACM.
Cost-Performance Tradeoffs in MPLS and IP Routing Selma Yilmaz Ibrahim Matta Boston University.
Transit Traffic Engineering Nick Feamster CS 6250: Computer Networks Fall 2011.
Network Sensitivity to Hot-Potato Disruptions Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Shannon Lab 1AT&T – Research Traffic Engineering with Estimated Traffic Matrices Matthew Roughan Mikkel Thorup
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
Controlling the Impact of BGP Policy Changes on IP Traffic Jennifer Rexford IP Network Management and Performance AT&T Labs – Research; Florham Park, NJ.
April 4th, 2002George Wai Wong1 Deriving IP Traffic Demands for an ISP Backbone Network Prepared for EECE565 – Data Communications.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Backbone.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Traffic Engineering.
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
1 Traffic Engineering By Kavitha Ganapa. 2 Introduction Traffic engineering is concerned with the issue of performance evaluation and optimization of.
Internet Traffic Engineering Motivation: –The Fish problem, congested links. –Two properties of IP routing Destination based Local optimization TE: optimizing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
ECE 544: Traffic engineering (supplement)
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
Intra-Domain Routing Jacob Strauss September 14, 2006.
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
Backbone Traffic Engineering
Traffic Engineering for ISP Networks
Presentation transcript:

Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University

A Challenge in ISP Backbone Networks  Finding a good way to route the data packets –Given the current network topology and offered traffic –For good performance and efficient use of resources

Why the Problem is Hard?  IP traffic varies, and the service is best effort –The offered traffic is not known in advance –The resources in the network are not reserved  The routers do not adapt on their own –Load-sensitive routing is not widely deployed –Due to control overhead and stability challenges  Routing protocols were not designed to be managed –At best indirect control over the flow of traffic  Fine-grain traffic measurements often unavailable –E.g., only have coarse-grain link load statistics

In This Talk…  TE with traditional IP routing protocols –Shortest-path protocols with configurable link weights  Two main research challenges –Optimization: tuning link weights to the offered traffic –Tomography: inferring the offered traffic from link load  Deployed solutions in AT&T’s U.S. backbone –Our experiences working with the network operators –And how we improved the tools over time  Ongoing research on traffic management

Optimization: Tuning Link Weights

Routing Inside an Internet Service Provider  Routers flood information to learn the topology –Routers determine “next hop” to reach other routers… –By computing shortest paths based on the link weights  Routers forward packets via the “next hop” link(s)

Link Weights Control the Flow of Traffic  Routers compute paths –Shortest paths as sum of link weights  Operators set the link weights –To control where the traffic goes 3

Heuristics for Setting the Link Weights  Proportional to physical distance –Cross-country links have higher weights than local ones –Minimizes end-to-end propagation delay  Inversely proportional to link capacity –Smaller weights for higher-bandwidth links –Attracts more traffic to links with more capacity  Tuned based on the offered traffic –Network-wide optimization of weights based on traffic –Directly minimizes key metrics like max link utilization

Why Are the Link Weights Static?  Strawman alternative: load-sensitive routing –Link metrics based on traffic load –Flood dynamic metrics as they change –Adapt automatically to changes in offered load  Reasons why this is typically not done –Delay-based routing unsuccessful in the early days –Oscillation as routers adapt to out-of-date information –Most Internet transfers are very short-lived  Research and standards work continues… –… but operators have to work with what they have

Big Picture: Measure, Model, and Control Topology/ Configuration Offered traffic Changes to the network Operational network Network-wide “what if” model measure control

Traffic Engineering in an ISP Backbone  Topology –Connectivity and capacity of routers and links  Traffic matrix –Offered load between points in the network  Link weights –Configurable weights for shortest-path routing  Performance objective –Balanced load, low latency, service level agreements …  Question: Given the topology and traffic matrix in an IP network, which link weights should be used?

Key Ingredients of Our Approach  Measurement –Topology: monitoring of the routing protocols –Traffic matrix: widely deployed traffic measurement  Network-wide models –Representations of topology and traffic –“What-if” models of shortest-path routing  Network optimization –Efficient algorithms to find good configurations –Operational experience to identify key constraints

Formalizing the Optimization Problem  Input: graph G(R,L) –R is the set of routers –L is the set of unidirectional links –c l is the capacity of link l  Input: traffic matrix –M i,j is traffic load from router i to j  Output: setting of the link weights –w l is weight on unidirectional link l –P i,j,l is fraction of traffic from i to j traversing link l

Multiple Shortest Paths With Even Splitting Values of P i,j,l

Defining the Objective Function  Computing the link utilization – Link load: u l =  i,j M i,j P i,j,l – Utilization: u l /c l  Objective functions – min(max l (u l /c l )) – min(  l  f(u l /c l )) f(x) 1 x

Complexity of the Optimization Problem  NP-hard optimization problem –No efficient algorithm to find the link weights –Even for the simple convex objective functions  Why can’t we just do multi-commodity flow? –E.g., solve the multi-commodity flow problem… –… and the link weights pop out as the dual –Because IP routers cannot split arbitrarily over ties  What are the implications? –Have to resort to searching through weight settings

Optimization Based on Local Search  Start with an initial setting of the link weights –E.g., same integer weight on every link –E.g., weights inversely proportional to link capacity –E.g., existing weights in the operational network  Compute the objective function –Compute the all-pairs shortest paths to get P i,j,l –Apply the traffic matrix M i,j to get link loads u l –Evaluate the objective function from the u l /c l  Generate a new setting of the link weights repeat

Making the Search Efficient  Avoid repeating the same weight setting –Keep track of past values of the weight setting –… or keep a small signature (e.g., a hash) of past values –Do not evaluate a weight setting if signatures match  Avoid computing the shortest paths from scratch –Explore weight settings that changes just one weight –Apply fast incremental shortest-path algorithms  Limit the number of unique values of link weights –Do not explore all 2 16 possible values for each weight  Stop early, before exploring the whole search space

Incorporating Operational Realities  Minimize number of changes to the network –Changing just 1 or 2 link weights is often enough  Tolerate failure of network equipment –Weights settings usually remain good after failure –… or can be fixed by changing one or two weights  Limit dependence on measurement accuracy –Good weights remain good, despite random noise  Limit frequency of changes to the weights –Joint optimization for day and night traffic matrices

Application to AT&T’s Backbone Network  Performance of the optimized weights –Search finds a good solution within a few minutes –Much better than link capacity or physical distance –Competitive with multi-commodity flow solution  How AT&T changes the link weights –Maintenance done every night from midnight to 6am –Predict effects of removing link(s) from the network –Reoptimize the link weights to avoid congestion –Configure new weights before disabling equipment

Example from My Visit to AT&T’s Operations Center  Amtrak repairing/moving part of the train track –Need to move some of the fiber optic cables –Or, heightened risk of the cables being cut –Amtrak notifies us of the time the work will be done  AT&T engineers model the effects –Determine which IP links go over the affected fiber –Pretend the network no longer has these links –Evaluate the new shortest paths and traffic flow –Identify whether link loads will be too high

Example Continued  If load will be too high –Reoptimize the weights on the remaining links –Schedule the time for the new weights to be configured –Roll back to the old weight setting after Amtrak is done  Same process applied to other cases –Assessing the network’s risk to possible failures –Planning for maintenance of existing equipment –Adapting the link weights to installation of new links –Adapting the link weights in response to traffic shifts

Conclusions on Traffic Engineering  IP networks do not adapt on their own –Routers compute shortest paths based on static weights  Service providers need to adapt the weights –Due to failures, congestion, or planned maintenance  Leads to an interesting optimization problems –Optimize link weights based on topology and traffic  Optimization problem is computationally difficult –Forces the use of efficient local-search techniques  Results of the local search are pretty good –Near-optimal solutions that minimize disruptions

Extensions  Robust link-weight assignments –Link/node failures –Range of traffic matrices  More complex routing models –Destinations reachable via multiple “egress points” –Interdomain routing policies  Interaction between ISPs –Inter-ISP negotiation for joint optimization –Grappling with scalability and trust issues

Tomography: Inferring the Traffic Matrix

Computing the Traffic Matrix M i,j  Hard to measure the traffic matrix –IP networks transmit data as individual packets –Routers do not keep traffic statistics, except link utilization on (say) a five-minute time scale  Need to infer the traffic matrix M i,j from –Current topology G(R,L) –Current routing P i,j,l –Current link load u l –Link capacity c l

4Mbps 3Mbps5Mbps Inference: Network Tomography Sources Destinations From link counts to the traffic matrix

Tomography: Formalizing the Problem  Ingress-egress pairs –p is a ingress-egress pair of nodes (i,j) –x p is the (unknown) traffic volume for this pair M i,j  Routing –P lp is proportion of p’s traffic that traverses l  Links in the network –l is a unidirectional edge –u l is the observed traffic volume on this link  Relationship: u = Px (work backwards to get x)

Tomography: One Observation Not Enough  Linear system of n nodes is underdetermined –Number of links e is around O(n) –Number of ingress-egress pairs c is O(n 2 ) –Dimension of solution sub-space at least c - e  Multiple observations are needed –k independent observations (over time) –Stochastic model with Poisson iid counts –Maximum likelihood estimation to infer matrix  Doesn’t work all that well in practice…

Approach Used at AT&T: Tomo-gravity  Gravitational assumption –Ingress point a has traffic v i a –Egress point b has traffic v e b –Pair (a,b) has traffic proportional to v i a * v e b

Approach Used at AT&T: Tomo-gravity  Problem with gravity model –Gravity model ignores the load on the inside links –Gravity assumption isn’t always 100% correct –Resulting traffic matrix might not satisfy the link loads  Combining the two techniques –Gravity: find a traffic matrix using the gravity model –Tomography: find the family of traffic matrices consistent with all link load statistics –Tomo-gravity: find the tomography solution that is closest to the output of the gravity model  Works extremely well (and fast) in practice

Conclusions  Managing IP networks is challenging –Routers don’t adapt on their own to congestion –Routers don’t reveal much information about traffic  Measurement provides a network-wide view –Topology –Traffic matrix  Optimization enables the network to adapt –Inferring the traffic matrix from the link loads –Optimizing the link weights based on the traffic matrix

New Research Direction: Design for Manage-ability  Two main parts of network management –Control: optimization –Measurement: tomography  Two research approaches –Bottom up: do the best with what you have –Top down: design systems that are easier to manage  Design for manage-ability –“If you are both the professor and the student, you create exam questions that are easy to answer.”

Example: Changing the Path Computation  Routers split traffic over multiple paths –More traffic on shorter paths, less on longer ones –In proportion to the exponential of path cost  Exciting result –Can achieve optimal distribution of the traffic –With polynomial-time algorithm for setting the weights

New Research Direction: Logically-Central Control  Traditional division of labor –Routers: real-time, distributed protocols –Management system: offline, centralized algorithms  Example: routing protocols and traffic engineering –Routing: routers react automatically to link failures –TE: management system sets the link weights  The case for separating routing from routers –Better decisions with network-wide visibility –Routers only collect measurements and forward packets

Example: Routing Control Platform (RCP)  Logically-centralized server –Collects measurement data from the network –Pushes forwarding tables into the routers  Benefits –Network-wide policies –Flexible, easy to customize –Fewer nodes to upgrade  Feasibility –High-end PC can compute routes for large ISP –Simple replication to survive failures ISP RCP

References  Traffic engineering using traditional protocols – – –  Tomo-gravity to infer the traffic matrix – – sigm03.pdfhttp:// sigm03.pdf –

References  Design for manage-ability – – –  Routing Control Platform – – – –