GEOM_ULZMA

Joerg Sonnenberger joerg at britannica.bec.de
Wed Mar 3 16:43:46 UTC 2010


On Wed, Mar 03, 2010 at 08:29:14AM -0800, Tim Kientzle wrote:
> Adrian Chadd wrote:
> >On 21 February 2010 02:20, Adrian Chadd <adrian at freebsd.org> wrote:
> >>Oh I know that! I'm just saying that I may try lzma'ing the kernel and
> >>rootfs's to see what kind of savings I get over gzip. :)
> >
> >The answer is "whoa". 24 megabyte compressed kernel + MDROOT drops to
> >6.5 megabytes with gzip -9 and a few bytes shy of 5 megabytes with a
> >default lzma compress.
> 
> Interesting question:  What is the impact on boot speed?
> It could be a lot faster to load 5MB from disk and
> decompress to a 24MB image than to wait for 24MB from
> disk.

I don't think it helps in terms of boot speed, at least as long as the
kernel image can be read without constant seeking.

Joerg


More information about the freebsd-hackers mailing list