The most important thing to note is that QoS only comes into play in two situations:
- Slow speed links (ie less 2mbits) (like the edges of your network)
- Links that are reaching congestion
Step 1 - Classification and Marking
Classification involves selecting some specific interesting traffic on which we can perform some actions. The following methods can be used to classify traffic:
- ACL's
- NBAR
- IP Addresses
- MAC Addresses
- Input interface
- Layer 3 Tagging
- IP Precedence
- DSCP
- Layer 2 Tagging
- 802.1p Class of Service (COS) - Vlan Ethernet frames
- ISL
- ATM Cell Loss Priority (CLP)
- Frame Relay Discard Eligible (DE) bit
- MPLS Experimental bits
In this step you basically stuff the classified and/or marked traffic into various queues so that you can select the traffic you want to send first while everything else waits. The follow types of queuing methods are available:
- Priority Queuing (PQ) - provides 4 queues
- Custom Queuing (CQ) - provides 16 queues
- Weighted Fair Queuing (WFQ) - provides 4096 queues (all managed automatically)
- Class based WFQ (CBWFQ) - provides 64 queues
- Low Latency Queuing (LLQ) - provides 64 queues same as CBWFQ
- Modified Deficit Round Robin Queuing - provides 8 queues
If you indeed have more traffic that the link can handled then you need to decide what to do with this.
- Class Based Policing - At what threshold you need to start dropping traffic
- Class Based Shaping - Buffer the traffic so that you can try move the peak traffic into gaps
These set of tools try to avoid congestion happening in the first place by automagically dropping traffic earlier so that congestion is never hit or sending messages back to the source to slow down
- .Weighted Random Early Detect (WRED)
- Explicit Congestion Notification
How you can squeeze more out of you the link you have.
- Payload compression
- RTP Header Compression (Class based)
- TCP Header Compression
- MLPPP Fragmentation and Interleaving (reducing transmit times for small packets)
- Frame Relay and ATM Fragmentation and Interleaving
No comments:
Post a Comment