QoS - srr-queue share and shape together

From: _ _ <krzysiek.zalewski_at_gmail.com>
Date: Fri, 3 May 2013 22:38:53 +0200

Hi. Please look below calculation, it is ok?

interface FastEthernet0/20
 srr-queue bandwidth share 1 1 7 3
 srr-queue bandwidth shape 4 4 0 0
 mls qos trust dscp

       Q1 Q2 Q3 Q4
shape 4 4 0 0
share 1 1 7 3
       = 4 4 7 3

Q1 = 4 -> 4/(4+4+7+3)=4/18 of full bandwidth(100Mb) = 22,22Mb ->
4/18*100Mb=22,22Mb
Q2 = 4 -> 4/(4+4+7+3)=4/18 of full bandwidth(100Mb) = 22,22Mb ->
4/18*100Mb=22,22Mb
Q3 = 7 -> 7/(4+4+7+3)=7/18 of full bandwidth(100Mb) = 38,88Mb ->
7/18*100Mb=38,88Mb
Q4 = 3 -> 3/(4+4+7+3)=3/18 of full bandwidth(100Mb) = 16,66Mb ->
3/18*100Mb=16,66Mb
                
                   =99,98Mb
When Q3 and Q4 will have free bandwidth, can exchange it when they need.
If Q4 is empty = 0 -> Q3 will have 38,88Mb+16,66Mb=55,54Mb
If Q3 is empty = 0 -> Q4 will have 16,66Mb+38,88Mb=55,54Mb

-- 
Krzysiek
Blogs and organic groups at http://www.ccie.net
Received on Fri May 03 2013 - 22:38:53 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 03 2013 - 06:34:34 ART