Re: lzma compression/decompression in bsdtar/libarchive?






--- On Wed, 11/26/08, Stanislav Sedov <stas@xxxxxxxxxxx> wrote:

From: Stanislav Sedov <stas@xxxxxxxxxxx>
Subject: Re: lzma compression/decompression in bsdtar/libarchive?
To: bf2006a@xxxxxxxxx
Cc: "Ivan Voras" <ivoras@xxxxxxxxxxx>, freebsd-hackers@xxxxxxxxxxx
Date: Wednesday, November 26, 2008, 3:04 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 Nov 2008 12:51:33 -0800 (PST)
bf <bf2006a@xxxxxxxxx> mentioned:

Not so long ago (the end of April, this year) someone
tried to switch
ImageMagick to using lzma-compressed tarballs, and
caught a lot of flak
from others who were unfamiliar with this form of
compression. If Tim
could integrate it with libarchive, I'm sure that
it would be more
favorably received.


Indeed, the main argument against was that you need an
extra dependency
to unpack these, and there's no point in requiring that
as bz2 versions
were available.


While I can understand a reluctance to add another port to the
dependency tree, on my (slow) machine archivers/lzma occupies 169kb of
disk space when installed, and took only a minute or two to build from
source, while every time a ImageMagick distfile is downloaded,
about 3Mb of network traffic and disk space is saved by using the
lzma-compressed distfile rather than the bzip2-compressed distfile. And
there are some further time savings in downloading and unpacking. So I
think that there is a "point" to switching, even if you didn't agree that
it was worthwhile for just one port. When you consider that comparable
benefits could have been gained for no further cost for scores of
additional ports by switching to lzma, the decision to revert to bzip2
doesn't seem so good. I might add that I have seen ports in the tree that
use gzipped tarballs when much smaller bzipped ones are available, and
ports that USE_ZIP when there are smaller gzipped tarballs available, so
there's more room for improvement.

Regards,
b.



_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • momentary system "pauses" when switching VTYs
    ... it would take almost 2 whole seconds before switching. ... <ACPI PCI bus> on pcib0 ... 3 ports with 3 removable, ... fwohci0: No. of Isochronous channels is 4. ...
    (freebsd-hackers)
  • Re: FreeBSD 6 is coming too fast
    ... > Do not forget about pointyhat which compiles a tons of ports. ... Switching ... Any port that uses Fortran will be broken by a blanket switch ... language and around 90% of the Fortran 95 language. ...
    (freebsd-current)
  • Re: X11 crashes after update from 7-BETA7 to 7-RELEASE
    ... crashes, e.g. when switching in mplayer from fullscreen to windowed ... Rebuilding the ports ...
    (comp.unix.bsd.freebsd.misc)
  • Re: 74HC4052 Alternative?
    ... If on the other hand the switching is ... being done on the other side of an RS232 transceiver then your choice ... many others too) that has a tri-state enable pin. ... lines to multiple RS232 ports. ...
    (sci.electronics.design)