On Sun, May 07, 2006 at 05:20:06PM -0400, Daniel Jacobowitz
wrote:
> On Sun, May 07, 2006 at 11:04:07PM +0200, Michael
Haggerty wrote:
> > These changes are only on my little experimental
branch. I made these
> > changes primarily to make experimentation easier.
I would like to defer
> > thoughts about optimization until later.
> >
i didn't mean optimization (rather the opposite). passes
should be
repeatable, so one doesn't have to start from scratch if
one screws up.
> > But anyway, in my (1.5 minute) tests,
CollectRevsPass is more than an
> > order of magnitude faster than OutputPass. Is the
situation different
> > for huge repositories? If not, then I think we
can afford a little bit
> > of slowdown in CollectRevsPass, no?
>
> Well, here's some slightly old numbers (a few weeks):
>
> pass 1: 218 seconds
> pass 2: 30 seconds
> pass 3: 1 second
> pass 4: 116 seconds
> pass 5: 237 seconds
> pass 6: 17 seconds
> pass 7: 12 seconds
> pass 8: 14226 seconds
> total: 14860 seconds
>
> I'd expect that to be about typical. Of course, the
KDE patches
> probably make this profile look rather different, with
lower
> overhead for creating plaintexts. But I wouldn't
expect the overall
> shape to change.
>
err, no. due to pass1 having to store the inverted patches,
it becomes
significantly slower (a few times as long, iirc). and pass8
is halfed,
of course. the order of magnitude then actually fits, but
wasting half
an hour for repeating pass1 because pass4 screwed up still
sucks.
> Doesn't modifying entries in a BDB file have fairly
bad space behavior?
>
i have no idea ... bdb generally has pretty bad space
behavior (25%
overhead, iirc). i definitely found storing tiny files in
reiserfs more
efficient than bdb - and it scales far better.
--
Hi! I'm a .signature virus! Copy me into your ~/.signature,
please!
--
Chaos, panic, and disorder - my work here is done.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe cvs2svn.tigris.org
For additional commands, e-mail: dev-help cvs2svn.tigris.org
|