The weighted random early detection (WRED) algorithm is designed to prevent global TCP synchronization. You can configure the WRED algorithm to operate on profile queues.
The WRED algorithm is only designed for multiple streams of TCP traffic. For traffic of mixed UDP/TCP streams, the UDP streams will edge out the TCP streams.
The WRED algorithm drops random packets when the average queue length exceeds a defined threshold. The sender of the TCP stream detects the dropped packet and reduces its transmit credit window which in turn reduces the offered load.
filter-weight attribute controls how quickly, or how slowly, the average queue length will track the actual queue length.
Ways to configure the WRED algorithm on profile queues
On the software platforms, you can configure WRED at one of two different locations in the scheduling hierarchy:
- At the policy's traffic class level, so that all the profile queues assigned to a traffic class share the same configuration.
- At the individual profile queue level, so that each profile queue has its own individual WRED configuration.
On hardware platforms you can only configure WRED at the individual profile queue level.