Skip to content

Instantly share code, notes, and snippets.

@chris17453
Created October 8, 2019 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris17453/a58adddba57198adaf6ae652f5663935 to your computer and use it in GitHub Desktop.
Save chris17453/a58adddba57198adaf6ae652f5663935 to your computer and use it in GitHub Desktop.
GZIP compress file with multiple cores
tar cf - ./directory | pigz -9 -p 32 > archive.tar.gz
@chris17453
Copy link
Author

dig 10 gig file in 1.5 minutes on an 8 core 4ghz ryzen 2700x.
Result was 5.5gigs. What I expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment