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

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

Re: [Gnu-arch-users] Slow inventories on large source trees


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Slow inventories on large source trees
Date: Wed, 21 Apr 2004 12:48:55 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)

According to gprof, it's spending 78% of its time doing regex matching in filename_matches. The lion's share of that is in mem_set0, but you've got to consider that it's doing 9 hundred thousand calls.

It's calling filename_matches 89750 times -- about 21 times per file in the Wine tree, so I suspect that can be reduced, hopefully to single digits.

Otherwise, we'd have to speed up regex matching.

Aaron

Mike Hearn wrote:
Hi,

On the WineHQ source tree, with an in-tree build, doing tla inventory
--ids >/dev/null takes approximately 20 seconds on my athlon 1200 with
256mb of ram.

This makes certain operations extremely slow, and this is problematic for
us (the Wine developers thinking of adopting arch).

The total source tree when a complete build has been done is approximately
560mb of data.

I haven't tested with an out-of-tree build - while I suspect performance
would be better, I'm really not sure we want to ask everyone to do
out-of-tree builds to work around this slowness in arch.

Are there any ideas for how to optimize this? The CVS gateway tree is
using names tagging, though a real switch to arch would be using explicit
tags in future.

thanks -mike



_______________________________________________
Gnu-arch-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

--
Aaron Bentley
Director of Technology
Panometrics, Inc.




reply via email to

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