[rrd-users] Re: rrdtool graph slow on some columns
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Sep 22 04:20:22 MEST 2005
On Wed, Sep 21, 2005 at 07:51:57PM -0500, christian smyth wrote:
I've copied the data and performed some tests myself.
The problem seems to be in the amount of detail on the Y-axis. When I
run your data through a for-next loop, using both of your graph commands,
I to see a huge difference. I got times between 0.6 and 12.1 seconds.
Then I tried something, I added a CDEF to the scripts, effectively destroying
your data and plotting some random value.
costs about 0.6 seconds (on my slow computer this was as fast as it gets) and
took twice as much time (still not very much).
Really interesting was:
which I amost aborted because it took so much time (56 second per graph).
So, as the difference on the Y-axis seems to be important, I tried this:
which didn't have the impact I expected it to have (none, to be precise).
However, the following did work:
About 0.6 to 0.65 seconds is not bad, certainly not when compared to 12.
Christian, please try that yourself. Of course you need to graph val2, not val1.
You could save some extra cpu cycles by changing "1024,1024,*" into 1048576 or
1024000 (whichever is appropriate for you).
Tobi, seems to me a function such as apply_gridfit() may be the cause?
I really should be doing other things right now so this will be it for today.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users