tu...@posteo.de wrote:
> Hi,
>
> no critism or anything else negative implied here...
> ,..I am just asking out of coriosity:
>
> This day I am busy compiling all the application,
> which are installed on my old system.
>
> I gave emerge 12 threads and 6 cores to do its work
> (The CPU is a 6 core one).
>
> I start emerge with a bunch of packages to compile and
> install.
>
> And it happens from time to time that all cores seem to be 
> on holiday: No load at all. And emerge sits there and waits...
> And the harddisk is not busy at all...no blinkenlights,
> nothing.
>
> Would it be possible, that there is kind of temporary
> dead lock of some kind...when emerge is started with more
> then one core?
>
> What else than writing to disk and using the cores?
>
> Cheers!
> Meino

I have seen this too. I read ages ago that some packages don't like
parallel jobs so the dev sets it to 1 or 2 depending on what works best
to limit those and build failures.  I don't know if that still applies
to many packages or not but it is one possibility.  I think it is set in
the ebuild so one may could look and see if that is the case.

Another option, it could be something the build process is doing that
can't be done in parallel and is set by upstream.  It may not be in the
ebuild but is in the sources itself.  It does seem to be a bottleneck
but if it is set that way, there may be a good reason.  When compiling,
I like to see my CPU utilized to the max but if it isn't possible, then
I let it do its thing.  I know LOo does some strange things when it is
compiling.  It will compile for a long time with little memory usage but
all CPU cores at the max, even tho the work space is in tmpfs, and then
all of a sudden, it starts eating memory until it is using several GBs. 
Then it compiles some more and starts the install process.  I have no
idea what makes it do that but it's the usual thing for LOo.

I'm sure someone else will have more ideas. 

Dale

:-)  :-) 

P. S. Back to the garden.  We supposed to stay home anyway so I'm taking
down the electric fence, posts and getting ready to plow.  Dang it's wet
out there tho.  At least I have a lift disc this year tho.  Maybe I
won't get stuck. :/



Reply via email to