Anuj wrote:

> Problem Description: 
> I have MRTG running in my network and it is measuring the traffic on WAN 
> interfaces of the cisco 7200 series router.
> Just after the Ethernet port of the router we have deployed PacketShaper 
> bandwidth management/shaping device.
> I can get the bandwidth utilization reports form PacketShaper as well as MRTG.
> The main problem is that the Peak Utilization reports from both are not 
> matching.
> I have got the following document from the PacketShaper site regarding the 
> measurement technique:

[...]

> For all Packetwise enabled devices, for both current and peak rate 
> calculations, we use a proprietary algorithm (EWMA) - exponential weighted 
> moving average. The interval for the EWMA is approximately one second.
> 
> For average rate, we use EWMA to get the average rate for that second. We 
> take x samples during that second and use EWMA to get the average for that 
> second. We calculate the average rate for 1 minute interval using EWMA on all 
> one second data. For intervals longer than 1 minute, the Average Rate is 
> calculated by applying the EWMA formula to the 1 minute averages. So the 
> average rate always remains the average during the interval.

Keywords: proprietary, interval ... one second, ...take x samples during that 
second ...

MRTG has an entirely different sampling interval, its main use is average rates.
MRTG takes two samples, 5 minutes apart, and calculates the average.  There's no
way that MRTG can know about one-second intervals (without hacking it).

Measuring multiple times in one second is something you do not want
to try over the network, you need hardware for this.  The resulting
numbers can then be transfered over the network.

HTH
-- 
   __________________________________________________________________
 / [EMAIL PROTECTED]                  [EMAIL PROTECTED] \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers

Reply via email to