[Yum-devel] [PATCH] Delta and global FileRequires Resolving
Florian Festi
ffesti at redhat.com
Wed Mar 21 08:37:00 UTC 2007
seth vidal wrote:
> On Tue, 2007-03-20 at 20:56 +0100, Terje Røsten wrote:
>> Florian Festi
>>> On my PC "echo n |yum update" is now appr. 100% faster when trying
>>> to update 60 pkgs. Larger and more complicated cases or packages with
>>> lots of files may gain even more.
>>>
>> I get 4:30 and 19:15, for 63 packages in 114 MB. Better, but not there
>> yet...
>>
>> BTW:
>>
>> Can someone explain how the new depsolver works?
>>
>
> The choice is:
> iterate all the files per-package
> or
> download the filelists xml/db for any update.
>
> it's a tradeoff of speed vs bandwidth. I was talking to jeremy about
> this after you posted this and I'm going to put back the downloading of
> filelists. Just to see how much of a dent we can make on update
> depsolving.
Where are you going to take the files per package from if you don't load the
filelist and no longer download the package headers?
In fact you don't need to load the filelist every time if you check the file
requires that way. The file requires in the rpmdb are resolved by the rpmdb
itself or ignored and if the new packages don't need files that are not
installed everything is fine. May be we need to weak our searching a bit to
actually get rid of the filelist loading.
Florian
More information about the Yum-devel
mailing list