pbunzip2 cann decompress file created with 7zip with more than one thread
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Compressing a large file with the bzip2 protocol compresses quickly with multiple threads.
However, pbunzip2 under Linux will only decompress the file with a single thread. Using pbzip2 to compress under Linux works with multiple threads and pbuzip2 will decompress the file with multiple threads.
It's not bug.
There are two ways for bzip2 multi-threading:
1) block multithreading - 7-Zip uses it.
2) stream multithreading - pbzip2 uses it.
7-Zip can use about 2 threads if you decompress bzip2 file that contains many blocks in one stream. You can create some big bzip2 file with original bzip2 program (with -9 mode) and then try to use 7-Zip and pbunzip2 to decompress it. And write time results here.