On Fri, Jul 13, 2012 at 8:45 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:This leads to a similar remark for lzma:
>
> Op 12 jul. 2012, om 21:22 heeft Saul Wold het volgende geschreven:
>
>> On 07/12/2012 11:58 AM, Koen Kooi wrote:
>>> Any volunteers to test this on a system with >4 real cores?
>>>
>>
>> Koen,
>>
>> Does OE-Core or Poky have an image setup for using .xz by default?
>
> No, and as you can see from Andrei's patches, it would have never worked :)
>
> regards,
>
> Koen
>
The xz/lzma have been added with commit 38334ac and at that time both
where using XZ_COMPRESSION_LEVEL.
The code has been refactored afterwards and what happened is that lzma
now defaults to compression 7 (the default) while xz is way too high
(default is 6).
There is a well hidden pitfall with that, being that any image,
including the initramfs, will use that compression factor.
As you can notice in that (old) man xz [2] the memory requirements
are very high and what did happen to me was that the cpio.lzma could
not be decompressed thus kernel could not boot (we override now the
value setting "-e2" in our BSP).
Adding more threads will multiply that figures.