How to use Pigz with Tar
Mark Adler’s top voted answer on the SO link that you included in your question does provide a solution for specifying compression-level as well as number of processors to use: tar cf – paths-to-archive | pigz -9 -p 32 > archive.tar.gz See : https://stackoverflow.com/a/12320421