CCNP ONT Notes4 Apr 2008
Chapter 5: Congestion Avoidance, Policing, Shaping, and Link Efficieny MechanismsCongestion avoidance is implemented to avoid tail drop, which occurs when there is no room left in a queue for incoming packets. Tail drop is not selective; less aggressive flows are not preferred to aggressive flows, thus no QoS can be provided. TCP global synchronization occurs when tail dropping of packets forces flows to cycle between small and large windows. TCP starvation occurs when stateless protocols like UDP fill available queue space before the throttled TCP flows. Random Early Detection (RED)When RED is implemented, packets are randomly dropped before the queue becomes full. The rate of drop increases as the queues nears its maximum size. RED mitigates the problem of TCP synchronization. Configuration parameters:
Weighted Random Early Detection (WRED)WRED is RED with the added capability of favoring prioritized traffic, based on the IP precedence or DSCP. Class-Based WRED (CBWRED)CBWRED is WRED implemented inside a CBWFQ system. CBWRED is applied to a CBWFQ class (under a policy map) with CBWRED operates on IP precedence by default but can be configured to evaluate DSCP. Each precedence/DSCP value can be configured with a unique MPD and minimum and maximum thresholds. Configuration example:
Traffic Shaping and PolicingPolicingPolicing restricts the amount of bandwidth consumed by traffic. Traffic which exceeds the policed threshold can be dropped or remarked to a lower QoS. Purposes:
Policing can be applied inbound or outbound on an interface. ShapingShaping buffers excess traffic for transmission, introducing a delay. Purposes:
Shaping can only be applied outbound. Shaping introduces variable delay when traffic is buffered. Shaping can be configured to respond to network conditions and signals, such as frame relay Backward Explicit Congestion Notifications (BECNs). Link Efficiency MechanismsMost link efficiency mechanisms are only required or supported on slow links. Layer 2 Payload CompressionLayer 2 payload compression is implemented on a link-by-link basis, and compresses the entire layer 2 payload. Compression introduces a processing delay, but reduces serialization delay and increases available bandwidth. Compression can be performed in hardware or software; compression performed in software is CPU-intensive and not recommended. Header CompressionHeader compression can be used with TCP or RTP. Only headers are compressed, not payload. Like L2 payload compression, header compression is implemented on a link-by-link basis. Link Fragmentation and Interleaving (LFI)Large frames are fragmented and interleaved with smaller, high-priority frames to reduce jitter. |
Navigation
Armory
Online Toolbox
|