Re: [PATCH] init: bzip2 or lzma -compressed kernels and initrds

From: Leon Woestenberg
Date: Fri Sep 26 2008 - 14:53:22 EST


Hello all,

On Mon, Sep 15, 2008 at 7:28 PM, Steven Noonan <steven@xxxxxxxxxxxxxx> wrote:
> On Mon, Sep 15, 2008 at 10:13 AM, Bill Davidsen <davidsen@xxxxxxx> wrote:
>> Frans Meulenbroeks wrote:
>>>
>>> For kernel/ramfsimage etc the best choice is the one that has the
>>> fastest decompression (info on tukaani.org says gzip).
>>> Rationale: as it uncompresses faster the system will boot faster.
>>> ...
>
> It all really depends on what you're prioritizing.

Exactly.

Whenever LZMA comes up people start discussing the differences and
then discuss what is THE best.
So far, IMHO there is NONE. Selecting the best filesystem is about
making trade-offs depending on what you need.

For example, the systems I use squashfs for, are intended to be booted
only *once* (or incidently after a firmware upgrade). I do not care
about the memory it takes, or if takes twice as long. Also, I need the
rootfs to be read-only. Distributing over any media and uploading
Linux/FPGA firmware over very slow device backplanes is my main
concern.
Squashfs w/ LZMA works best for me, because smallest. Kudos.

Linux, THE best if you need choice.

Regards,
--
Leon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/