Menu

#1592 pbunzip2 cann decompress file created with 7zip with more than one thread

None
open-rejected
nobody
None
5
2015-12-03
2015-12-02
Jeff Forbes
No

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.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2015-12-03

    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.

     
  • Igor Pavlov

    Igor Pavlov - 2015-12-03
    • status: open --> open-rejected
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB