[rrd-users] Re: Problem with max when summing two values

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Jul 16 22:36:55 MEST 2003


On Wed, Jul 16, 2003 at 04:22:59PM -0400, Erik A. Dahl wrote:

> max:41.44M
> max:21.64M
> max:21.97M
> 
> 21.64 + 21.97 = 43.61 != 41.44
> 
> Any thoughts?  I have moved the end time back before the last poll so 
> that my DEFs aren't getting the last unknown value.

There's no reason to assume the peaks occured at the same time, hence
you cannot sum them and expect the total to be at 43.61


range1:   1,2,3,4,5,6,7      max==7
range2:   7,6,5,4,3,2,1      max==7
----------------------- sum
          8,8,8,8,8,8,8      max==8


max(range1)+max(range2) == 14 != 8

HTH
Alex
-- 
Received on my linux server: "Increase the speed of your PC in minutes! Stop
windows from crashing, improve internet security and optimize your computers
performance with just a few easy mouse clicks!"

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list