6-1
6
Congestion Avoidance
When configuring congestion avoidance, go to these sections for information you are interested in:
z
Congestion Avoidance Overview
z
Introduction to WRED Configuration
z
Configuring WRED on an Interface
z
Displaying and Maintaining WRED
Congestion Avoidance Overview
Serious congestion can overwhelm network resources, resulting in network outage. In an effort to
eliminate the risk of congestion before it occurs, congestion avoidance technology was developed.
Congestion avoidance is essentially a flow control mechanism. It actively monitors the usage of
network resources such as queues and memory buffer and drops packets when congestion occurs or
deteriorates to prevent the network from being overwhelmed.
Compared to end-to-end flow control, this flow control mechanism is of broader sense because it can
control the load of more flows in a device. When dropping packets from a source end, it can still
cooperate well with the flow control mechanism (such as TCP flow control) at the source end to better
adjust the network traffic to a reasonable load status. The combination of the packet drop policy of the
local device and the flow control mechanism at the source end can maximize throughput and utilization
rate of the network and minimize packet loss and delay.
Traditional packet drop policy
The traditional packet drop policy is tail drop. When the length of a queue reaches the maximum
threshold, all the subsequent packets are dropped.
Such a policy results in global TCP synchronization. That is, if packets from multiple TCP connections
are dropped, these TCP connections go into the state of congestion avoidance and slow start to reduce
traffic, but traffic peak occurs later. Consequently, the network traffic jitters all the time.
RED and WRED
You can use random early detection (RED) or weighted random early detection (WRED) to avoid global
TCP synchronization.
Both RED and WRED avoid global TCP synchronization by randomly dropping packets. Thus, while
the sending rates of some TCP sessions slow down after their packets are dropped, other TCP
sessions remain at high sending rates. As there are always TCP sessions at high sending rates, link
bandwidth is efficiently utilized.
The RED or WRED algorithm sets an upper threshold and lower threshold for each queue, and
processes the packets in a queue as follows:
z
When the queue size is shorter than the lower threshold, no packet is dropped;
z
When the queue size reaches the upper threshold, all subsequent packets are dropped;
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...