[Zlib-devel] Zlib-devel Digest, Vol 29, Issue 1
Mikhail Teterin
mi+zlib at aldan.algebra.com
Mon Jun 5 14:24:26 EDT 2006
понеділок 05 червень 2006 13:00, Zlib-devel-request at zlib.net написав:
> The single memory parameter is used to adjust two different things:
> the allowed size of the hash tables for searching for matching
> strings, and the number of symbols per deflate block. They can have
> opposite effects on compression, which is why in your case memory
> level 9 compresses worse than memory level 8. There is a happy
> deflate block size, where it's not so small that the code description
> at the beginning of the block costs too much, and not so big that the
> codes cannot adapt fast enough for changing data statistics. That
> happy place is highly data dependent, but in general memory level 8
> works best.
Is there a way to tune the two different things independently? My program is
intended to run on a dedicated machine, that does little else, but compresses
backups. There is plenty of memory -- the faster I can make it run, the
shorter the backup cycle can be. (currently about 3 days!).
Thanks!
-mi
More information about the Zlib-devel
mailing list