[rrd-developers] rrdtool 1.3 cairo switch is done

Bernhard Fischer rep.dot.nop at gmail.com
Tue Aug 21 21:42:34 CEST 2007


On Tue, Aug 21, 2007 at 12:23:34PM -0700, Dylan Vanderhoof wrote:
>Wow, I sent this over a month ago.
>
>My exchange server apparently sucks.  (Big surprise there)

:P

Can you send the strace output mentioned below (in bz2 to me privately
if it is too big)?

cheers,
>
>-D
>
>> -----Original Message-----
>> From: Dylan Vanderhoof 
>> Sent: Saturday, June 16, 2007 11:12 AM
>> To: Bernhard Fischer
>> Cc: rrd-developers at lists.oetiker.ch
>> Subject: Re: [rrd-developers] rrdtool 1.3 cairo switch is done
>> 
>> 
>> 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.
>> 
>
>_______________________________________________
>rrd-developers mailing list
>rrd-developers at lists.oetiker.ch
>https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>



More information about the rrd-developers mailing list