[PATCH/RFC] readahead applet

Michael Opdenacker michael-lists at free-electrons.com
Wed Aug 23 08:59:17 UTC 2006


Denis Vlasenko wrote:
> The worst slowdown is probably caused by serial nature
> of traditional /etc/rc.something maze of scripts.
>
> Try to run them in parallel. Lots of concurrent processes,
> some CPU bound, others are io-bound => better overall
> system utilization => faster boot.
>   
Hello Denis,

You're definitely right!

There may be some cases when this readahead applet can't be replaced 
though... Imagine 2 CPU bound tasks, the second one depending on the 
first. While the first one is running, you cannot run the second one 
yet, but you can already readahead its executable, its shared libraries 
and its files in parallel.

:-)

    Michael.

-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)




More information about the busybox mailing list