From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: DS20 Assorted Difficulties
Date: Thu, 15 Apr 1999 13:15:03 -0400 [thread overview]
Message-ID: <199904151715.NAA12481@linux04.hlo.dec.com> (raw)
In-Reply-To: Your message of Thu, 15 Apr 1999 10:21:57 -0400. <199904151421.KAA11679@adder.cs.Virginia.EDU>
>>> Greg Lindahl said:
> > > * Building a kernel from clean is about 2-3 minutes with -j 8. Much
> > > more than 8 and gmake looses it, emitting nonsense errors, etc.
> >
> > I also would like to understand why the 2.2 kernels changed the way parallel
> > makes work, as the 2.0 kernels are very happy with just -j. Anyone know the
> > history behind this?
>
> Um, is this still broken after your patch? I would think that high
> load would bring out the bug you zapped.
No, no, that's not what I meant...
The 2.0 kernels did "parallel make" via breadth-then-depth; when dropping
into a subdirectory, compile jobs would be spawned for all the files in that
directory, and then wait for those to finish before going on to
subdirectories or popping back up to do any siblings, etc, etc. So
essentially the number of parallel compiles was limited to how many compiles
were at a certain directory level, ie drivers/scsi would spawn off compiles
for all the drivers configured plus the "generic" SCSI subsystem sources
(like scsi.c and hosts.c). This never got so big to cause problems; I like
to run a pair of parallel makes in infinite loops to put a test load on a
system.
Now, the 2.2 kernels changed to a depth-then-breadth technique (at least
that's what it looks like to me), in which all directory levels are
activated at the same time (unless limited by a max number of processes to
spawn, ie -j 8), with one compile at each level. This results, with just -j
and no max limit, in a veritable flood of processes/compiles starting up,
and it seems to overwhelm some part of the system.
So, I ask again, anyone know why this was done, and does it adversely affect
the INTELs as much as it does the ALPHAs, if just done with -j?
--Jay++
-----------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-----------------------------------------------------------------------------
next prev parent reply other threads:[~1999-04-15 17:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-15 5:52 DS20 Assorted Difficulties Simon Shapiro
1999-04-15 13:52 ` Greg Lindahl
1999-04-16 4:46 ` Simon Shapiro
1999-04-15 14:18 ` Jay.Estabrook
1999-04-15 14:21 ` Greg Lindahl
1999-04-15 17:15 ` Jay.Estabrook [this message]
1999-04-15 17:58 ` Greg Lindahl
1999-04-15 20:48 ` geerten kuiper
1999-04-16 4:43 ` Simon Shapiro
1999-04-16 19:22 ` Jay.Estabrook
1999-04-16 20:15 ` Quant-X Alpha Linux Support
1999-04-16 7:20 ` Richard Henderson
1999-04-18 5:18 ` Simon Shapiro
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox