Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131908

Switch to using Zstandard compression

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9
    • Packaging & Installer
    • None

      Since the attempt at insertion of a backdoor into LZMA/xz earlier this year, some Linux distributions and others have begun deprecating this project, due to lack of serious maintainership. For example, openSUSE and Fedora compress their RPM payloads and kernel modules with Zstandard; Clear Linux does the same for the kernel modules.

      I suggest switching Qt .tar packages to be compressed with zstd too, even though they don't (yet) compress as much as xz. However, the Qt packages don't appear to be compressed using the best xz compression either... (looks like the default, -6).

      Comparison of the source for qtbase 6.8.0 (compare to https://download.qt.io/official_releases/qt/6.8/6.8.0/submodules/qtbase-everywhere-src-6.8.0.tar.xz)

      Compression Size (MB) Time to compress (CPU sec) Time to decompress
      None 253 N/A 0.03
      zstd -19 48.4 103.47 0.169
      zstd -19 --long 46.5 126.54 0.214
      zstd -22 --ultra 45.9 131.78 0.226
      zstd -22 --ultra --long 45.9 136.88 0.221
      xz -6 47.6 133.75 0.454
      xz -9 46.3 89.6 1.087
      xz -9e 45.9 114.89 1.091

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            releaseteam Qt Release Team
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes