Use Pigz With Tar For Parallel Compression
Faster tar.gz with pigz. Drops in as a drop-in replacement for gzip, adds multi-core compression and a progress bar with pv. Tweak –fast or –best depending on what you care about.
tar --use-compress-program="pigz --fast --recursive -k | pv" -cf archive.tar.gz /path/to/dir
--fast is the fastest (lowest) compression level, you can swap it for --best if you need better compression.
-k tells Pigz to keep the files instead of deleting them.
The pv command just adds a progress monitor.