[pacman-dev] [PATCH] pkgdelta: use highest compression ratio when creating deltas with xdelta3
matthias.krueger at famsik.de
Wed Mar 5 19:45:13 EST 2014
On 03/06/2014 01:14 AM, Matthias Krüger wrote:
> On 03/06/2014 12:33 AM, Allan McRae wrote:
>> On 06/03/14 09:25, Matthias Krüger wrote:
>>> Looking how pkgdelta works, I found this line
>>> xdelta3 -q -f -s "$oldfile" "$newfile" "$deltafile" || ret=$?
>>> which seemed to be responsible for the actual delta generation, however
>>> man xdelta3
>>> revealed that there were different compression levels (0-9) (not sure
>>> which one is default).
>>> To make it short, we could have had smaller deltas since pkgdelta was
>>> -9 16660K
>>> default 17832K
>>> -9 504K xbmc-12.3-10_to_12.3-11-x86_64.delta
>>> default 572K xbmc-12.3-10_to_12.3-11-x86_64.delta
>> How is memory usage changed? Mainly when regenerating the package from
> Surprisingly, for blender both runs took ~96MB and 1:50m (+- a second).
Mmh, just to clear out potential misunderstanding: both runs =
decompression of normal and -9-compressed delta.
Compression ate around 140M and ~16s for normal, and 236M and ~26s for
More information about the pacman-dev