[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XZ compression for the initramfs



What about the RAM usage?  I can't even use it often on my devio.us
account because there's shared RAM with other users.  Seems like an
embedded system might have a problem with that too.

On 1/3/16, Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote:
> On Mon, Jan 04, 2016 at 12:54:11AM +0900, Roger Shimizu wrote:
>> Size of initrd is always an issue on embedded platform. Surely XZ can
>> extremely reduce the size, however as I remember, it takes MUCH more
>> time to finish update-initramfs command.
>>
>> Did you evaluate how long does it take to generate one initramfs image
>> on QNAP box?
>> Maybe I missed a kernel module that can speed up the xz compression, I
>> cannot finish update-initramfs within 5 minutes, which is too long for
>> me. So I'm curious how fast on your box.
>
> xz compression is slow (not bzip2 slow, but still slow).  At least
> it decompresses fast.  I would think for people running stable, the
> compression time would not be a big deal given how infrrequent it is.
> If you are running sid, well that could start to get annoying if you
> don't actually need the extra compression on your system.
>
> --
> Len Sorensen
>
>


-- 
Credit is the root of all evil.  - AB1JX


Reply to: