[Yum-devel] yum on an olpc machine (slooooooooooow)

seth vidal skvidal at linux.duke.edu
Thu Dec 21 07:25:11 UTC 2006


On Mon, 2006-12-18 at 09:33 +0200, Panu Matilainen wrote:

> The overall repodata size could be cut down somewhat by at least couple of 
> ways:
> - Drop the filenames redundancy from primary.xml. It's going to require
>    of course the full filelists file to be downloaded at all times (diffs
>    would help a lot of course), but that's what apt and smart need to do
>    anyway (because both calculate full dependency tree at all times). Only
>    yum benefits from the primary.xml stuff to some extent, and sooner or
>    later it needs the full filelists too.

We're punishing low bandwidth clients more, then, by requiring they
download all of filelists to do anything.

> - other.xml is not typically loaded, but it could be made quite a bit
>    smaller by storing the changelogs just once by source rpm. The
>    difference is *huge* - eg FC6 SRPMS/repodata/other.xml.gz is roughly ~2M,
>    but ~6M for i386 and ~8M for x86_64. With that kind of size savings
>    somebody might even want to use it for something :)

I see what you mean here, but I'm not sure how that's possible w/o a lot
of substantial changes in how we look up changelogs. Not impossible,
just invasive, I think.


-sv





More information about the Yum-devel mailing list