Skip Links

Network World

Dennis Hartmann

Switch QoS

Shapred Round Robin

By Dennis Hartmann on Thu, 07/02/09 - 11:26am.

This blog will explore the shaped round robin (SRR) technology implemented on the Cisco 2960/2970/3560/3750 switches. The 2960/2970/3560/3750 switches will be referred to as the 3750 switch family throughout this blog.

The 3750 switch family supports a four queue output architecture similar to the 2950, 3550, and 4500 series switches. The 2950 and 3550 use queue 4 as a priority queue, while the 4500 switch uses queue 3 as the priority queue. The scheduling of queues on the 3750 switch family is unique and the exact opposite of the 2950 and 3550 switches. Queue 1 on the 3750 family of switches is the priority queue, while queue 4 is the lowest priority queue. The CoS to output queue mapping default is as follows:

Queue # CoS
1 5
2 0,1
3 2,3
4 4,6,7

The 3750 switch family also support two input queues. CoS 5 is mapped to input queue 3, while all other CoS input traffic is mapped to queue 1 by default. Each of the two queues is allocated 50% of the queue during periods of congestion.

Shaped round robin (SRR) is a scheduling service that is similar to the weighted round robin algorithm used on some of the other switch platforms discussed so far. Shaped round robin (SRR) supports shaped mode and shared mode with shared mode being the default. Shaped mode allows individual queues to be limited (shaped), but is only available on the egress queues. Shared SRR allows non-idle lower priority traffic queues to use the idle bandwidth of higher priority queues. SRR does a better job of protecting switches from very aggressive flows with its internal scheduling algorithm. WRR can experience queue starvation issues related to large, bursty traffic streams due to the bandwidth allocation mechanism of the weighted round robin (WRR) algorithm. The default shaped mode of SRR will rate limit queue 1 to 25% by default even when the link is idle.

WRR and SRR both support the configuration of a priority queue. When the priority queue is configured, the switch uses an expedite scheduler that will not process any other queue when there is traffic in the priority queue. The 25% shape default no longer applies to queue 1 when the priority queue is configured. The expedite scheduling could lead to a queue starvation condition if there is so much traffic in the priority queue that other queues do not get scheduled. The queue starvation issue is limited in most deployments because only class of service (CoS - IEEE 802.1p) value 5 is normally mapped to the priority queue (PQ). Cisco phones mark voice media (RTP) traffic as CoS 5 by default. A Gigabit Ethernet uplink would have to have a lot of 93kbps G.711 voice calls for this issue to arise. It is possible for a denial of service (DoS) or distributed denial of service (DDoS) attack to be launched from a PC or Cisco IP phone using CoS 5, but this issue could also be limited if traffic is policed on both the voice and access VLANs at the access layer switch.

In the next blog, we will discuss the weighted tail drop (WTD) congestion avoidance mechanism used on the 3750 family of switches.

REFERENCES

3750 QoS Configuration Guide
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/relea...

3750 Product Literature
http://www.cisco.com/en/US/products/ps7077/index.html

3560 Product Literature
http://www.cisco.com/en/US/products/hw/switches/ps5528/index.html

6500 QOS

0

Are you going to discuss 6500/PFC QOS?

6500

0

Yes. We will talk about 6500 QoS options. The Policy Feature Card (PFC) is required to perform QoS on the 6500 switch. The PFC was an optional daughter card on the Supervisor 1 module. The PFC2 (2nd generation PFC) comes standard on the Supervisor 2 module, while the PFC3 comes standard on the SUP720 module. There are many varieties of the PFC card. While I was in Washington DC we were using the PFC-3BXL card for its MPLS VPN capabilities.

rate limit

0

I think queue 1 is not rate limited to 25% by default but to 1/25th of the bandwidth, so 4% !

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <strong> <i> <br /> <br> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
About Cisco Unified Communications

Dennis Hartmann, CCIE No. 15651, is a consultant with www.highpoint.com and author of Implementing Cisco Unified Communications Manager, Part 1. Dennis is also a lead instructor at Global Knowledge. Dennis has various certifications, including the Cisco CCVP, CCSI, CCNP, CCIP, and the Microsoft MCSE.  Dennis has various specializations including unified communications, data center, routing & switching, service provider (MPLS and optical).  Dennis has worked for various Fortune 500 companies, including AT&T, Sprint, Merrill Lynch, KPMG, and Cabletron Systems. He lives with his wife and children in Hopewell Junction, New York.

Global Knowledge