[rrd-developers] rrdtool 1.3 cairo switch is done

Dylan Vanderhoof DylanV at semaphore.com
Sat Jun 16 20:12:03 CEST 2007


Hmm.  Clearing out the SVN directory and redoing it from scratch gave me
much closer results:

denver bin # time rrdtool fetch ~/test.rrd AVERAGE > ~/out

real    0m0.005s
user    0m0.010s
sys     0m0.000s
denver bin # time ./rrdtool fetch ~/test2.rrd AVERAGE > ~/out2

real    0m0.007s
user    0m0.010s
sys     0m0.000s

The 1.3 rrdtool is still slower, but not by much (those times are
repeatable).

I've attached an strace anyways in case its enlightening.  (FWIW, box is
a dual 3Ghz P4 Xeon w/ HT enabled, and has 1G RAM total, w/ about 364M
free)

-D

> -----Original Message-----
> From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com]
> Sent: Saturday, June 16, 2007 3:06 AM
> To: Dylan Vanderhoof
> Cc: rrd-developers at lists.oetiker.ch
> Subject: Re: [rrd-developers] rrdtool 1.3 cairo switch is done
> 
> On Sat, Jun 16, 2007 at 11:48:09AM +0200, Bernhard Fischer wrote:
> >On Fri, Jun 15, 2007 at 12:31:34PM -0700, Dylan Vanderhoof wrote:
> >>I figured that's why it wasn't the default, but removing it had no
> >>effect on rrdtool performance, I was just playing with options.
> >>
> >>I'm still seeing approximatly half the performance from trunk than I
am
> >>1.2.23 + fadvise.  (For fetch.  graph is about 1/3 the speed with
trunk)
> >>I'll without mmap when I get a chance to see if that's part of the
> >>issue.
> >>
> >>(FWIW, this is on linux 2.4.32, I haven't had a chance to test it on
a
> >>2.6.X server yet)
> >
> >Just to be sure, run make clean and then configure with mmap again
> >(don't forget a make install). Can you send the logfile created by
> >strace -s4096 -o /tmp/rrdtool-trunk.mmap.1.log /there/rrdtool ...
> >
> >You are using pristine trunk, without any additional patches, right?
> >What revision are you using (i assume you're on i386)?
> 
> Hm. How fast is your CPU and how much RAM does that box have?
> Note that i'm just interrested in the fetch part for now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-trunk.mmap.1.log
Type: application/octet-stream
Size: 88330 bytes
Desc: rrdtool-trunk.mmap.1.log
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070616/489f599f/attachment-0001.obj 


More information about the rrd-developers mailing list