Configuration Guidelines for
QoS over ATMThis appendix provides general QoS configuration guidelines for ATM line cards. These guidelines are applicable to all JUNOSe releases.
The SAR scheduler generates VC backpressure as a way to control the flow of packets from the HRR scheduler to the SAR scheduler. Three QoS port modes control integration of the two schedulers:
- Default integrated QoS port mode—ATM application controls the scheduling facilities of the SAR scheduler.
- Low-latency QoS port mode—HRR scheduler controls the traffic rate.
- Low-CDV QoS port mode—HRR scheduler and the SAR scheduler operate in concert, with both contributing to the traffic scheduling.
In the latter two modes, VC backpressure is disabled.
In default integrated mode, each VC queue in the SAR generates backpressure for the atm-vc node in the default traffic class group in the HRR. The backpressure throttles the dequeue rate of the atm-vc node and the nodes and queues stacked above it in the scheduler hierarchy.
You can configure queues in default integrated mode in the HRR that are immune to VC backpressure so that you can run voice and video applications. Queues and nodes in any named traffic class group are not subject to VC backpressure.
In addition, atm-vp and atm (port level) queues are not stacked above atm-vc nodes, so queues are not subject to backpressure, regardless of the traffic class group.
Take care not to saturate SAR queues with too much traffic from the HRR, especially when shaping vp-tunnels or VCs in the SAR. You can accomplish this in several ways:
- Use external admission control to guarantee that the sum of non-backpressured traffic into the VC is less than the SAR shaping rate for the VC.
- Shape the non-backpressured queues or nodes in the HRR, making the aggregate of the non-backpressured traffic for a VC less than the VC rate.
- In JUNOSe 6.0 releases and later, you can configure a shared shaper on the atm-vc node in the default traffic class group. Configure the shared shaping rate to be less than or equal to the VC shaping rate in the SAR.
- Special rules apply for vp-tunnels shaped in the SAR. When shaping in the SAR, configure atm-vp nodes in the HRR, and arrange that the aggregate traffic dequeued from the HRR for that vp-tunnel is less than or equal to the vp-tunnel shaping rate in the SAR.
Use one of the following two techniques for vp-tunnels shaped in the SAR:
- Partition the SAR vp-tunnel bandwidth across the atm-vp nodes in the different traffic class groups in the HRR. For example, using a 4 Mbps vp-tunnel, allocate 1 Mbps for the atm-vp node in default TCG, 2 Mbps for the atm-vp node in video TCG, and 1 Mbps for the atm-vp node in the voice TCG.
When using this technique, keep in mind that the different traffic classes cannot share bandwidth.