[arch-general] Bashification of initscripts for moderate speedup

Victor Lowther victor.lowther at gmail.com
Mon Jun 28 09:35:22 EDT 2010


On Jun 28, 2010, at 7:42 AM, Caleb Cushing <xenoterracide at gmail.com>  
wrote:

> On Sun, Jun 27, 2010 at 11:10 PM, Victor Lowther
> <victor.lowther at gmail.com> wrote:
>> Questions, comments, flames, etc. welcome.
>
> why go this way instead of the other? (clarification why go deeper
> into bash instead of trying to posix-ify the scripts)

Because arrays and associative arrays are very useful, using native  
bash costructs instead of posix gives you a decent speed boost, and  
the main source of slowdowns in the boot sequence is I/O based --  
mounting filesystems and launching programs. Serious boot speed  
optimization is a matter of optimizing I/O.

>
> -- 
> Caleb Cushing
>
> http://xenoterracide.blogspot.com


More information about the arch-general mailing list