Breepee
16th January 2004 20:45 UTC
LZMA dictionary size
I've found that it should be set with this:
dict_size_mb
But I'm not sure how to us it. Like this?
dict_size_mb 32MB
or this:
dict_size_mb 32
or different? And do I have to put it before or after SetCompressor? Maybe someone has an working example of the exact line I must use?
kichik
16th January 2004 20:53 UTC
SetCompressor lzma
SetCompressorDictSize 32
Breepee
16th January 2004 20:57 UTC
Owwww, I was wrong after all :P Thank you for the great help, I really appreciate the fast response!
sdbarker
17th January 2004 04:59 UTC
What good does increasing the dictionary size do?
-Scott
Breepee
17th January 2004 09:27 UTC
slightly better compression.
sdbarker
17th January 2004 12:29 UTC
Gotcha. So, what's the downside, then?
Vytautas
17th January 2004 12:37 UTC
More memmory usage when extracting and slightly slower.
Vytautas ;)
Joost Verburg
17th January 2004 12:52 UTC
Keep in mind that increasing the dictionary size with 1 MB increases the memory requirement by 1 MB too.
Using a huge dictionary size to save only a few bytes is usually not a good idea.
sdbarker
17th January 2004 12:53 UTC
Right then.
I'll just leave it alone. :)
Breepee
17th January 2004 13:53 UTC
Compression requires about 10MB ram more for every 1MB of dictionary size increase. So, if you've choose a dictionary size of 32MB, compression will require little over 320MB and installing little over 32MB (running the makensis and your installer also requires a small amount of memory). 8MB is a nice balance, but I prefer a little bit better compression (saves me a few MB's).