[rrd-users] rrd file sizes

Mike Johnson mike at quick.co.jp
Tue Feb 6 17:34:27 CET 2007

I've just started using rrdtool to create traffic graphs for some routers.
It seems to be working, the graphs are all the shape I expect, but the file
sizes seem to be wrong.

I store all the data for the interfaces of one router in one file, and only
for 1 day to start with. The file sizes I'm getting are:

For 1 value the file size is 12k,
For 2 values the file size is 47k, (should this be only 24k ?)
For 4 values the file size is 183k, (48k ?)
For 22 values the file size is 5,491k (264k ?)
For 54 values the file size is 35M (648k ?)
And for 132 values the file size is 197M (1584k ?)

To create the file I use strings like this, just longer for more interfaces:

create <fn> -s 60 DS:Ping:GAUGE:120:0:U RRA:MAX:0.5:1:1440

create <fn> 
  -s 60 DS:InOctets0:DERIVE:120:0:U RRA:MAX:0.5:1:1440
  -s 60 DS:OutOctets0:DERIVE:120:0:U RRA:MAX:0.5:1:1440
  -s 60 DS:InOctets1:DERIVE:120:0:U RRA:MAX:0.5:1:1440
  -s 60 DS:OutOctets1:DERIVE:120:0:U RRA:MAX:0.5:1:1440

I'm using Windows and version 1.2.15 of rrdtool.

Have I got the create wrong ? I've read the help several times but I'm not
sure I understand it all.


More information about the rrd-users mailing list