ckolivas / lrzip

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

Inaccurage percentage when using zpaq on large files #42

Closed john01dav closed 8 years ago

john01dav commented 9 years ago

I use lrzip -z to compress backups (in the form of plain tar archives). It provides great compression, and I'm fine with it taking time to do so. The issue occurs when lrzip displays it's total percentage which quickly goes up, slowly decreasing in speed, before it finally stops at 99% and sits there for sometimes several minutes before finally finishing. I'd like some accurate percentages, in terms of the time remaining in the compression -- perhaps with a command line flag if it takes a significant amount of extra computing power to do.

ckolivas commented 8 years ago

The percentage you are seeing is the first pass rzip dictionary compression stage which is correct to stop at 99%. The zpaq compression stage is shown via separate meters accurately in the columns after the first one.