Re: A simple request (was Re: boring BK stats)

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Fri Oct 11 2002 - 09:08:28 EST


On Fri, Oct 11, 2002 at 03:35:38PM +0200, Rogier Wolff wrote:
> On Thu, Oct 10, 2002 at 07:28:18AM -0700, Larry McVoy wrote:
> > > The laptop has 200MB RAM, and mozilla and a ton of xterms loaded. IDE
> > > drives w/ Intel PIIX4 controller. The Dual Athlon has 512MB RAM, and I
> > > forget what kind of IDE controller -- I think AMD. IDE drives as well.
> > >
> > > BitKeeper must scan the entire tree when doing a checkin or checkout, so
>
> [...]
>
> > In low memory situations you really want to run the tree compressed.
> > ON a fast machine do a "bk -r admin -Z" and then clone that onto your
> > laptop. I think that will drop the tree to about 145MB which will
> > help, maybe. I suspect that you use enough of the rest of your 200MB
> > that it still won't fit.
>
> [...]
> > There is only so much we can do when you are trying to cram 10 pounds of
> > crap in a 5 pound bag :(
>
> The reason that one or two years ago my "diff+multiple trees" beat
> bitkeeper on the performance front was that diff would only touch
> inode-metadata, and not the files themselves. You can cache the
> file-metadata (inodes) of a 200M tree in a couple of megabytes of RAM.

Jeff:

The trick is that I would have hardlinked trees. Thus

        linux-2.2.18.clean/drivers/char/tty_ioctl.c
and
        linux-2.2.18.rio/drivers/char/tty_ioctl.c

would have the same inode number, and diff wouldn't even bother to
open the file....

                                Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* The Worlds Ecosystem is a stable system. Stable systems may experience *
* excursions from the stable situation. We are currenly in such an       * 
* excursion: The stable situation does not include humans. ***************
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST