From: Jared Scrivener (jscrivener@ipexpert.com)
Date: Fri Jan 02 2009 - 15:00:52 ARST
There's one extra thing to take into account here which is the assumption
that the Access Rate (AR) is the same as the Peak Information Rate (PIR).
For a 2 color policer (as you're discussing) that would be accurate.
Occasionally there will be a 3 color policer (normally when a service
provider wants to give you a service provisioned with a fast Layer 2
technology like Ethernet). An example could be an AR of 100mbps for Ethernet
where the CIR is 2mbps and the PIR is 5mbps. In that case, replace the PIR
into the formula Scott provided where he refers to the AR.
Bc is the amount of data per Tc to get to the CIR, Be becomes the amount of
data per Tc to get to the PIR and anything above the PIR is considered to
violate the policy.
I just thought I'd throw that out there in case it helps.
Cheers,
Jared Scrivener CCIE3 #16983 (R&S, Security, SP), CISSP
Technical Instructor - IPexpert, Inc.
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
Mailto: jscrivener@ipexpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Scott Morris
Sent: Friday, 2 January 2009 10:21 AM
To: 'CiSco Champ'
Cc: ccielab@groupstudy.com
Subject: RE: QOS Formulas
AR is 768k which is purely informational, or for us to give our max values.
So let's look at 768000. Then look at the Tc we want to use (125ms or
1/8sec). 768000 / 8 = 96000. That means that AT the AR (max value) you can
send 96000 bits per Tc. So if your Be is equal to the max @ AR, then you'll
have problems. Once you define your Bc, you SUBTRACT it from the max
allowed.
At AR, max bits per Tc is 96000. Minus the 48000 for Bc defined, that
leaves you a maximum of 48000 leftover without causing mathematical issues.
HTH,
Scott
From: CiSco Champ [mailto:cischamp2009@gmail.com]
Sent: Friday, January 02, 2009 9:41 AM
To: smorris@internetworkexpert.com
Cc: ccielab@groupstudy.com
Subject: Re: QOS Formulas
Sorry may be i am confusing but see AR is 768000 and CIR is 384000 so Bc =
48000. assume Be 96000 per interval so it will try to burst upto AR not more
then that. means 384000 x 2. how you write 384000 x 3 ?
Regards
On Fri, Jan 2, 2009 at 6:24 PM, Scott Morris
<smorris@internetworkexpert.com> wrote:
That Be would be wrong. In the rate-limit policer, the excess-burst is
INCLUSIVE of normal-burst (so overlapping values) but in traffic shaping
they are ADDITIVE values.
So with Bc 48000 and Be 96000, then the AR will be presumed (attempted by
the router) to be 384000 x 3, or 1,152,000bps.
You'll run into problems (output drops) as the router tries to cram 1.1M
worth of traffic through a .7M circuit. :) But it wil try!
Scott
From: CiSco Champ [mailto:cischamp2009@gmail.com]
Sent: Friday, January 02, 2009 8:40 AM
To: smorris@internetworkexpert.com
Cc: ccielab@groupstudy.com
Subject: Re: QOS Formulas
Thanks Scott, well explained the concept behind that. So when ever i need to
calculate bc and be for traffic shaping i will use
Bc = CIR * Tc/1000 and to calculate Be is Be = (AR - CIR) * Tc/1000
and calculation for rate limit will be with below formulas
normal burst = configured rate * (1 byte)/(8 bits) * 1.5 seconds
extended burst = 2 * normal burst
I am confuse because i feel like anyone of two formulas to calculate Bc can
be used for taffic shaping based on task requirement and vice virsa.
In an example of a workbook
AR = 768000bps
CIR = 384000bps
Tc = 125ms
so Bc = CIR x Tc/1000 = 48000
and Be = (AR-CIR) x Tc/1000 = 48000
but in his calculation Be = 96000, it means he used rate-limit formula i,e,
Be = 2 x Normal Burst
Please correct me.
Regards
On Fri, Jan 2, 2009 at 5:12 PM, Scott Morris
<smorris@internetworkexpert.com> wrote:
The rate-limit command isn't tied to a time interval in the same fashion
that traffic-shaping it. In traffic shaping, your CIR and Bc are used to
derive the interval (moving target).
In the rate-limit command, samples are taken every one second and averaged
over a 5-second period of time. So it's more of a statistical analysis than
any interval-based specific function.
HTH,
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
CiSco Champ
Sent: Friday, January 02, 2009 6:33 AM
To: ccielab@groupstudy.com
Subject: QOS Formulas
Hi,
Qos parameters calculation like Bc and Be, are there different formulas to
calculate for FRTS and rate-limit. I am confused like one formula to
calculate Bc is
Bc = CIR * Tc/1000 and to calculate Be is Be = (AR - CIR) * Tc/1000
other formula i can see on cisco doc is
normal burst = configured rate * (1 byte)/(8 bits) * 1.5 seconds
extended burst = 2 * normal burst
Can somene explain when to use one and when other formula, I really
appreciate
Regards
Blogs and organic groups at http://www.ccie.net <http://www.ccie.net/>
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:36 ARST