[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] GNU tar 1.20
From: |
Kevin Day |
Subject: |
Re: [Bug-tar] GNU tar 1.20 |
Date: |
Thu, 11 Sep 2008 08:09:39 -0500 |
On Wed, Sep 10, 2008 at 10:15 AM, Antonio Diaz Diaz <address@hidden> wrote:
> Eric Blake wrote:
>>
>> It seems a bit ironic to add LZMA support but not offer tar-1.20.tar.lzma
>> on the ftp site :)
>
> Just in case you are thinking about releasing a LZMA compressed tar package,
> perhaps you would like to know there exists a much simplified LZMA
> compressor/decompressor program and format (only eight source files
> including two from the command line argument parser) featuring magic bytes,
> streaming, integrity checking, 64-bit file size support and an user
> interface almost identical to the one of bzip2.
>
> Its name is lzip, and you can download it from here
> http://freshmeat.net/projects/lzip/
>
>
For the record, LZIP has a different binary header.
Instead of LZMA's "\xFFLZMA", it seems to only have: "LZIP"
I imagine that would be another patch.
Here are it's times relative to bzip2, gzip, and lzop (lzip has a
scary 9minute compression time):
# ls -lh linux-2.6.26.3-olpc.tar
-rw-r----- 1 turtle turtle 514M Sep 10 02:38 linux-2.6.26.3-olpc.tar
# time lzop linux-2.6.26.3-olpc.tar
real 0m6.028s
user 0m5.163s
sys 0m0.487s
# time ~/lzip-0.2/lzip linux-2.6.26.3-olpc.tar
real 9m51.312s
user 9m49.965s
sys 0m0.950s
# time gzip linux-2.6.26.3-olpc.tar
real 0m33.023s
user 0m32.461s
sys 0m0.497s
# time bzip2 linux-2.6.26.3-olpc.tar
real 2m2.926s
user 2m2.005s
sys 0m0.800s
# ls -lh
-rw-r----- 1 turtle turtle 75M Sep 10 02:38 linux-2.6.26.3-olpc.tar.lz
-rw-r----- 1 turtle turtle 198M Sep 10 02:38 linux-2.6.26.3-olpc.tar.lzo
-rw-r----- 1 turtle turtle 142M Sep 10 02:38 linux-2.6.26.3-olpc.tar.gz
-rw-r----- 1 turtle turtle 111M Sep 10 02:38 linux-2.6.26.3-olpc.tar.bz2
# time lzop -d linux-2.6.26.3-olpc.tar.lzo
real 0m13.576s
user 0m2.087s
sys 0m1.103s
# time ~/lzip-0.2/lzip -d linux-2.6.26.3-olpc.tar.lz
real 0m16.444s
user 0m13.639s
sys 0m1.087s
# time gzip -d linux-2.6.26.3-olpc.tar.gz
real 0m14.715s
user 0m5.220s
sys 0m1.070s
# time bzip2 -d linux-2.6.26.3-olpc.tar.bz2
real 0m28.186s
user 0m26.595s
sys 0m1.353s
--
Kevin Day