Since some time I am the happy user of xz to compress linux kernel (2.6.27
patched, 2.6.32
and now 3.0).
All tests below were made with xz-5.0.3.
Machine has 1 GB memory, x86 32 bits.
On 2.6.32, only lzma option is available and by default, kernel use lzma -9
and
this require much more memory than
I played with lzma2 options and find two curious things.
First, start with something simple as reference (everything tested with
xz-5.0.3)
xz -vv -8e < coreutils-8.15.tar >/dev/null
xz: Filter
chain: --lzma2=dict=32MiB,lc=3,lp=0,pb=2,mode=normal,nice=273,mf=bt4,depth=5
12
xz: 370 MiB of memory is