Skip to content

Prefer faster compression methods under good network #1858

@ishitatsuyuki

Description

@ishitatsuyuki

Describe the problem you are trying to solve

Decompression can be an bottleneck if the network is fast. XZ (LZMA) is surprising slow and can quickly dominate the time spent on installation.

For network connections faster than broadband, we should consider not using LZMA compression. This includes home fiber and datacenters, notably CI environments.

Describe the solution you'd like

  • Add a configuration so the user can select preferred compression method.
  • (If possible) Add an auto option that tries to detect network speed.
  • Consider distributing archives with new algorithms such as zstandard.

Notes

Ubuntu proposal case study.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions