ckolivas / lrzip

Long Range Zip
http://lrzip.kolivas.org
GNU General Public License v2.0
618 stars 76 forks source link

How to read the output #228

Open LelouBil opened 2 years ago

LelouBil commented 2 years ago

I just tried running lrztar -z on a 50gb folder with tons of duplicate/almost duplicate files.

I can see in my terminal window an output like this :

Chunk: 99%              ZPAQ    1:100%  2:80%   3:50%   4:20%   5:100%

I do not understand what is the meaning of all of these percentages, I tried to research online but didn't find any explanation.

pete4abw commented 2 years ago

Each chunk of data to be compressed is split into blocks and passed to the ZPAQ backend in individual threads. In your case, 5 threads were passed to ZPAQ separately. The percentages are approximations of how far the ZPAQ compression has progressed. Thread 1 would be the Stream 0 and Thread 5 would be the last block of data which could be small or large up to the max size of the block. In your case, since it finished, block 5 was small. Blocks 2, 3, and 4 are 80, 50, and 20 percent complete approximately. A similar display will show for decompression.