spring 2000john kristoff1 congestion control computer networks

21
Spring 2000 John Kristoff 1 Congestion Control Computer Networks

Post on 19-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 1

Congestion Control

Computer Networks

Page 2: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 2

Where are we?

Page 3: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 3

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

The expert: Sally Floyd http://www.aciri.org/floyd/

Page 4: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 4

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.

Page 5: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 5

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

Page 6: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 6

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

Page 7: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 7

Fairness

Equal share bandwidth to end stationsFair share based on applicationFair share based on timeliness of dataFair share based on value of dataFair share based on price paid...and so on

Page 8: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 8

Active Congestion Control Mechanisms

Eligible discardQueue managementNetwork Signaling and NotificationEnd station avoidanceClass of service signalingQuality of service reservations

Page 9: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 9

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

Page 10: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 10

Eligible Discard Illustrated

Page 11: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 11

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

Page 12: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 12

First In, First Out Illustrated

Queue pointers need to be updatedSender learns of drop sooner

Page 13: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 13

Last In, First Out Illustrated

Simple - no queue pointers to updateSource cannot react as quick

Page 14: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 14

Title:(05-W.eps)Creator:Adobe Illustrator(TM) 5.0Preview:This EPS picture was not savedwith a preview included in it.Comment:This EPS picture will print to aPostScript printer, but not toother types of printers.

Leaky Bucket Illustrated

From Tanenbaum Figure 5-24, graphic will print to a Postscript printer

Page 15: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 15

Title:(05-X.eps)Creator:Adobe Illustrator(TM) 5.0Preview:This EPS picture was not savedwith a preview included in it.Comment:This EPS picture will print to aPostScript printer, but not toother types of printers.

Token Bucket Illustrated

From Tanenbaum Figure 5-26, graphic will print to a Postscript printer

Page 16: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 16

RED Illustrated

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

Page 17: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 17

Weighted Fair Queueing

Page 18: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 18

Network Signaling and Notification

Also called choke packetsIn 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

Page 19: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 19

End Station Avoidance

Also called end-to-end controlTCP

Slow start Congestion avoidance Fast Retransmit Fast Recovery

Page 20: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 20

Class of Service Signaling

Packets marked to a particular traffic class

IEEE 802.1pDifferentiated Services (DiffServ)Re-defines IP Type of Service (ToS)

bit fieldsAsynchronous Transfer Mode

Page 21: Spring 2000John Kristoff1 Congestion Control Computer Networks

Spring 2000 John Kristoff 21

Quality of Service Reservations

Resource ReSerVation Protocol Reserve resources in routers Requires stateful path

Asynchronous Transfer Protocol (ATM)