[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4A67397F.8080705@zytor.com>
Date: Wed, 22 Jul 2009 09:08:31 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: kevin.granade@...il.com
CC: Albin Tonnerre <albin.tonnerre@...e-electrons.com>,
linux@....linux.org.uk, alain@...ff.lu,
linux-kernel@...r.kernel.org, linux-embedded@...r.kernel.org
Subject: Re: [PATCH 3/5] Add support for LZO-compressed kernels
kevin.granade@...il.com wrote:
> >
> > So for a compression ratio that is still relatively close to gzip, it's
> > much faster to extract, at least in that case.
>
> Is that "time to run the extraction algorithm", or "time to read in
> image from media and extract"? I think the time to read from the media
> would tend to dominate the decompression time.
> Either way, could you provide the other time for each algorithm in order
> to give a sense of how this might scale to other CPU speeds/media read
> speeds?
>
If you have very slow media, you probably want to use LZMA. If you have
a very slow CPU and comparatively fast media, LZO might be a good
option... I have heard people asking for *uncompressed* kernels for this
reason, but LZO runs at a significant fraction of memcpy() speed.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists