On Mon, 17 Aug 2009 21:10:51 +0200
Tom Cooksey <[email protected]> wrote:

> Is it common for "Building dependency list..." to take several
> minutes? Neither my laptop nor my work PC have particularly fast disks
> and the command seems to thrash them. I used to have a colleague who
> told be switching away from ext3 helped speed things up a lot (He
> switched to Reiser4). But even after switching to jfs (which I believe
> is quick to stat?) I've not seen much improvement?

It isn't just stat calls. It needs to read the full metadata for each
package in order to resolve what needs to be done. This is just an IO
bound operation, and there isn't much to be done about it. You can't
cache the dependency lists, because they are different for every
requested action, use flag configuration, etc.

However, just the metadata cache alone gives a noticeable improvement
over not having it. Without the metadata cache, every ebuild file must
be sourced to determine its DEPEND, etc.

Recent scm versions of paludis (from around mid-July onward) will try to
give you a bit of an indication as to what it's doing during this
dependency calculation phase. But, there's not much to be done to speed
it up without sacrificing correctness or utility.

So, I guess the answer is... get faster disks, or be patient. And maybe
try out paludis-scm to verify that it's doing what I said it is.

-- 
Mike Kelly
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to