Congestion Control Computer Networks 1 Where are we

  • Slides: 21
Download presentation
Congestion Control Computer Networks 1

Congestion Control Computer Networks 1

Where are we? 2

Where are we? 2

Recall Data Link Layer Link level specific transmission Network Layer End-to-End host addressing and

Recall Data Link Layer Link level specific transmission Network Layer End-to-End host addressing and routing Transport Layer End-to-End application multiplexing and message flow-control An expert: Sally Floyd <http: //www. aciri. org/floyd/> An expert: Van Jacobson 3

Note Flow control is a subset of congestion control. The former attempts to properly

Note Flow control is a subset of congestion control. The former attempts to properly match the rate of the sender with that of the network and receiver. The later deals with the sustained overload of intermediate network elements such as internetwork routers. 4

Congestion Collapse As the network load increases, packet drops and thus packet retransmissions increase

Congestion Collapse As the network load increases, packet drops and thus packet retransmissions increase Fragments dropped are especially annoying, the remaining fragments get sent, but cannot be used As retransmissions increase, less actual work gets done 5

Some Congestion Fixes When congestion increases, slow down! Additive Increase, Multiplicative Decrease is used

Some Congestion Fixes When congestion increases, slow down! Additive Increase, Multiplicative Decrease is used in TCP Setup reservations or service classes Packets failing to adhere to their class or reservation are simply discarded or put onto a low priority queue/link Discover end-to-end MTU if fragments are getting dropped 6

Fairness Equal share bandwidth to end stations Fair share based on application Fair share

Fairness Equal share bandwidth to end stations Fair share based on application Fair share based on timeliness of data Fair share based on value of data Fair share based on price paid. . . and so on 7

Active Congestion Control Mechanisms Eligible discard Queue management Network Signaling and Notification End station

Active Congestion Control Mechanisms Eligible discard Queue management Network Signaling and Notification End station avoidance Class of service signaling Quality of service reservations 8

Eligible Discard Frames, cells or packets are marked according to a drop priority Source

Eligible Discard Frames, cells or packets are marked according to a drop priority Source or edge intermediate device may mark based on some policy watermark/threshold reached data type source destination cost Usually implemented at data link or network layer 9

Eligible Discard Illustrated 10

Eligible Discard Illustrated 10

Queue Management First in, first dropped (FIFO) Tail drop (LIFO) Leaky bucket Token bucket

Queue Management First in, first dropped (FIFO) Tail drop (LIFO) Leaky bucket Token bucket Random early detection (RED) Weighted Fair Queueing Usually implemented in intermediate devices such as routers and switches 11

First In, First Out Illustrated Queue pointers need to be updated Sender learns of

First In, First Out Illustrated Queue pointers need to be updated Sender learns of drop sooner 12

Last In, First Out Illustrated Simple - no queue pointers to update Source cannot

Last In, First Out Illustrated Simple - no queue pointers to update Source cannot react as quick 13

Leaky Bucket Illustrated From Tanenbaum Figure 5 -24, graphic will print to a Postscript

Leaky Bucket Illustrated From Tanenbaum Figure 5 -24, graphic will print to a Postscript printer 14

Token Bucket Illustrated From Tanenbaum Figure 5 -26, graphic will print to a Postscript

Token Bucket Illustrated From Tanenbaum Figure 5 -26, graphic will print to a Postscript printer 15

RED Illustrated Probability marking applied to each packet based on queue length, packet being

RED Illustrated Probability marking applied to each packet based on queue length, packet being dropped 16

Weighted Fair Queueing 17

Weighted Fair Queueing 17

Network Signaling and Notification Also called choke packets In Frame Relay Forward Explicit Congestion

Network Signaling and Notification Also called choke packets In Frame Relay Forward Explicit Congestion Notification (FECN) Backward Explicit Congestion Notification (BECN) Bit in frame set Experimental Internet mechanism Explicit Congestion Notification (ECN) Bits set in packets to hosts 18

End Station Avoidance Also called end-to-end control TCP Slow start Congestion avoidance Fast Retransmit

End Station Avoidance Also called end-to-end control TCP Slow start Congestion avoidance Fast Retransmit Fast Recovery 19

Class of Service Signaling Packets marked to a particular traffic class IEEE 802. 1

Class of Service Signaling Packets marked to a particular traffic class IEEE 802. 1 p Differentiated Services (Diff. Serv) Re-defines IP Type of Service (To. S) bit fields Asynchronous Transfer Mode 20

Quality of Service Reservations Resource Re. Ser. Vation Protocol Reserve resources in routers Requires

Quality of Service Reservations Resource Re. Ser. Vation Protocol Reserve resources in routers Requires stateful path Asynchronous Transfer Mode (ATM) 21