Presentation is loading. Please wait.

Presentation is loading. Please wait.

EE689 Lecture 5 Review of last lecture More on HPF RED.

Similar presentations


Presentation on theme: "EE689 Lecture 5 Review of last lecture More on HPF RED."— Presentation transcript:

1 EE689 Lecture 5 Review of last lecture More on HPF RED

2 Network Congestion Congestion results in buffer backlog Eventually, packets have to be dropped Packet drops indicate congestion to senders Senders eventually backoff to reduce congestion Usual mode of dropping packets at router - DropTail

3 Problems with DropTail No indication of congestion until late May drop several packets at once - leads to global synchronization of flows Can lead to oscillations of high-low link utilization Aggressive flows can kill all other flows

4 Early Congestion Indication Notify congestion earlier Individual flows reduce rates at different times -- reducing synchronization problems Various techniques for early congestion indication/notification Random Early Drop -- drop packets randomly when queues are starting to buildup

5 Random Early Detection Two thresholds, min, max of queue lengths In between, mark/drop packets randomly Inform flows early on, avoid global synchronization Reduces average queue lengths, delays Flows with higher rates have more packets dropped - fairer distribution of BW

6 RED For each packet arrival, calculate the average queue size avg if min  avg < max calculate probability pa, mark arriving packet with probability pa else if max  avg, mark the arriving packet

7 RED Pb = max(avg - min)/(max -min) pa = pb/(1 - count*pb) avg = (1-w)*avg + w * q count measures the number of packet arrivals since the last marked packet if queue length is between min and max

8 RED Queue length DroppDropp

9 RED properties Maintains queue lengths low Allows high utilization of links without oscillations/global synchronization Higher rate flows get dropped more often - leads to fairer sharing than DropTail Aggressive flows can still shut down ‘nice’ applications Small RTT bias of TCP still present

10 RED properties FIFO scheduling - doesn’t provide flow isolation - one aggressive flow can hog all the buffers Favors ‘robust’ applications (ftp) over ‘fragile’ applications (telnet) FRED - Per Flow RED employs RED and per-flow queuing to solve some of these problems

11 Buffer management FIFO scheduling cannot isolate flows Fair scheduling shown to contain flows Can fail without appropriate buffer management -- aggressive flows can eat up all the buffers and not let other flows have any backlog Buffer management important for flow isolation

12 Buffer management Fair scheduling doesn’t guarantee flow isolation -- aggressive flows can hog all the buffers Per-flow queuing is required, contain flows from using too many buffers Fair sharing of buffers leads to fair sharing of bandwidth

13 Fair sharing of BW Drop packets of longest queue Leads to more losses for aggressive flows Contains aggressive flows Leads to fair sharing of BW even without aggressive flows Possible to achieve BW targets by strict buffer control, assigns buffers proportional to BW targets

14 Summary RED provides fairer sharing than DropTail RED simple to implement RED cannot contain aggressive flows Per-flow queuing also not enough Buffer management required Effective buffer management can lead to fair sharing of BW even with FIFO scheduling


Download ppt "EE689 Lecture 5 Review of last lecture More on HPF RED."

Similar presentations


Ads by Google