According to Joe R. Jah:
> On Mon, 30 Apr 2001, Gilles Detillieux wrote:
> > According to Alexander Cohen:
> > > > With different versions of htdig:
> > > >
> > > > 3.1.5           11 Minutes
> > > > 3.2.0b3         9 1/2 hours
> > > > 3.2.0b4-031201  29 hours and 20 minutes
> > > > 3.2.0b4-040801  > 12 days
> > > 
> > > Is it just me or there a pattern developing here? ;]
> > 
> > There sure seems to be, but we're nowhere closer to knowing why this is
> > happening.  It doesn't seem to be an issue with any systems other than
> > BSDI.  Some profiling, to know where htdig is spending its time, could be
> > quite helpful.  Joe, is there any possibility you could figure out how to
> > compile the code on your system with profiling enabled, to get some stats
> > on this?
> 
> OK, I compiled htdig-3.2.0b3 with profiling enabled and randig.  Here are
> the stats:
> ___________________________________________________
> htdig: Start Digging: Mon May 7 08:56:50 PDT 2001
> htpurge: Start Purging: Mon May 7 09:57:16 PDT 2001
> htmerge: Start Merging: Mon May 7 09:58:09 PDT 2001
> rundig: End time: Mon May 7 09:58:10 PDT 2001

So now you're back down to just over an hour of indexing time, which doesn't
seem that outlandish.  It is still 4 times slower than 3.1.5, though, so it
would be helpful to know where it's spending most of its time.

> And attached is the gziped profile created by gprof.

You gave us the gmon.out file, which is pretty much useless on any
system other than yours.  It needs to be run through gprof, along with
your htdig binary, to get a listing of where htdig is spending its time.
Make sure your gmon.out is from htdig, though, and not from htmerge, as
it's htdig that is taking a really long time.  I think if you simply run
"rundig", then when htmerge starts after htdig finishes, htmerge will
overwrite htdig's gmon.out with its own.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to