17 Adaptive
17 Adaptive
Challenges
Reacting quickly to alleviate congestion
Avoiding over-reacting and causing oscillations
Limiting bandwidth & CPU overhead on routers
Load-sensitive routing
Routers adapt to link load in a distributed fashion
At the packet level, or on group of packets
Traffic engineering
Centralized computation of routing parameters
Network-wide measurements of offered traffic
IP routing protocols
Routers react to failures
Compute new paths
But the new paths
may be congested
2
4
2
1
3
3
3
2
4
2
1
3
3
4
Disadvantages
Higher overhead on the routers
Long alternate paths consume extra resources
Instability from out-of-date feedback information
Load-sensitive
Compute table entries based on load or delay
Questions
What link metrics to use?
How frequently to update the metrics?
How to propagate the metrics?
How to compute the paths based on metrics?
7
3
5
1
20
congested link
8
Medium load
Queuing delay is no longer negligible
Moderate traffic shifts to avoid congestion
Heavy load
Very high metrics on congested links
Busy links look bad to all of the routers
All routers avoid the busy links
Routers may send packets on longer paths
NYC
Holland Tunnel
10
Frequency of updates
Frequent changes to the metric lead to frequent updates
Significantly increases the overhead of the protocol
12
Extreme case
Limit path selection to the shortest paths
Pick least-loaded shortest path in the network
13
Load-Sensitive Routing
Timescales
What timescale of routing decisions?
What timescale of feedback about link loads?
Groups of packets
Telephone network: phone call (3-minutes long)
Internet: TCP connection (10-packets long)
Internet: all traffic between a pair of hosts, or routers,
15
16
3
5
3
17
31
3
5
3
19
Offered
Topology/
traffic
Configuration
measure
Changes to
the network
control
Operational network
20
Traffic matrix
Offered load between points in the network
Link weights
Configurable parameters for routing protocol
Performance objective
Balanced load, low latency, service level
agreements
21
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
22
0.25
0.5
1.0
0.25
0.5
1.0
0.25
0.5
0.5
Values of Pi,j,l
24
Objective functions
min (maxl(ul/cl))
min(l f(ul/cl))
f(x)
25
26
27
repeat
30
Example Continued
If load will be too high
Reoptimize the weights on the remaining links
Schedule time for new weights to be configured
Roll back to old weights when Amtrak is done
33
Topology
Externally
learned
routes
BGP policy
configuration
BGP routing
model
Offered
traffic
34
Provider 1
(1, 3, 4)
Provider 2
(2, 7, 8, 4)
35
Performance?
Shortest AS path is not necessarily best
Could have high delays or congestion
Load balancing?
Could lead to uneven split in traffic
E.g., one provider with shorter paths
E.g., too many ties with skewed tie-break
36
A Fundamental Problem
Everyone is acting alone
Internet is highly decentralized
Each AS is adapting its routes alone
Conclusions
Adapting routing to the traffic
To alleviate congestion
To minimize propagation delay
To be robust to future failures
40