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

Bug#671440: detect when just getting a new Packages file would be faster than the pdiffs



jidanni@jidanni.org writes:

> Package: apt
> Version: 0.9.2
> Severity: wishlist
>
> Maybe there should be a mechanism to detect when just getting a fresh
> Packages file would be faster than all the pdiffs, seen here after
> returning from a one week vacation:

No. Or rather the pdiff mechanism should be fixed to fetch all the
needed pdiff files concurrently and apply them in a single
pass. Alternatively the pdiff files could just not be made incremental
but that would modify them all on every update.


For a solution that works now:

Acquire::PDiffs::FileLimit "4"; // don't use diffs if we would need more than 4 diffs

You might argue about setting a suitable default for this based on
common network / cpu speeds.

MfG
        Goswin



Reply to: