ONT Notes - Queuing
Here are some more notes from my studies. Of course, no one cares about them but me, but it’s my blog. I’m sure someone will find it useful. Please help to correct dumbass mistakes.
-
Congestion
- Speed mismatch - traffic leaves a lower-bandwidth interface than the one it came in on
- Aggregation problem - lots of links with one egress of equal bandwidth
- Confluence problem - a bunch of traffic needs to egress out of the same interface
-
Queuing
ONT Notes – Classification, Marking, and NBAR
Here’s another set of notes from my ONT studies. I’m sure someone will find it useful. Please help to correct dumbass mistakes.
-
Classification is done with traffic desriptors
- Ingress interface
- CoS value on ISL or 802.1P frames
- Source/destination IP address
- IP Precedence or DSCP value
- MPLS EXP
- Application type
-
Layer 3 QoS
- Type of Service (ToS) is 8-bit field.
- First 3 bits of ToS are the IP precedence.
- First 6 bits of ToS are the DSCP value.
- Last 2 bits of ToS are explicit congestion notification (ECN).
-
Layer 2 QoS
ONT Notes - Intro to QoS
I’ll try to keep it a little shorter this time.
Major issues for converged enterprise networks
- Available bandwidth: competition among applications
- Fixes
- Increase bandwidth: More power!
- Properly queue based on classification and marking: QoS
- Compress: cRTP, TCP header compression, etc.
- Fixes
- Delay: Lead time to get a packet to the destination
- Types of delay
- Processing delay: routing, switch delay
- Queuing delay: how long a frame stays in an output queue
- Serialization delay: how long to put the frame on the wire
- Propagation delay: the time to cross the physical medium
- Types of delay
- Jitter (delay variation): Variation is the delay
- Different delays mean different arrival times
- De-jitter buffers save up packets to reduce jitter (like the old CD writers)
- Fixes
- More bandwidth
- Prioritize sensitive data and forward first
- Remark (reclassify) packets based on sensitivity
- Enable L2 payload compression: make sure compression delay isn’t worse than the jitter
- Use header compression
- Packet loss: Packets are lost in the network somewhere
- Fixes
- More bandwidth
- Increase buffers space: more room for the queue on the interface
- Provide guaranteed bandwidth: Queuing and QoS
- Congestion avoidance
- Random Early Detection (RED) and weighted RED (WRED) drop packets before the queue is full
- Selective dropping is better than FIFO or LIFO dropping
- Fixes
QoS History
ONT Notes - VOIP Networks
Here are some of the notes I’ve been taking while reading over the ONT book. I hope it benefits somebody. Feel free to correct any stupid mistakes as a paraphrase to avoid a lawsuit.
There’s way too much info here. I’ll refine the process a little better for the next topics.
Benefits of Packet Telephony Networks
- More efficient use of bandwidth and equipment - Packet telephony networks don’t dedicate channels or a static bandwidth to a call; it’s just another network application.
- Consolidate network expense - The common infrastructure (IP-based networks) keeps you from having to support another distinct network for voice like in traditional PBX implementations.
- Improved employee productivity - The phone can be used for more than just phone calls by utilizing the XML interface to run applications or provide content from the network.
- Access to new communications devices - IP phones can communicate with computers, network gear, PDAs, etc., and not just the PBX.
Packet Telephony Components