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
  • alpinealpine
  • mkinitfsmkinitfs
  • Merge requests
  • !114

mkinitfs: add threaded zstd compression

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged alice requested to merge psykose/mkinitfs:zstd-thread into master Jan 08, 2023
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

-T0 defaults to hardware cores (no SMT cores, so 8 on a 8core/16thread
cpu)

for something small like the initrd, so many threads can't be utilised
anyway, so generally this will only use a few (3-4). it does make it
take much less time, however

$ zstd -b19 out
19#out : 86131024 -> 22705519 (x3.793), 6.05 MB/s, 1395.7 MB/s
$ zstd -T0 -b19 out
19#out : 86131024 -> 22636531 (x3.805), 15.4 MB/s, 1394.2 MB/s

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: zstd-thread