[rrd-users] Re: Limit on DS values? 32 bits? 64 bits?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Jun 6 01:04:09 MEST 2001


Ambles Kock wrote:

> What is the largest values to update a DS? In the RRD webpage, it briefly
> covered about doing something special for SNMP 64 bits values. What about if
> I am no using SNMP, can I still update the RRD with 64 bits values?

RRDtool works with "double" type of numbers.  This means that the
maximum value is probably never reached.  I'm not sure if this is
dependent on architecture and/or OS, but here's what I found as
maximum:  1.79769313486231470e+308
It probably is dependent on the architecture, however it will be
a very large number in any case.  My C-referency guide tells me
double ranges from 1.7E-308 to 1.7E+308  (I think this is wrong,
they probably should say -(1.7E+308) to 1.7E+308).

More important here is the resolution.  The IEEE standard dictates
at least 15 significant digits.

Thus, there will be no difference between 1.79769313486231470e+308
and 1.79769313486231470e+308 +1

64-bit counters reach from -9223372036854775808 to 9223372036854775807
and may therefore suffer from a loss in resolution when ***very***
high numbers are input.  In practice however you will not encounter
this limit.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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: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