$linuxjunkies
>

RED method

also: Random Early Detection

RED method is not a standard Linux term. You may be thinking of RED (Random Early Detection), a network congestion management algorithm, or possibly a different Linux concept.

If you're referring to Random Early Detection (RED), it's a queue management algorithm used in network routers and Linux traffic control to prevent congestion by probabilistically dropping packets before the queue becomes full. This signals to TCP connections to reduce their send rate.

RED is implemented in Linux via tc (traffic control) and the kernel's sch_red queuing discipline. Instead of tail-dropping (dropping packets only when the queue is full), RED drops packets with increasing probability as the queue grows, providing better performance and fairness.

Example: tc qdisc add dev eth0 root red limit 1000000 min 30000 max 90000 avrate 1Mbit burst 20k probability 0.02 sets up RED queue management on a network interface.

Related terms