[PATCH/RFC] readahead applet

Denis Vlasenko vda.linux at googlemail.com
Tue Aug 22 16:11:12 UTC 2006


On Saturday 19 August 2006 19:01, Michael Opdenacker wrote:
> Hello,
> 
> The attached patch against busybox 1.2.1 adds a new "readahead" applet.

Applet is nice.

> It should be useful in system startup scripts to preload files or 
> executables in RAM cache before they are used. The typical use of this 
> technique is to reduce system startup time. Reading a file ahead of time 
> should be particularly effective while a CPU bound process is running 
> and I/O activity is low.

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.
--
vda



More information about the busybox mailing list