On Tue, 2007-05-15 at 16:10 -0400, Jeremy Katz wrote:
> As it currently stands in HEAD, we end up downloading the filelists on
> essentially every upgrade.  This adds about 6 MB to what needs to be
> downloaded (to the 3 for primary) which is going to really hurt for
> people on lower speed connections.
> 
> Previously, we had switched to lazily grabbing it but it came at a
> significant cost on depsolving speed (400% of time).  This patch still
> has a little hit (it's running at 120% of the time without the change),
> but that seems to be a bit better of a trade-off to avoid downloading
> the 6 meg filelists in most cases.
> 
> The basic idea is that we have a lot of file information stored in
> primary.xml (and sqlite); so add a way to get at that information and
> use it rather than the full filelist when doing the quick checks.
> 
> Tested with a current rawhide update[1] with only the above impact.
> 
> Jeremy
> 
> [1] Minus the things which pull in filelists.  grr.  A few bugs are
> being filed to cut down on the common things that are going to trigger
> this

I'm being a bit dense, I think. Where does this patch end up checking
all the file provides? It looks like it only every checks simpleFiles()
which is only ever from primary. Is there more to this that I'm missing
b/c it seems like we're dropping all of the other files from the
provides search in the depsolve?

-sv


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to