Dave's Brain

Browse - Computer Tips - How can I make gzip compress faster?

Date: 2012apr10
OS: Linux

Q.  How can I make gzip compress faster?

A.  You can use the --fast flag for gzip.
That may make the output file compression less small.

If your computer has multiple cores try pigz...
http://zlib.net/pigz/

And since pigz supports all the command line options of gzip
you can use the --fast option for pigz!

On RedHat/Fedora/CentOS you probably already have it installed.  Try:

rpm -q pigz
Pigz does NOT help with uncompressing.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.