On Fri, 30 Jul 2004, Jeff Johnson wrote:
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).
Never seen .. ? :_)
revision 1.27 date: 2000/09/14 23:55:52; author: kloczek; state: Exp; lines: +3 -0 Change default binary packages compresion payloads:
%_binary_payload w9.bzdio
This is from PLD .. and watch commit date :_)
Yes bzip2 is sllower but not so as you mention and takes more memory on
unpack but compuers are stonger and have more memory ..
Today on install packages more importand is how many CDs will be
taken and also because today barier is also maximum transfer speed from
CD it may allow cut install time (few years ago was more importand maximum network bandwich .. today in many location still is actual :).
Packing time still isn't so importand because in usual case in whole build time packing can't be larger than 1-5% whole time.
If you mast tranfer outside some ftp location packages it is still
importand to save some cumulated bandwich ..
kloczek -- ----------------------------------------------------------- *Ludzie nie mają problemów, tylko sobie sami je stwarzają* ----------------------------------------------------------- Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@xxxxxxxxxxxxxxxxxx*
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list