+ All Categories
Home > Documents > Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

Date post: 03-Jan-2016
Category:
Upload: lara-love
View: 27 times
Download: 2 times
Share this document with a friend
Description:
Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet. David Harrison Rensselaer Polytechnic Institute [email protected] http://networks.ecse.rpi.edu/~harrisod. Outline. QoS for Multi-Provider Private Networks Edge-to-Edge Control Architecture - PowerPoint PPT Presentation
44
David Harrison Rensselaer Polytechnic Institute 1 Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet David Harrison Rensselaer Polytechnic Institute [email protected] http://networks.ecse.rpi.edu/~harrisod
Transcript
Page 1: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

1

Edge-to-edge Control: Congestion Avoidance and Service Differentiation for

the Internet

David Harrison

Rensselaer Polytechnic Institute

[email protected]

http://networks.ecse.rpi.edu/~harrisod

Page 2: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

2

Outline

QoS for Multi-Provider Private NetworksEdge-to-Edge Control ArchitectureRiviera Congestion AvoidanceTrunk Service Building Blocks

Weighted SharingGuaranteed BandwidthAssured Bandwidth

Page 3: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

3

QoS for Multi-Provider Private Networks

Principle ProblemsCoordination: scheduled upgrades, cross-

provider agreementsScale: thousands-millions connections,

Gbps.Heterogeneity: many datalink layers, 48kbps

to >10Gbps

Page 4: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

4

Single Vs. Multi-Provider Solutions ATM and frame relay operate on single datalink layer.

All intermediate providers must agree on a common infrastructure. Requires upgrades throughout the network. Coordination to eliminate heterogeneity.

Or operate at lowest common denominator. Overprovision:

Operate at single digit utilization. More bandwidth than sum of access points.

1700 DSL (at 1.5 Mbps) or 60 T3 (at 45 Mbps) DDoS swamps an OC-48 (2.4 Gbps).

Peering points often last upgraded in each upgrade cycle. Performance between MY customers more important.

Hard for multi-provider scenarios.

Page 5: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

5

Scalability Issues

Traditional solutions:Use QoS:

ATM, IntServ: per-flow/per-VC scheduling at every hop.

Frame Relay: Drop preference, per-VC routing at every hop.

DiffServ: per-class (eg: high, low priority) scheduling, drop preference at every hop. Per-flow QoS done only at network boundaries (edges).

Page 6: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

6

Edge-to-Edge Control (EC)

I

EP

Peering Point

EC class

Provider 1 Provider 2

Provider 3Best-effort or other DS class(es)

P

Peering Point

Over-engineeredDomain

End-to-end

Flows

Edge-to-edge control loop (trunk)

EC Ingress

EC Egress

Use Edge-to-edge congestion Control to push queuing, packet loss and per-flow bandwidth sharing issues to edges (e.g. access router) of the network

Page 7: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

7

QoS via Edge-to-Edge Congestion Control

Benefits: Conquers scale and heterogeneity in same sense as TCP. Allows QoS without upgrades to either end-systems or intermediate

networks. Only incremental upgrade of edges (e.g., customer premise access

point). Bottleneck is CoS FIFO. Edge knows congestion state and can apply stateful QoS

mechanisms. Drawbacks:

Congestion control cannot react faster then propagation delay. Loose control of delay and delay variance.

Only appropriate for data and streaming (non-live) multimedia. Must configure edges and potential bottlenecks.

Page 8: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

8

Riviera Congestion Avoidance

Implements EC Traffic Trunks. EC Constraints:

Cannot assume access to TCP headers.No new fields in IP headers (no sequence numbers)Cannot assume existence of end-to-end ACKs (e.g.,

UDP)Cannot impose edge-to-edge ACKs (doubles

packets on network) No window-based control. Solution: rate-based control.

Page 9: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

9

Congestion Avoidance Goals 1. Avoid of congestion collapse or persistent loss.

Behave like TCP Reno in response to loss. 2. Avoid starvation and gross unfairness.

Isolate from best effort traffic. Solve Vegas RTPD estimation errors.

3. High utilization when demand. 4. Bounded queue.

Zero loss with sufficient buffer. Accumulation.

5. Proportional fairness. … Attack goals 2,4, and 5 in reverse order.

Page 10: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

10

Mechanisms for Fairness and Bounded Queue

Estimate this control loop’s backlog in path.If backlog > max_thresh

Congestion = trueElse if backlog <= min_thresh

Congestion = false

All control loops try to maintain between min_thresh and max_thresh backlog in path.

bounded queue (Goal 4) Each control loop has roughly equal backlog in path

proportional fairness [Low] (Goal 5) Well come back to goal 5.

Page 11: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

11

Backlog Estimation and Goal 2

Use basertt like Vegas backlog estimation. As with Vegas, when basertt is wrong gross unfairness (violates Goal 2).

Sol’n: ensure good basertt estimate.

controldata

Sender

Receiver…

baserttaccumulation = late arrivals

Page 12: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

12

Vegas & Delay Increase (Goal 2) Vegas sets basertt to the minimum RTT seen so far. GROSS UNFAIRNESS!

Page 13: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

13

Riviera Round-trip Propagation Delay (RTPD) Estimation (Goal 2)

Reduce gross unfairness w/ good RTPD estimation. Minimum of last k=30 control packet RTTs. Drain queues in path so RTT in last k RTTs likely

reflects RTPD.Set max_thresh high enough to avoid excessive

false positives.Set min_thresh low enough to ensure queue drain.

Provision drain capacity with each decrease step

Page 14: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

14

Increase/Decrease Policy to Drain Queue (Goal 2)

Increase/decrease Policy

Lower improves probability queues drain at cost to utilization.

1 > >> 0

ri =i + MTU/RTT

i

if no congestion

if congestion

i

1

.

.

.

n

1

.

.

.

n

r i = rate limit on leaky bucket (shaper. i <= r i

Page 15: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

15

Riviera & Propagation Delay Increase (Goal 2)

Page 16: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

16

B1 BkB2

E2,1

I2,1

E1,1

100M

E1,m

U

U

E2,m

U

U

U

All unlabelled links are 2ms, 1Gbps.I=ingress, E=egress, U=UDP

I1,m

I1,1U

U

I2,m

U

2k2k

I3,1

U

I3,m

U

Ek,1 Ek,m

U U

…100M

0ms LAN

… ……

Proportional Fairness Topology (Goal 5)

delay

Page 17: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

17

Riviera Achieves Proportional Fairness? (Goal 5)

i

i

log max with 0 and , ,

illi

li

LC

Page 18: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

18

Weighted Proportional Fairness

3log(x)

log(x)

i

i

iw log max

Page 19: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

19

Weighted Service Building Block Modify accumulation thresholds:

max_threshi = wi * max_threshi

min_threshi = wi * min_threshi

Page 20: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

20

Weighted Service Building Block (2)

Page 21: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

21

Guaranteed Bandwidth Allocation

gi=guarantee=0.4

log(x) log(x-0.4)

utility undefined

)log( maximize ii

i

i gw

Page 22: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

22

Converges on guaranteed bandwidth allocation. Accumulation Modification:

Apply Little’s Law

Quasi-Leased Line (QLL)

i

i

ig

i

gq

q

i

iiib

gqq

1ibigi qqq ,

ttq iii

if ( qib > max_threshi ) congestion = true

if ( qib <= min_threshi ) congestion = false

iig

ib

iig g

ibt i

queuettq igigig

All thesevariablesknown

Page 23: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

23

QLL Increase/Decrease Policy

Increase/decrease policy:

No admission control unbounded queue.

1 > >> 0

ri =max(gii+ MTU/RTT) if no congestion

if congestionmax(giigigi

Go immediately to guarantee and refuseto go below.

Decrease based only on the rate that is abovethe guarantee

Page 24: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

24

Quasi-Leased Line Example

Best-effort VL starts at t=0 and fully utilizes 100 Mbps bottleneck.

Background QLL starts with rate 50Mbps

Best-effort VL quickly adapts to new rate.

Best-effort rate limit versus time

Page 25: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

25

Quasi-Leased Line Example (cont.)

Bottleneck queue versus time

Starting QLL incurs backlog.

Unlike TCP, VL traffic trunks backoff without requiring loss and without bottleneck assistance.

Requires more buffers: larger max queue

Page 26: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

26

Quasi-Leased Line (cont.)Single bottleneck queue length analysis:

q < b

1-b

For b=.5, q=1 bw-rtt

Simulated QLL w/Riviera.

B/w-RTT products

Page 27: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

27

Assured Bandwidth Allocation

log(x)

assurance=0.4

10log(x)

log(x-0.4)

iflog

if )log( maximize

i iiii

iiii

Cw

Ca

with iiii CwaC log)log(

Page 28: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

28

Accumulation:

if (qib > max_thresh || qi > wi * max_thresh ) congestion = true

else if ( qib <= min_thresh && qi <= wi * max_thresh )congestion = false

Increase/Decrease Policy:

Backoff little (as) when below assurance (a), Backoff (be) same as best effort when above assurance (a)

Assured Building Block

1 > AS >BE >> 0

ri =i + MTU/RTT

min(AS iiaiai

if no congestion

if congestion

i

iiib

aqq

1

Page 29: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

29

Assured Building Block Vs. Assured Allocation

Page 30: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

30

Wide Range of Assurances

Page 31: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

31

Large Assurances

Page 32: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

32

Summary

Issues: Simplified overlay QoS architecture

Intangibles: deployment, configuration advantages Edge-based Building Blocks & Overlay services:

A closed-loop QoS building block Weighted services, Assured services, Quasi-leased lines

Page 33: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

33

Backup Slides

Page 34: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

34

Edge-to-Edge Queue Management

Queue distribution to the edges => can manage more effectively

Core bneck Edge devices

w/o Edge-to-Edge Control w Edge-to-Edge Control

q q1

q2

Page 35: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

35

Distributed Buffer Management (1)

Implement FRED AQM at edge rather than at bottleneck. Bottleneck remains FIFO.

Versus FRED at bottleneck and NO edge-to-edge control.

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

FIFO

FRED

Ingress Egress

TC

P s

ourc

esT

CP

destinations

Page 36: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

36

Distirbuted Buffer Management (2)

FRED bottleneck

2 FRED edges + FIFO bneck

5

10

Page 37: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

37

TCP Rate Control (Near Zero Loss)

Use Edge-to-edge Control to push bottleneck back to edge. Implement TCP rate control at edge rather than at bottleneck.

Bottleneck remains FIFO.

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

FIFO

TCP Rate Control Ingress

Egress

TC

P s

ourc

esT

CP

destinations

100 Mbps500 pkt buff

All links 4ms

Page 38: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

38

TCP Rate Control (2)

2, 5, 10TCP RateControledges

FREDbneck

FIFObneck

Coefficient of Variation in Goodput vs. 10 to 1000 TCP flows

Page 39: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

39

TCP Rate Control (3)

2,5,10TCPREdges.ZERO LOSS

FREDbneck

FIFObneck

Page 40: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

40

Remote Bottleneck Bandwidth Management

Edge redistributes VL’s fair share between end-to-end flows.

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

Workstation

FIFO

TCP Rate Control Ingress

Egress0

TCP sources

TC

P destinations

100 Mbps500 pkt buff

All links 4ms

w = 3

w = 1

w = 2

w = 1

0

11

Page 41: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

41

Remote Bandwidth Management (2)

TCP 0 with weight 3.obtains 3/4 of VL 0

TCP 1 with weight 1obtains 1/4 of VL 0

Page 42: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

42

UDP Congestion Control,Isolate Denial of Service

Workstation

Workstation

Workstation

Workstation

FIFO

Ingress0

Egress0

10 Mbps

TCP source

UDP sourcefloods networks

TCP dest

UDP dest1 1

Page 43: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

43

UDP Congestion Control, Isolate Denial of Service

Trunk 0 carries TCP starting at 0.0s

Trunk 1 carries UDP flood starting at 5.0s

Page 44: Edge-to-edge Control: Congestion Avoidance and Service Differentiation for the Internet

David HarrisonRensselaer Polytechnic Institute

44

Effects: Bandwidth Assurances

TCP with 4 Mbps assured + 3 Mbps best effort

UDP with 3 Mbps best effort


Recommended