Mailinglist Archive: zypp-devel (78 mails)

< Previous Next >
Re: [zypp-devel] libzypp for openSUSE 11.0
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Mon, 5 Nov 2007 16:56:58 +0100
  • Message-id: <200711051657.00239.dmacvicar@xxxxxxx>
On Monday 05 November 2007 16:36:58 Klaus Kaempf wrote:
Do we have hard numbers about how much of a package's metadata
actually changes between rebuilds ?

Usually, a lot of metadata changes only very slowly, like summary,
description, changelog, dependencies, etc. Only checksum and release
number have a high change frequency in Factory.

Block-wise syncing is certainly one approach, grouping metadata pieces
into blocks of high change (checksums, release numbers) and low change
(summary, description) might be worth investigation.

with YUM Factory was only worth to zsync for one rebuild, after 1 rebuild was
minimal gain, and 4 days later it was pretty useless.

It is easy to regenerate them with any new type of metadata, zsync is in my
OBS home: and you can generate the metadata for one file, then wait, apply
the zsync metadata to a new one and seeing how many blocks apply, wait, and
repeat).

Of course you can control also the block size, that could affect XML results,
smaller block checksum can perhaps capture xml descriptions but also makes
the zsync metadata to grow, as you have more blocks.

The best would be first to design the ideal way to store things, and then to
repeat zsync experiments and find the optimal block size.

Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >