Congestion Control Jean Walrand www.eecs.berkeley.edu/~ wlr - - PowerPoint PPT Presentation

congestion control
SMART_READER_LITE
LIVE PREVIEW

Congestion Control Jean Walrand www.eecs.berkeley.edu/~ wlr - - PowerPoint PPT Presentation

Congestion Control Jean Walrand www.eecs.berkeley.edu/~ wlr Outline The Problem What is fair? Approaches Walrand 2 The Problem Flows share links: How to share the links bandwidth? Walrand 3 The Problem What should be the ideal


slide-1
SLIDE 1

Congestion Control

Jean Walrand www.eecs.berkeley.edu/~ wlr

slide-2
SLIDE 2

Walrand 2

Outline

The Problem What is fair? Approaches

slide-3
SLIDE 3

Walrand 3

The Problem

Flows share links:

How to share the links bandwidth?

slide-4
SLIDE 4

Walrand 4

The Problem

What should be the ideal sharing?

Does it matter? What is fair?

How can we implement it?

Flows are not aware

  • f each other
  • f the network topology and link rates

Need a decentralized solution

slide-5
SLIDE 5

Walrand 5

The Problem

Does it Matter?

Congestion occurs

Access link

Slow link (56k, DSL, T1, wireless, …)

Access network

E.g., behind the DSLAM

Can improve treatment of flows

E.g., one flow should not get a much

smaller fraction of bandwidth

Some flows might need some guaranteed

bandwidth

slide-6
SLIDE 6

Walrand 6

The Problem

What is Fair?

Possible definitions:

slide-7
SLIDE 7

Walrand 7

The Problem

What is Fair?

Example 1:

slide-8
SLIDE 8

Walrand 8

The Problem

What is Fair?

Example 2:

slide-9
SLIDE 9

Walrand 9

The Problem

What is Fair?

Example 3:

slide-10
SLIDE 10

Walrand 10

Approaches

End-to-End Control:

Sources adjust their rates Can share rate among different flows

Traffic shaping:

Access control by network

Policing and dropping Cheating RAW

Router bandwidth assignment:

Scheduling per class or “flow”

WFQ, DRR, Priority, …

Differentiated dropping or marking

WRED, RIO, …

slide-11
SLIDE 11

Walrand 11

Approaches

End-to-End Control:

Idea:

  • Not congested = > increase rate
  • Congested = > slow down

Questions:

  • How to detect congestion?

Missing ACKs: Usual TCP (Reno) Delayed ACKs: TCP Vegas Routers mark packets: ECN, AVQ, …

  • How to increase/slow down?

AIMD Improved algorithms

slide-12
SLIDE 12

Walrand 12

Approaches

End-to-End: Detecting congestion

Tail Drop: Drop when full

Unfair to bursty traffic Multiple losses = > bad for window size … Synchronizes sources

RED: Drop as recent average queue length becomes large: p(q_av) VQ: Monitor virtual queue served with slower rate ECN: Mark instead of dropping; ACKs reflect marks – Obviously better

slide-13
SLIDE 13

Walrand 13

Approaches

End-to-End: AIMD - Justification

slide-14
SLIDE 14

Walrand 14

Approaches

End-to-End: AIMD - Reno

slide-15
SLIDE 15

Walrand 15

Approaches

End-to-End: AIMD – Router Memory

This is pretty bad …!

slide-16
SLIDE 16

Walrand 16

Approaches

End-to-End: AIMD – RED

This is a bit idealized …

slide-17
SLIDE 17

Walrand 17

Approaches

End-to-End: AIMD (cont)

Solution: When source gets ACK, It replaces W by W + a.RTT/W Solution: When source gets ACK, It replaces W by W + a.RTT/W

slide-18
SLIDE 18

Walrand 18

Approaches

End-to-End: AIMD (cont)

slide-19
SLIDE 19

Walrand 19

Approaches

End-to-End: AIMD (cont)

slide-20
SLIDE 20

Walrand 20

Approaches

End-to-End: AIMD + Scheduling

slide-21
SLIDE 21

Walrand 21

Approaches

End-to-End: Admission Control

slide-22
SLIDE 22

Walrand 22

Approaches

Access Control

Inefficient: Unnecessarily limits x2 and x3

slide-23
SLIDE 23

Walrand 23

Approaches Approaches

Access Control

slide-24
SLIDE 24

Walrand 24

Approaches

Access Control

slide-25
SLIDE 25

Walrand 25

Approaches

Router Scheduling

Complex: Requires router configuration

slide-26
SLIDE 26

Walrand 26

Approaches

Router Scheduling