Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372653 - Enable xz compression by default in portage
Summary: Enable xz compression by default in portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 380925
  Show dependency tree
 
Reported: 2011-06-23 02:51 UTC by kfm
Modified: 2017-01-10 13:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kfm 2011-06-23 02:51:42 UTC
Rationale is as follows:

* A stable version of xz-utils has been in the tree for a while and there
  are no bugs against it

* xz compression is more effective than bzip2

* xz decompression is considerably faster than bzip2

Therefore, I think these would make for better defaults:

  PORTAGE_COMPRESS="xz"
  PORTAGE_COMPRESS_FLAGS="-6"

Similarly, I think that lzma should be a pkginternal default for the current stable version of sys-apps/man:

  IUSE="+lzma nls"

... or for >=sys-apps/man-1.6f-r5 to be marked stable, because the change has already been made there (which, indirectly, could be taken as an endorsement of my suggestion).
Comment 1 SpanKY gentoo-dev 2011-06-23 16:07:48 UTC
the compression is not more effective with smaller files

there was an older bug very similar to this, but i dont remember what it was
Comment 2 kfm 2011-06-23 20:42:07 UTC
I couldn't find the bug in question so maybe it was closed. But, yeah, you're right. I tried it out with the /usr/share/{doc,man} directories from a recent stage3 tarball and using xz slightly increased the footprint, which is disappointing. So, it's good for tarballs and large files only. That'll teach me for not checking the stats. Closing.
Comment 3 SpanKY gentoo-dev 2011-06-23 23:44:09 UTC
np.  i made the same mistake :P.