implementation and evaluation of ospf optimized multipath … · 2001. 7. 11. · ospf opaque lsa...
TRANSCRIPT
![Page 1: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/1.jpg)
Implementation and evaluation of OSPF Optimized Multipath Routing
Balasubramanian RamachandranM.S. Thesis defense
Committee:Committee:Dr. Joseph B. Evans (chair)Dr. David W. PetrDr. Susan Gauch
![Page 2: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/2.jpg)
Organization
• Introduction• Motivation• Open Shortest Path First (OSPF) Optimized
Multipath(OMP) and Opaque-LSA overview• Design and Implementation• Performance Evaluation• Conclusions
![Page 3: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/3.jpg)
Introduction
• Traffic Engineering - What is it?• Objectives
– Improve network performance– Utilize resources efficiently
• load-balancing in presence of varying traffic patterns
• Styles– Off line– On-line
![Page 4: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/4.jpg)
Motivation
• On-line load balancing hard– "It is easier to move a problem around than it is to solve
it" - Ross Callon– Necessity for efficient algorithms imperative for online
load balancing– Uniform link utilization in networks– stability concerns
![Page 5: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/5.jpg)
Adaptive weights method
R1
R3
R4
1 2
1
R2
1
• Given traffic demand, optimization using link metrics is not possible
• Dynamic weights
3
• Use of multiple equal-cost paths came into practice
1 1
![Page 6: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/6.jpg)
Equal Cost Multipath (ECMP)
• R1-R4 uses ECMP• Simple and stable
• Congestion caused by overlapping of shortest paths– R1 Unaware of R3-R4 link
utilization
• Consider cost (R1-R3-R4) just greater than (R1-R2-R4)
R1
R3
R4
1 1
1
R2
1
R1
R3
R4
1 1
1
R2
1
R5
250% 50%
![Page 7: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/7.jpg)
50%60%
OSPF OMP Overview• Network designed to support
multiple paths between high traffic end-points
• Identify congested links– Use IGP to flood load statistics
• move traffic away from congested paths– vary traffic injection in multiple
paths based on link utilization – soft on previous congested links
• Relaxes shortest path criteria
R1
R3
R4
1 1
1
R2
1
50%40%
![Page 8: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/8.jpg)
OMP Model in TE context
Traffic
Fine TuneControl knobs
Link utilization, BandwidthLink utilization, Bandwidth
Load balancing and traffic adjusting module
Load balancing and traffic adjusting module
Network
Feedback
Optimization
![Page 9: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/9.jpg)
OSPF Opaque-LSA
• Facilitates dissemination of application oriented information using existing infrastructure
• Link-local, area-local, Autonomous System (AS)-local scopes
• Trade-off– additional traffic over-head
– Additional memory
![Page 10: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/10.jpg)
OSPF Opaque LSA packet format
• Link State Advertisement (LSA) types 9,10 and 11• opaque type/opaque id replacing LS id• Lsa header followed by application specific info
Link State Advertisement Age Options LSA TypeOpaque Type Opaque ID
Advertising RouterLink State Advertisement Sequence Number
LSA Checksum LSA lengthApplication oriented information
![Page 11: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/11.jpg)
Linux kernel
Zebra Daemon
OSPFd
• OSPFd– load query– load flood– traffic adjustments
• Kernel– Forwarding
Design and ImplementationForwarding
module
Global-Load information
database
Multipathweight
adjustingmodule
Link loadquerying module
Loadfloodingmodule
![Page 12: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/12.jpg)
• Interface Management Information Base (MIB) parameters sampled every 15 sec
• Values are filtered using a simple filter
Link load querying module
• Fractional Link utilization calculated
![Page 13: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/13.jpg)
Load flooding module
• uses type-9 opaque LSA• fractional link utilization, link bandwidth• flooding decision based on
– current value of the load– difference between current and previous loads
– elapsed time since last flooding
• trade-off: flooding frequency and traffic overhead
Link State Advertisement Age Options LSA TypeOpaque Type Opaque ID
Advertising RouterLink State Advertisement Sequence Number
LSA Checksum LSA lengthVersion Reference Type Packing Method BW Scale
Reference to a Type 1-5 LSA
Link capacity in KbpsLoad information
• uses type-9 opaque LSA• fractional link utilization, link bandwidth• flooding decision based on
– current value of the load– difference between current and previous loads
– elapsed time since last flooding
• trade-off: flooding frequency and traffic overhead
![Page 14: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/14.jpg)
Nexthop structures
• For each multipath destination,– list of nodes from source to
destination {R1-R2-R4, R1-R3-R4}
– critical segment R2-R4– previous critical segment
– Traffic adjustment information
R1
R3
R4
1 1
1
R2
1
![Page 15: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/15.jpg)
• on reversal reduce traffic shift by half• move linearly into previously congested paths– to suppress oscillations
• Traffic moved away from congested links• move exponentially into non congested paths
– To ease out congestion quickly
Traffic adjustments
![Page 16: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/16.jpg)
Forwarding module
a
b
c
c
a
Fa c c b a
1
1
a
b
ca
Fa c c b a
1
1
c
Per packet
Per destination
![Page 17: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/17.jpg)
Evaluation
• Opaque - LSA propagation time– less than 2 seconds
• Per-packet load balancing tests– UDP burst traffic generated
from R1 towards R5– R2->R5 have multipaths– R4-R5 link congested
R1
R3 R4
10.1.1.1/24 10.1.5.1/24R2
R5
10.1.1.2/24 10.1.5.2/24
10.1.4.2/24
10.1.4.1/24
10.1.9.2/24
10.1.9.1/24
![Page 18: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/18.jpg)
• R3-R5 link utilization increases• R4-R5 link utilization decreases
UDP traffic
• Starts with Equal traffic distribution • On feedback R2 sends more traffic onto R3
![Page 19: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/19.jpg)
UDP Traffic contd...
![Page 20: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/20.jpg)
R1
R3 R4
10.1.1.1/24 10.1.5.1/24R2
R5
10.1.1.2/24 10.1.5.2/24
10.1.4.2/24
10.1.4.1/24
10.1.9.2/24
10.1.9.1/24
UDP Traffic contd...
• Three paths from R2 to R5• High link util in R4-R5 • After about 645 seconds
R3-R5 link util is increased 10.1.22.0/24
![Page 21: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/21.jpg)
UDP Traffic contd...
Link characteristics at R2 Link characteristics at R5
![Page 22: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/22.jpg)
TCP Traffic
• TCP traffic– 1500 byte serialized in 120? sec in 100
Mbps– If Delay diff > 3 * serialization time,
packet re-ordering can occur – Poor thruput in per-packet load balancing
R1
R3 R4
10.1.1.1/24 10.1.5.1/24R2
R5
10.1.1.2/24 10.1.5.2/24
10.1.4.2/24
10.1.4.1/24
10.1.9.2/24
10.1.9.1/24
R6
10.1.27.3/32
10.1.27.4/32
10.1.27.5/32
.
.
.
• Per-destination load balancing– Traffic generated from R1 towards R6– R4-R5 link congested– Thruput low for flows taking R4 nexthop– Feedback shifts more flows from R4 to R3
![Page 23: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/23.jpg)
TCP Traffic contd...
R2
R3 R4
R5
10.1.1.1/24
10.1.1.2/24
10.1.4.2/24
10.1.4.1/24
10.1.5.1/24
10.1.5.2/24
10.1.9.2/24
10.1.9.1/24
10.1.27.1/24
10.1.27.2/24
10.1.27.3/3210.1.27.4/3210.1.27.5/32
.
.
.
R1
R6
![Page 24: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/24.jpg)
TCP Traffic contd...
![Page 25: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/25.jpg)
• Both R3-R5 and R4-R5 congested• Only one critical segment• Not enough to prove instability • No traffic shifts in the midst• Hash-space adjustment will dampen
oscillation
TCP Traffic contd...
R1
R3 R4
10.1.1.1/24 10.1.5.1/24R2
R5
10.1.1.2/24 10.1.5.2/24
10.1.4.2/24
10.1.4.1/24
10.1.9.2/24
10.1.9.1/24
R6
10.1.27.3/32
10.1.27.4/32
10.1.27.5/32
.
.
.
![Page 26: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/26.jpg)
TCP Traffic contd...
![Page 27: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/27.jpg)
TCP Traffic contd...
![Page 28: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/28.jpg)
Conclusions
• Algorithm achieves gradual traffic shift• Rate of traffic shift into a path depends on previous
congestion• Big networks opaque-LSA propagation time ??
– Speed of feedback, response determines success
• Trade-off– Complexity– Traffic overhead
• How effective would over-provisioning be?
![Page 29: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/29.jpg)
Future Work
• Implementation can be extended to support other link types and to inter-area
• Relax shortest path criteria• Framework used to evaluate MPLS-OMP
![Page 30: Implementation and evaluation of OSPF Optimized Multipath … · 2001. 7. 11. · OSPF Opaque LSA packet format • Link State Advertisement (LSA) types 9,10 and 11 • opaque type/opaque](https://reader036.vdocuments.site/reader036/viewer/2022071105/5fdfdb4e3b206b1d8e0d65b2/html5/thumbnails/30.jpg)
THANK YOU