Gentoo Archives: gentoo-dev

From: "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2
Date: Mon, 29 Oct 2012 14:11:53
Message-Id: 508E8EFD.8030300@gentoo.org
In Reply to: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 by Piotr Szymaniak
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 09/27/2012 05:23 AM, Piotr Szymaniak wrote:
5 > On Wed, Sep 26, 2012 at 01:43:27PM -0700, Matt Turner wrote:
6 >> On Wed, Sep 26, 2012 at 1:30 PM, Michael Mol <mikemol@×××××.com> wrote:
7 >>> A few months ago, I filed bug 423651 to ask that bzip2 on the install
8 >>> media be replaced with
9 >>> pbzip2. It was closed a short while later, telling me that it'd
10 >>> involve changing what's kept in @system, and that had to be discussed
11 >>> here, rather than in a bug report.
12 >>
13 >> If we're going to ship a parallel bzip2 implementation, it should be
14 >> lbzip2 and not pbzip2.
15 >>
16 >> lbzip2 can decompress bz2 archives with multiple threads that haven't
17 >> been compressed with lbzip2/pbzip2.
18 >
19 > Afair I'm using PORTAGE_BZIP2_COMMAND with lbzip2 and it works fine.
20 > Also some time ago I've changed a bit the (famous?) stage4 backup
21 > script from g-wiki to support parallel gz/bz2 implementations (simple
22 > check if there pbzip2/lbzip2/foobar installed and if yes, use it instead
23 > of normal gzip/bzip2).
24
25 I've been testing PORTAGE_BZIP2_COMMAND=lbzip2 for the few weeks since
26 this thread as well, and I have to say it's been great.
27 >
28 > Maybe portage should be like my stage4 mod? If it finds some parallel
29 > (de)compressor it should use it, if not fallback to standard gzip/bzip2?
30
31 The releng team has begun using lbzip2 for decompressing things as much
32 as possible for speeding up catalyst builds, and speaking only for
33 myself I think it's been useful. I spoke to zmedico about replacing the
34 default portage decompresser and he suggested far more use could be
35 attained by simply creating an eselect-bzip2 (possibly defaulting to
36 lbzip2 as this thread seemed to agree). I'm confident no one would
37 attempt to block my adding eselect-bzip2 to the tree (aside from my poor
38 coding skills), but would anyone be interested in blocking using lbzip2
39 by default? It seems pretty safe and I've done dozens of full system
40 builds etc.
41
42 Thanks,
43 Zero_Chaos
44 >
45 >
46 > Piotr Szymaniak.
47 >
48
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v2.0.19 (GNU/Linux)
51 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
52
53 iQIcBAEBAgAGBQJQjo79AAoJEKXdFCfdEflKQNQQAIur3Mx4eD6kVv3US6kDkKpn
54 Z8aHyZqWIOws9VqcPCJUb1c1bn8aj2QTjL63obh//rJby1Qd1P3X3OA9hKfaiyiJ
55 hbgWRu5RkMSNPIdXhaslD3h/kL78BPr9eVz9O3R/TMp01puz4su0j1JVOtAT5Ny2
56 qAVof+H6RC5aCP2pKjIkvDq9vma/jd9QT98rM3UIw3BorBpkl0vTTa+sLtGA+U6p
57 mBkYZJFUUnkW3AtNC1ucPvQS9a7NwOxH5EDGEy4QeSJh9nvQZ8zCFivNtr4SUS6A
58 SGV0j/PB0Uqf42y1NOBfFSEQoQGT3aIlZzkbGdJKf6/jIdGPHhxWt3npQ6U6gOg9
59 TA/8zCJkJk0GZKAIq+K/y8STczeuIJ2hgrHUup4/I6CYwI66eBRiqnayNEmah7Cy
60 rpqR7xwqh+F2JrjljNYfE9qVQKwqhLU5MsOONlqRS+FPw+SuxxbJM6BiLCk4s0Qz
61 GPs5PXTz92MzzQ18XUuMq53bi9IaEmJJa8E83IBm3PD4zq67KsiWd2YxQo/JYX4p
62 ZTBayLabbY6PRwMVx0k9jKG7aOOKFZ5t2k5BmZDv6JBD2Sww9q6+xUPoTDwsZPgZ
63 pVv2m3AwaOXbGpvMrpqmzOTxbovUALp9WhdyTxlR5NmbTeXIuaKW/lQTU0cl/LKP
64 ACg4IADjv3hQz7gfsHAP
65 =hCz9
66 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 Rich Freeman <rich0@g.o>