Bug 1744212 - drop in replacement for bzip2?
Summary: drop in replacement for bzip2?
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: lbzip2
Version: 30
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-21 14:38 UTC by Brian J. Murrell
Modified: 2019-08-29 07:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-22 07:02:28 UTC


Attachments (Terms of Use)

Description Brian J. Murrell 2019-08-21 14:38:12 UTC
Description of problem:
Since lbzip2 performs sooooo much better on multi-core machines and given the prevalence of multi-core machines, it would be nice if lbzip2 could be installed *instead* of bzip2.  I.e. satisfy the RPM dependency for bzip2.

Comment 1 Mikolaj Izdebski 2019-08-22 07:02:28 UTC
Personally I agree, however this change proposal [1] was rejected [2] by engineering steering committee.

[1] https://fedoraproject.org/wiki/Changes/lbzip2
[2] https://pagure.io/fesco/issue/1276

Comment 2 Brian J. Murrell 2019-08-22 11:42:12 UTC
Is it time to re-propose the change?  5 years have passed since that last discussion.  lbzip2 is 5 year more mature.

Has a library interface been implemented?

Comment 3 Lukas Zapletal 2019-08-23 06:51:39 UTC
The original bzip2 was released 1996 I think, that's level of maturity lbzip2 can't achieve so the argument will be still quite relevant. However I would like to propose something different - can we implement "alternatives" for bzip2/lbzip2? I am not sure if this is the right term, but I mean /usr/sbin/alternatives for being able to switch between the two. Don't see this as a half-baked solution, it allows many people to try to switch and see if it works fine under various workloads. This change would probably require changes for both bzip2 and lbzip2 packages, I haven't implemented alternatives yet myself.

Comment 4 Brian J. Murrell 2019-08-23 14:55:20 UTC
Using alternatives was actually the original proposal that was shot down.

Comment 5 Lukas Zapletal 2019-08-29 07:40:53 UTC
Well, not really. It was proposed to "set higher priority for lbzip2 in alternatives" however what I think would be a good step forward would be only to provide alternatives and lbzip2 as opt-in.


Note You need to log in before you can comment on or make changes to this bug.