Mailinglist Archive: opensuse-packaging (139 mails)

< Previous Next >
Re: [opensuse-packaging] New rpm in beta
  • From: Jean Delvare <jdelvare@xxxxxxx>
  • Date: Mon, 17 Mar 2008 09:35:27 +0100
  • Message-id: <200803170935.27352.jdelvare@xxxxxxx>
Hi Stephan,

Le dimanche 16 mars 2008, Stephan Kulow a écrit :
Am Freitag, 14. März 2008 schrieb Stephan Kulow:
Am Donnerstag 13 März 2008 schrieb Stephan Kulow:
Hi,

If you see build failures in beta, then this is due me trying to
program C - i.e. support lzma payload in rpm. It's only in BETA.

OK, beta is through (after several adoptions in build system for that
new payload) and this is a tar of the packages on the current kde cd
built with bzip -9 payload and lzma -2 payload:

-rw-r--r-- 1 coolo suse 547M 14. Mär 10:44 bzip.tar
-rw-r--r-- 1 coolo suse 491M 14. Mär 10:47 lzma.tar
-rw-r--r-- 1 coolo suse 447M 16. Mär 10:13 lzma5.tar

lzma -2 compresses 11% better than bzip -9, lzma -5 even 18%

And at a pretty impressive price:

2008-03-12 20:41:28: built kernel-source in 4 + 43 + 182 s
2008-03-13 22:03:23: built kernel-source in 5 + 43 + 195 s

-> switching from lzma -2 to lzma -5

2008-03-15 05:32:50: built kernel-source in 14 + 50 + 469 s
2008-03-15 18:35:51: built kernel-source in 7 + 42 + 465 s

Could be bad luck too of course - especially as the setup times
increased too, which is very weired taking my previous measurements
with lzma - perhaps the host (the same all the time) was
busy.

For this kind of performance test, you are better using "time" so
that you know how much CPU time was used rather than comparing
wallclock differences which may not be relevant.

Another key value is installation time. If lzma5 is significantly
slower to decompress, this will increase the installation time of
our products, which we probably don't want to happen. But if (as I
expect) lzma5 is faster to decompress then it's probably worth the
extra compression cost, at least for 1-CD distributions where we're
always short on media space.

I guess we could keep bzip2 compression for STABLE and BETA if
lzma5 is too expensive, and use lzma5 only for released products
which (I gratuitously suppose) see less package rebuilds.

--
Jean Delvare
Suse L3
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References