digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

Random Early Detection algorithm en.svg

Random early detection (RED), also known as random early discard or random early drop is an active queue management algorithm. It is also a congestion avoidance algorithm.[1]

In the conventional tail drop algorithm, a router or other network component discard one or more incoming packets before the output buffer is fully complete,in order to improve performance of the network which is referred to as Tail drop that can also lead to TCP global synchronization as all TCP connections "hold back" simultaneously, and then step forward simultaneously. Networks become under-utilized and flooded by turns. RED addresses these issues.

Contents

Operation [edit]

RED monitors the average queue size and drops (or marks when used in conjunction with ECN) packets based on statistical probabilities. If the buffer is almost empty, all incoming packets are accepted. As the queue grows, the probability for dropping an incoming packet grows too. When the buffer is full, the probability has reached 1 and all incoming packets are dropped.

RED is more fair than tail drop, in the sense that it does not possess a bias against bursty traffic that uses only a small portion of the bandwidth. The more a host transmits, the more likely it is that its packets are dropped as the probability of a host's packet being dropped is proportional to the amount of data it has in a queue. Early detection helps avoid TCP global synchronization.

Problems with Classic RED [edit]

According to Van Jacobson, "there are not one, but two bugs in classic RED."[2] Improvements to the algorithm were developed, and a draft paper[3] was prepared, but the paper was never published, and the improvements were not widely disseminated or implemented. There has been some work in trying to finish off the research and fix the bugs.[2]

Pure RED does not accommodate quality of service (QoS) differentiation. Weighted RED (WRED) and RED with In and Out (RIO)[4] provide early detection with QoS considerations.

Other variants [edit]

WRED [edit]

In weighted RED you can have different probabilities for different priorities (IP precedence, DSCP) and/or queues.[5]

ARED [edit]

The adaptive RED or active RED (ARED) algorithm[6] infers whether to make RED more or less aggressive based on the observation of the average queue length. If the average queue length oscillates around min threshold then early detection is too aggressive. On the other hand if the average queue length oscillates around max threshold then early detection is being too conservative. The algorithm changes the probability according to how aggressive it senses it has been discarding traffic.

See Srikant[7] for an in-depth account on these techniques and their analysis.

RRED [edit]

Robust random early detection (RRED) algorithm was proposed to improve the TCP throughput against Denial-of-Service (DoS) attacks, particularly Low-rate Denial-of-Service (LDoS) attacks. Experiments have confirmed that the existing RED-like algorithms are notably vulnerable under Low-rate Denial-of-Service (LDoS) attacks due to the oscillating TCP queue size caused by the attacks.[8] RRED algorithm can significantly improve the performance of TCP under Low-rate Denial-of-Service attacks.[8]

See also [edit]

References [edit]

  1. ^ Floyd, Sally; Jacobson, Van (August 1993). "Random Early Detection (RED) gateways for Congestion Avoidance". IEEE/ACM Transactions on Networking 1 (4): 397–413. doi:10.1109/90.251892. Retrieved 2008-03-16. 
  2. ^ a b Gettys, Jim (2010-12-17). "RED in a Different Light". jg's Ramblings. Retrieved 2010-12-27. 
  3. ^ Jacobson, Van; Nichols, Kathy; Poduri, Kedar (1999-09-30). "RED in a Different Light". 
  4. ^ Clark, David D.; Wroclawski, John (July 1997). "An Approach to Service Allocation in the Internet". IETF. p. 12. Retrieved 2011-05-27. 
  5. ^ Chao, H. Jonathan (2002). Quality of service control in high speed networks. 605 Third Avenue, New York, NY: John Wiley & Sons Inc. doi:10.1002/0471224391.fmatter_indsub. ISBN 0-471-00397-2. 
  6. ^ Floyd, Sally; Gummadi, Ramakrishna; Shenker, Scott (2001-08-01). Adaptive RED: An Algorithm for Increasing the Robustness of RED's Active Queue Management. Retrieved 2008-03-16. 
  7. ^ Srikant, Rayadurgam (2004). The Mathematics of Internet Congestion Control. Boston, MA, USA: Birkhäuser. ISBN 978-0-8176-3227-4. 
  8. ^ a b Zhang, Changwang; Yin, Jianping; Cai, Zhiping; Chen, Weifeng (1 May 2010). "RRED: robust RED algorithm to counter low-rate denial-of-service attacks". IEEE Communications Letters 14 (5): 489–491. doi:10.1109/LCOMM.2010.05.091407. 

External links [edit]


Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Random_early_detection — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
1151 videos foundNext > 

The Three Most Challenging QoS Topics - Part 2

In this video, Cisco Press author Kevin Wallace (using a Styrofoam cup, water, and a Sharpie) discusses the theory of Weighted Random Early Detection (WRED).

Computer Networks Lecture 10

TCP Friendly Flow, Random Early Detection.

MQC Weighted Random Early Detection lab in GNS3

http://gns3vault.com This video explains you how to solve the MQC Weighted Random Early Detection Lab found on GNS3Vault. Visit our site for more FREE Cisco ...

Some Random things and Diabetes Early Detection Signs!

http://www.minoritynurse.com/disease-management/early-warning.

random early video

"SCHOOL'S OUT"

Prognomix unique genomic solution for early detection of diabete related diseases

Mr Normand Balthazard, CEO of Prognomix, presents the unique solutions that Genomix is developping to allow early detection of diabetic related diseases such...

MQC

Diabetes & Early Detection Signs in Kids!

http://www.minoritynurse.com/disease-management/early-warning.

M.A.R.K.1 avatar from Random Labs - Out Now!

https://marketplace.secondlife.com/p/New-MARK1-Avatar-from-Random-Labs/3400109 ====================================================== Thanks for your interes...

IOS Login Enhancements lab in GNS3

http://gns3vault.com This video explains you how to solve the IOS Login Enhancements Lab found on GNS3Vault. Visit our site for more FREE Cisco Labs!

1151 videos foundNext > 

We're sorry, but there's no news about "Random early detection" right now.

Loading

Oops, we seem to be having trouble contacting Twitter

Talk About Random early detection

You can talk about Random early detection with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!