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

Re: FW: Faster boot by running init.d scripts in parallel



On Sun, 13 Sep 2009 09:27:33 +0300
Andrei Popescu <andreimpopescu@gmail.com> wrote:

> On Thu,10.Sep.09, 21:09:21, Celejar wrote:
> > > 
> > > It will enable makefile style concurrency, and run N scripts in
> > > parallel during boot, where N is the number of CPUs or cores on
> > > the machine.  This only work when dependency based boot
> > > sequencing.  This
> > 
> > So this is pointless on a single core machine?
> 
> As someone mentioned on debian-devel, startpar in makefile mode is 
> invoked with '-p 4' which means 4 parallel tasks.

I wonder - perhaps I'm missing something, but shouldn't parallel
running of scripts be helpful even on single core machines, where one
of the scripts is not CPU-bound but waiting on some external (e.g.,
network or hardware) event?

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: