On 2012-03-05 Gilles Espinasse wrote:
> I find strange here that with a dictionary size even a bit bigger
> than with bare -8e the compressed file is a bit bigger.

This can sometimes happen, but it shouldn't be the common case. A bigger
dictionary might allow encoding some sections of the file better, but
it can cause the internal state to be less optimal for other sections
of the file. So with bad luck a bigger dictionary gives a tiny bit
bigger output.

> Trying to add -e doesnt change the result (and time to compress) when
> nice=273 depth=512 are set.

If you specify something like

    xz --lzma2 -e

the -e option is ignored. The -e only affects the presets -0 ... -9. If
you want to take -8e as the starting point and then adjust the
dictionary size, use this:

    xz --lzma2=preset=8e,dict=${DICT}KiB

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode

Reply via email to