lkml.org 
[lkml]   [2009]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: fastboot: unpacking initramfs faster
Date
Andreas Robinson <andr345@gmail.com> wrote:

> I tried running the initramfs unpacking asynchronously (and earlier) but
> ran into a curious problem: The parent thread stalled until
> decompression was done. I don't know why - I made sure that the two
> threads ran on different cores. Perhaps the parent was cache starved.

I could not stall my system by gzip</dev/urandom>/dev/null.
Maybe you accidentally used vfork?

> 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



\
 
 \ /
  Last update: 2009-03-24 23:15    [W:0.036 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site