Re: Bashification of initscripts for moderate speedup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Jun 28, 2010, at 7:42 AM, Caleb Cushing <xenoterracide@xxxxxxxxx> wrote:

On Sun, Jun 27, 2010 at 11:10 PM, Victor Lowther
<victor.lowther@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux