[rrd-users] Re: RRDTool v1.2 Performance

Tobias Oetiker oetiker at ee.ethz.ch
Tue May 24 07:59:52 MEST 2005


Hi Kennedy,

in rrdtool examples there is a test program called rrd-pipedemo.pl
or so ... run this to see how many graphs it can create per seconds
... if I run with -O3 optimized libraries I get about 3.5 graphs a
second ... this is unfortunately much slower than 1.0.x most time
seems to be spent in libart and libpng and libz ...

I have done a number of optimisations for the latest versions, so
you should make sure to use 1.2.8 at least

any input on this is very welcome ...

cheers
tobi


> Hi Everyone,
>
> I have been experimenting with RRDTool v1.2 and Smokeping v2.0rc4 (I
> wasn't sure if this was better on the RRDTool or Smokeping list -- but
> I'm pretty sure it has more to do with RRDTool).  We are running this
> on a fairly old Sun Sparc (dual 64-bit 400 Mhz machines, 2 GB RAM)
> running Solaris 8.  I was previously running RRDTool 1.0.49 and
> Smokeping v1.41 -- it it wasn't as good as I'm used to on cheap,
> modern Intel boxes running Linux, but it wasn't bad.  Now, with
> RRDTool v1.2 and Smokeping v2.0, things have really slowed down.
>
> I added a couple of lines of code above and below the call to
> RRDs::graph in line 880 of /lib/Smokeping.pm (at least it's line 880
> in Smokeping v 1.41) to use the Time::HiRes perl module to show me how
> long the RRDS::graph call takes.  Here is a comparison of the times we
> are getting:
>
>   RRDTool v1.2:        10.87 seconds per call (avg across 12 graphs)
>   RRDTool v1.0.49:    1.51 seconds per call (avg across 12 graphs)
>
> These are per-call times to draw a 4-hour Smokeping detail graph (an
> average of calling it 12 different times on each version).  As the
> graphs begin to get full of data, the Smokeping detail pages are
> taking almost a minute to render (5 x 11 seconds) under v1.2. :-(
>
> Has anyone else done any comparisons between RRDTool v1.2 and v1.0?
> Are my results off (IOW, is something messed up with my installation
> of v1.2)?  Any suggestions for improving the speed of v1.2?
>
> Thanks!
> Kennedy
>
> --
> 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://lists.ee.ethz.ch/rrd-users
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list