1 / 15

CSE679: Buffer Management

CSE679: Buffer Management. Drop Tail RED Advanced RED. 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

boaz
Download Presentation

CSE679: Buffer Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE679: Buffer Management • Drop Tail • RED • Advanced 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 Work Flow 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 Parameters • Pa = maxp*(avg - min)/(max -min) • 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 Drop p max min Queue length

  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 (more) • 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. How to Enhance RED? • Per-flow Queuing based RED • QFRED by Harvard • LQD-RED by Bell Lab

  12. FRED • Applies RED per flow • Aggressive flows may have packets dropped while others have no drops • Per-flow RED isolates flows • Solves the problem of aggressive flows • Can allocate BW fairly

  13. Issues in FRED • Difficult to maintain queues for each flow • In backbone routers, may have thousands or millions of flows • Difficult to sort packets based on “flows” and to figure out scheduling order • Scalability is an issue • How to provide flow isolation that can scale?

  14. More New RED • BRED (Balanced RED) by Maryland at College Park • RED + recoding buffer occupancy of each flows • SRED (Stabilized RED) by Bell core • RED + estimating the buffer occupancy of each flows • Choke by Stanford • RED + random picking a packet from queue and comparing • Etc.

  15. Conclusion • RED provides fairer sharing than DropTail • RED simple to implement • RED cannot contain aggressive flows • Enhanced RED

More Related