Skip to content

Tarballs we deliver should be compressed better #21724

Closed
@nagisa

Description

@nagisa

Today’s rust-nightly-x86_64-unknown-linux-gnu.tar.gz is 125MiB in size. I did a make dist-tar-bins which output the same tarball, but only 88MiB in size. This is 70% of whatever we publish to s3.

I took liberty to also test:

  • xz (the default level, -6) → 69MiB (55% original);
  • xz -9 → 59MiB (47% original, but has high memory requirements to decompress)
  • bz2 → 82MiB (65% original);
  • lzma → 69MiB, but took longer than xz.

I strongly propose to either migrate to a more modern compression algorithm (xz) or at least investigating why gzip does such a bad job on the build bots.

cc @brson

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions