|
|

01-03-2009, 01:31 PM
|
|
|
libarchive 2.6.0)
On Sat, Jan 3, 2009 at 6:00 AM, Andreas Radke <a.radke@arcor.de> wrote:
> I'd like to keep unneeded packages out of core. I see no need to move
> lzma into core. We only support tar.gz for our repos. Whoever wants to
> use a different format can rebuild libarchive easily.
>
> I also wonder if our new tar package now supports lzma and lzop
> compression (no tests so far). Both packages were not present when
> building the tar package in he chroot. But even when it's now possible
> to use these formats at runtime they should stay in extra until we may
> use them for our repos.
I don't want to go too back and forth on this on the signoff thread so
I'll move it here.
I was thinking much more in the context of archives in general rather
than just pacman using libarchive. libarchive ships with bsdtar, which
I have found to be quicker than GNU tar at extracting (so I use it
nearly exclusively). It would be a shame to tell people "we don't
support .tar.lzma for anything"- that seems rather arbitrary, doesn't
it?
I too think [core] should stay as slim as possible, but when that
requires we compile our packages with a less than ideal set of
features, I want to at least give it some thought.
-Dan
|
|

01-12-2009, 08:15 PM
|
|
|
libarchive 2.6.0)
On Sat, Jan 3, 2009 at 8:31 AM, Dan McGee <dpmcgee@gmail.com> wrote:
> On Sat, Jan 3, 2009 at 6:00 AM, Andreas Radke <a.radke@arcor.de> wrote:
>> I'd like to keep unneeded packages out of core. I see no need to move
>> lzma into core. We only support tar.gz for our repos. Whoever wants to
>> use a different format can rebuild libarchive easily.
>>
>> I also wonder if our new tar package now supports lzma and lzop
>> compression (no tests so far). Both packages were not present when
>> building the tar package in he chroot. But even when it's now possible
>> to use these formats at runtime they should stay in extra until we may
>> use them for our repos.
>
> I don't want to go too back and forth on this on the signoff thread so
> I'll move it here.
>
> I was thinking much more in the context of archives in general rather
> than just pacman using libarchive. libarchive ships with bsdtar, which
> I have found to be quicker than GNU tar at extracting (so I use it
> nearly exclusively). It would be a shame to tell people "we don't
> support .tar.lzma for anything"- that seems rather arbitrary, doesn't
> it?
>
> I too think [core] should stay as slim as possible, but when that
> requires we compile our packages with a less than ideal set of
> features, I want to at least give it some thought.
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.
|
|

01-12-2009, 09:22 PM
|
|
|
libarchive 2.6.0)
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.
|
|

01-12-2009, 11:41 PM
|
|
|
libarchive 2.6.0)
I may be wrong, but i think we should have lzma in [core]. We could
use .pkg.tar.lzma with pacman in the future.
BTW, lzma + delta would be great for those with slow connections and
it would save a lot of bandwidth for the Arch Linux servers.
IMHO, save bandwidth is more interesting than saving processing.
-- Hugo
|
|

01-13-2009, 12:42 AM
|
|
|
libarchive 2.6.0)
On Mon, Jan 12, 2009 at 5:22 PM, Jan de Groot <jan@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.
|
|

01-13-2009, 12:50 AM
|
|
|
libarchive 2.6.0)
I'll throw in my (non-dev) hat and say that I like this change, for
what it's worth. In my eyes, the costs are very low and the benefits
are real.
--Daenyth
|
|

01-13-2009, 12:59 AM
|
|
|
libarchive 2.6.0)
On Mon, Jan 12, 2009 at 7:42 PM, Eric Bélanger <snowmaniscool@gmail.com> wrote:
> On Mon, Jan 12, 2009 at 5:22 PM, Jan de Groot <jan@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.
|
|

01-13-2009, 09:56 AM
|
|
|
libarchive 2.6.0)
Yep,
Compress really takes a little longer, but IIRC decompress takes
almost the same time of gzip.
-- Hugo
|
|

01-13-2009, 02:45 PM
|
|
|
libarchive 2.6.0)
On Tue, Jan 13, 2009 at 11:56 AM, Hugo Doria <hugodoria@gmail.com> wrote:
> Yep,
>
> Compress really takes a little longer, but IIRC decompress takes
> almost the same time of gzip.
>
Also, if I am not mistaken, a given package is compressed only once,
by the packager, but decompressed many many times (by all users). But
of course the compression time needs to stay reasonable enough for the
packager, and the opinion of active packagers or packagers with huge
packages is important.
Otherwise, if the download time benefit is lower than the
decompression time slowdown for many users with high bandwidth, we
should still think about all the poor users with low bandwidth  And
in any cases, there is a bandwidth win on both sides (user / server)
so that is always good.
|
|

01-13-2009, 03:17 PM
|
|
|
libarchive 2.6.0)
Am Mon, 12 Jan 2009 19:59:33 -0600
schrieb "Dan McGee" <dpmcgee@gmail.com>:
> Yes, LZMA took nearly 5 minutes to compress this package which gzip
> accomplished in 22 seconds.
I guess it doesn't support parallel threaded compression. I couldn't
find any good information about smp support. If only pbzip would
integrate pipe support....
I'm fine with moving lzma into core. But then we should also think
about using the best current compression format for our repos.
-Andy
|
|
|
All times are GMT. The time now is 01:57 PM.
VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|