[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-developers
Subject:    Re: [rrd-developers] rrdtool 1.3 cairo switch is done
From:       "Dylan Vanderhoof" <DylanV () semaphore ! com>
Date:       2007-06-16 18:12:21
Message-ID: F6F72F553C7E754A945CB88CD8804B42CBC844 () exchange01 ! semaphore ! lan
[Download RAW message or body]

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@gmail.com]
> Sent: Saturday, June 16, 2007 3:06 AM
> To: Dylan Vanderhoof
> Cc: rrd-developers@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.

["rrdtool-trunk.mmap.1.log" (application/octet-stream)]

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic