Written by timblech the 23 Aug 09 at 10:24.
Category: System.
Related project:
Nothing/Others.
Status: New
Rationale
the commonly used compression tools gzip and bzip2 are single-threaded, however, parallel implementations of these algorithms exist, pigz as parallel implementation of gzip, pbzip2 for bzip2.
it would be nice, if ubuntu would provide a facility, so that these parallel implementations could be used as drop-in replacement for the classic tools in order to make use of the processing power of current multiprocessor machines.
Out of curiosity, do those make much of a difference over the single-threaded versions? I'd think the real bottleneck there is your harddisk, not your CPU.
Depends on the size of the archive and the quality of the compression (as well as how much RAM you have). At the end of the day, there is no harm in using the multithreaded varieties, but there are benefits.
When compressing bottleneck is CPU ( especially if set to an high compression rate )
In a most general way, any encoding processing ( video/music/crypto ) use a lot of CPU processing while decoding ( or decompressing ) is easier on CPU.
I've used pbzip2 before, and I can tell you that it is MUCH faster for decompressing archives, which is what is important. The HDD is not the bottleneck. Please try creating a largish (200-500MB archive) with bzip and pbzip and you can tell the difference.