You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done some tests to determine whether Conor's fastlzma2 library could actually benefit precomp. The answer is yes and by a long shot. The tests have proven that the novel algorithm provides about 2x faster compression, all while compressing up to 10% more and using less memory than multi-threaded lzma. So it's basically double speed for free.
Because of this...
The library can compress using many threads without dividing the input into large chunks which require the duplication of the match-finder tables and chains. Extra memory used per thread is typically no more than a few megabytes.
... the difference on ratio is more visible when working on a high number of threads, which on mt-lzma usually means chunking the input and losing long range compression, but with flzma2 doesn't.
The text was updated successfully, but these errors were encountered:
Precomp mt-lzma compression VS xz-fastlzma2 comparison and report:
Sumary:
Weighted average speedup for fxz: 195%
Weighted average speedup for fxz -e: 168%
Weighted average ratio gain for fxz: 2.03%
Weighted average ratio gain for fxz -e: 2.20%
Details:
Speed = (size of file.pcf_cn) / (time of [ precomp || fxz ])
Ratio = (size of file) / (size of file.pcf_cn.[ precomp || fxz ])
Sets:
* zpaqgui-win32.win32.x86_64.zip
* APKs.zip, which is just a few Android apps in a zip
-both after "precomp -cn -intense -brute -t-3 -packjpg-" (because of ARM packjpg and packmp3 bugs)
These are only two datasets that are representative of several other more informal tests during the past months.
BTW: fxz uses ~900-1000m RAM on the default configuration, instead of the ~1300 that precomp does, although it can be configured to use a bigger dictionary and, in doing so, provide even better compression.
I've done some tests to determine whether Conor's fastlzma2 library could actually benefit precomp. The answer is yes and by a long shot. The tests have proven that the novel algorithm provides about 2x faster compression, all while compressing up to 10% more and using less memory than multi-threaded lzma. So it's basically double speed for free.
Because of this...
... the difference on ratio is more visible when working on a high number of threads, which on mt-lzma usually means chunking the input and losing long range compression, but with flzma2 doesn't.
The text was updated successfully, but these errors were encountered: