Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-3973

Modernize RHCOS image compression to save space and speed up installs

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Compress RHCOS10 boot images using zstd
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      Feature Overview (aka. Goal Summary)  

      Currently RHCOS boot images are compressed using gzip which is generally outmoded by zstd and xz in both terms of compression ratio and speed. While xz offers marginally better compression ratio zstd is better with regard to speed in both compression and decompression. Therefore we'd like to utilize zstd which is widely supported and includes tools in RHEL8 and later.

      Goals (aka. expected user outcomes)

      Compress RHCOS boot media using zstd, Download and decompress as appropriate in all places that currently decompress boot images

       

      Requirements (aka. Acceptance Criteria):

      • RHCOS Pipeline for RHCOS 10 compresses boot images using zstd
      • RHCOS Pipeline compression stage is at least as fast as the current `gzip -6` method and compresses better than gzip
      • Installer and other tools which decompress boot images handle zstd

      Anyone reviewing this Feature needs to know which deployment configurations that the Feature will apply to (or not) once it's been completed.  Describe specific needs (or indicate N/A) for each of the following deployment scenarios. For specific configurations that are out-of-scope for a given release, ensure you provide the OCPSTRAT (for the future to be supported configuration) as well.

      Deployment considerations List applicable specific needs (N/A = not applicable)
      Self-managed, managed, or both Yes
      Classic (standalone cluster) Yes
      Hosted control planes Yes
      Multi node, Compact (three node), or Single node (SNO), or all Yes
      Connected / Restricted Network Yes
      Architectures, e.g. x86_x64, ARM (aarch64), IBM Power (ppc64le), and IBM Z (s390x) All
      Operator compatibility Baremetal Operator
      Backport needed (list applicable versions) None, target 5.0 and later
      UI need (e.g. OpenShift Console, dynamic plugin, OCM) None
      Other (please specify)  

      Use Cases (Optional):

      Questions to Answer (Optional):

      Out of Scope

      Background

      Customer Considerations

      zstd may not exist everywhere that gzip does today but it's readily available and we expect the tools we provide to handle decompression for them, such as openshift-install{}

      Documentation Considerations

      Interoperability Considerations

       

              Unassigned Unassigned
              rhn-support-sdodson Scott Dodson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: