Ktoś mi to może wytłumaczy...

Tomasz Wittner lists w mmt.pl
Sob, 31 Lip 2004, 00:41:40 CEST


On Saturday 31 of July 2004 00:02, Mariusz Mazur wrote:
> Znalezione na rpm-list.
>
> ----------  Forwarded Message  ----------
>
> Subject: Re: rpm: bzip2 compressed payload
> Date: piątek 30 lipiec 2004 17:18
> From: Jeff Johnson <jbj w redhat.com>
> To: RPM Package Manager <rpm-list w redhat.com>
>
> On Wed, Jul 28, 2004 at 12:36:50PM -0700, Wichmann, Mats D wrote:
> > Can anyone tell me under what circumstances
> > bzip2 is chosen to compress the payload?
>
> bzip2 is chosen if configured in the build system.
>
> I have never ever seen a package released with a bzip2
> payload, mainly because bzip2 is 5-7 times slower than
> zlib, and has a larger memory footprint with -9 compression
> (-9 for bzip2 means use a 900K buffer, -9 for zlib means
> something else entirely).
No to niech zobaczy PLD - znalezione w:
http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/rpm.macros
1.27 Thu Sep 14 23:55:52 2000 by kloczek 
CVS Tags: rpm-3_0_5-11_91
Diffs to 1.26 
Change default binary packages compresion payloads:

%_binary_payload        w9.bzdio

Example: binary rpm packages summary size after switch to w9.bzdio makes
~10% output smaller:
w9.gzdio        1839645
w9.bzdio        1670818


~10% smaller vs. 5 -7 times slower
-- 
Tomasz Wittner




Więcej informacji o liście dyskusyjnej pld-devel-pl