[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.0.999.0903261216550.5843@be1.lrz>
Date: Thu, 26 Mar 2009 12:26:35 +0100 (CET)
From: Bodo Eggert <7eggert@....de>
To: Andreas Robinson <andr345@...il.com>
cc: 7eggert@....de, Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: fastboot: unpacking initramfs faster
On Thu, 26 Mar 2009, Andreas Robinson wrote:
> On Tue, 2009-03-24 at 23:11 +0100, Bodo Eggert wrote:
> > Andreas Robinson <andr345@...il.com> wrote:
> > > I then looked at multithreaded decompression and found that neither gzip
> > > files nor deflate streams provide enough information (eg block lengths)
> > > to let you share the decompression among threads.
> > >
> > > It can be done of course, but obviously not without modifying file
> > > formats and userspace tools.
> > >
> > > (Thoughts of snowballs and hell presented themselves at this point.)
> >
> > Why not make a new set? http://7eggert.dyndns.org:8080/l/bgz.tar.gz
>
> Hmm, well if you think there is a chance of it being accepted, then
> sure! I'll cook something up, but will be looking to use LZO first since
> it's a bit faster to begin with.
It's small enough, and now I've updated it to support lzo and put a
license into the files.
Thinking about it: It's now very kernel-specific, other users might like a
block signature to make it robust against errors - e.g. in the middle of a
.tar.bgz file. I think I'll change that soon and put 0x55aa in front of
each block.
--
Borges sumus. Resistere inutile est.
--
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