Is it possible to unzip a compressed file with multiple threads?

ale8530 picture ale8530 · Feb 16, 2018 · Viewed 12.2k times · Source

I unzip using this :

unzip -q "file.zip" -d path

How can I unzip faster with utilizing multiple cores and threads?

Thanks

Answer

Stefan M picture Stefan M · Feb 16, 2018

In short: No, unzipping with multiple cores is not available.

The decompression normally has lower CPU-intensity than the compression (where multiple cores are often involved).

You wouldn't have much of an advantage anyway as the read/write-operations are more of the bottlenecks during decompression.