Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mkinitfs mkinitfs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Our ARM infrastructure is unreachable at the moment, so CI jobs will time-out and packages will not be updated until the servers are back.

  • alpinealpine
  • mkinitfsmkinitfs
  • Merge requests
  • !75

Add zstd compression support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Iggy Jackson requested to merge iggy/mkinitfs:add-zstd-support into master Dec 22, 2020
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Now that 5.10 is out and supports zstd compression for the kernel and initramfs, add support for zstd to mkinitfs. The benefits have been discussed at length on lkml[1][2].

In my personal experience, the compression (mkinitfs) seems to be slower, but decompression (booting) seems to be faster. I think most people boot more than they mkinitfs.

The default is still gzip, so no change should be noticed unless someone goes looking for trouble.

To test this functionality, just add the following to mkinitfs.conf:

initfscomp=zstd
  • [1] https://lkml.org/lkml/2020/7/23/1010
  • [2] https://lkml.org/lkml/2020/7/1/722
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add-zstd-support