gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [PATCH] arch speedups on big trees


From: Tom Lord
Subject: Re: [Gnu-arch-users] [PATCH] arch speedups on big trees
Date: Wed, 28 Jan 2004 15:15:03 -0800 (PST)

    > From: Chris Mason <address@hidden>

    > snapping the inode sig is pretty expensive right now,

It would be helpful to know why.

For a tagline tree using mostly embedded tags, it should be little
more than the cost of a traversal plus the cost of writing the
signature file.

As I said, for a tree using lots of _explicit_ tags, you currently
have to add in the cost of reading all of the .id files, roughly twice
each.

The existing inode signature/id-cache optimizations can be generalized
to avoid having to read all of those .id files.

My best guess continues to be that you want to generalize the existing
optimizations that way first (to avoid reading .id files), before
worrying too much about eliminating traversals or whether or not it's
possible/practical to do partial traversals.


-t





reply via email to

[Prev in Thread] Current Thread [Next in Thread]