Router-Based Congestion Control: Queuing Disciplines and Fair Queuing, Slides of Computer Networks

An in-depth analysis of router-based congestion control solutions, focusing on queuing disciplines and fair queuing. It covers the basics of congestion control, router solutions, and fairness choices. The document also includes examples and explanations of fair queuing and weighted fair queuing.

Typology: Slides

2011/2012

Uploaded on 08/06/2012

parnavi
parnavi 🇮🇳

4.2

(15)

119 documents

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
2
Lecture No. 35
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Router-Based Congestion Control: Queuing Disciplines and Fair Queuing and more Slides Computer Networks in PDF only on Docsity!

2

Lecture No. 35

Router-Based

Congestion Control Solution

3

5

Router Solutions: Queuing

Disciplines

  • Router defines policies on each outgoing

link

  • Allocates buffer space:
Which packets are discarded?
  • Allocates bandwidth:
Which packets are transmitted?
  • Affects packet latency:
When are packets transmitted?

6

More Fairness Choices

  • First In, First Out (FIFO)
    • Fairness for latency– Minimizes per-packet delay– Bandwidth not considered (not good for

congestion)

  • Fair queuing
    • Fairness for bandwidth– Provides equal bandwidths (possibly weighted)– Delay not considered

8

15

20

10

Fair Queuing Example

A
B
C

10

10

20

15

S

A

S

B

S

C

10

15

20

10

15

20

10

9

Fair Queuing Example

Compare S

i

or S

i

+ P?

15

20

10

A
B
C

10

10

20

15

S

A

S

B

S

C

20

15

10

20

10

15

10

Another detail: update counter at start or end of transmission?

11

Fair Queuing

  • How might we fix this problem?
    • Don’t allow

inactive

flows to retain

service rates below that of any active flow

i.e.

after updating some flow’s S

i

  • For each flow j with no packets in its

queue

  • Set S

j

to the minimum S

k

for all active

flows k

(or 0 if no flows are active)

12

20

10

Fair Queuing Example

A
B
C

10

20

15

S

A

S

B

S

C

10

20

15

20

10

14

10

15

20

10

Weighted Fair Queuing Example

A (1)
B (2)
C (1)

10

10

20 15

S

A

S

B

S

C

20

10

10

10

15

20

10

15

Weighted Fair Queuing

  • What makes up a flow for fair queuing in the

Internet

  • Too many resources to have separate

queues/variables for host-to-host flows

Scale down

number of flows

  • Typically just based on inputs•

e.g.

share outgoing STS-12 between incoming

ISP’s