[arch-dev-public] LZMA - in or out? ([signoff] libarchive 2.6.0)

Dan McGee dpmcgee at gmail.com
Mon Jan 12 20:59:33 EST 2009


On Mon, Jan 12, 2009 at 7:42 PM, Eric Bélanger <snowmaniscool at gmail.com> wrote:
> On Mon, Jan 12, 2009 at 5:22 PM, Jan de Groot <jan at jgc.homeip.net> wrote:
>> On Mon, 2009-01-12 at 15:15 -0600, Aaron Griffin wrote:
>>> Where did this go?
>>>
>>> Do we have any additional opinions regarding LZMA? Personally, I think
>>> LZMA is great, and the new licensing (LGPL?) opens a lot of doors.
>>> Personally, I can't wait to see squashfs-lzma to pick up speed.
>>>
>>> I agree with Dan though - libarchive isn't just a dep of pacman. We
>>> also ship bsdtar, which I use quite often.
>>
>> I think having an LZMA-enabled version of libarchive/bsdtar would fix
>> this bug also:
>> http://bugs.archlinux.org/task/12712
>>
>> At this moment, rpmextract can't extract RPM files that use LZMA
>> compression.
>> To solve the above bug partially, I'm thinking about rewriting
>> file-roller to use bsdtar for extracting compressed cpio files. Without
>> LZMA support in bsdtar, this will still fail for SuSE's RPM files
>> though.
>
> These are all good reason for lzma support in libarchive.  No
> objections from me.
>

Some non-benefits of LZMA for those that brought up compression of packages
:
$ ./testzip.sh openoffice-base-3.0.0-4-x86_64.pkg.tar

gzip:  zip   openoffice-base-3.0.0-4-x86_64.pkg.tar
21.50user 0.19system 0:21.71elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+235minor)pagefaults 0swaps
gzip:  unzip openoffice-base-3.0.0-4-x86_64.pkg.tar
2.85user 0.21system 0:03.07elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+628minor)pagefaults 0swaps

bzip2: zip   openoffice-base-3.0.0-4-x86_64.pkg.tar
57.28user 0.27system 0:57.58elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+2025minor)pagefaults 0swaps
bzip2: unzip openoffice-base-3.0.0-4-x86_64.pkg.tar
17.50user 0.43system 0:17.95elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1079minor)pagefaults 0swaps

lzma:  zip   openoffice-base-3.0.0-4-x86_64.pkg.tar
288.53user 0.42system 4:52.06elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+21388minor)pagefaults 0swaps
lzma:  unzip openoffice-base-3.0.0-4-x86_64.pkg.tar
10.18user 0.36system 0:10.57elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+2642minor)pagefaults 0swaps

Yes, LZMA took nearly 5 minutes to compress this package which gzip
accomplished in 22 seconds.


More information about the arch-dev-public mailing list