Re: These new diffs are great, but...
On Thu, Jun 29, 2006 at 09:35:09PM +0200, Bastian Venthur wrote:
> Steinar H. Gunderson wrote:
> > On Thu, Jun 29, 2006 at 09:15:13PM +0200, Bastian Venthur wrote:
> >> Same here. Very annoying on a box where you only update every few weeks
> >> or something. Wouldn't it be possible to make snapshots every week and
> >> only pdiff from this snapshot?
> > You can turn off pdiffs if you'd like to; the old packages files are still
> > there. The question here is what to do with the default.
> Ah ok, I was not aware of this feature. But since downloading pdiffs of
> > x days might in fact result in a larger download than downloading the
> package-files directly, aptitude (or apt-get) should decide
> automatically when to use pdiffs and when not.
> Someone could make stats to calculate the average day-count x when the
> summ of the pdiffs becomes larger that the package-files. Then aptitude
> (or apt-get) could decide whether the last update is more than x days
> away and decide what to use.
You don't need stats for that, the Packages.diff/Index has the
size in it.
But what I don't get is that it seems to be downloading every
file more than once. It atleast looks to be downloading twice as
files as it should, but it more looks like it's downloading the
same file 3 times if I look at the sizes.